FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
QtrleEncContext Struct Reference

Data Fields

AVCodecContextavctx
 
AVFrame frame
 
int pixel_size
 
AVPicture previous_frame
 
unsigned int max_buf_size
 
int logical_width
 
signed char * rlecode_table
 This array will contain at ith position the value of the best RLE code if the line started at pixel i There can be 3 values : skip (0) : skip as much as possible pixels because they are equal to the previous frame ones repeat (<-1) : repeat that pixel -rle_code times, still as much as possible copy (>0) : copy the raw next rle_code pixels.
 
int * length_table
 This array will contain the length of the best rle encoding of the line starting at ith pixel.
 
uint8_tskip_table
 Will contain at ith position the number of consecutive pixels equal to the previous frame starting from pixel i.
 

Detailed Description

Definition at line 37 of file qtrleenc.c.

Field Documentation

AVCodecContext* QtrleEncContext::avctx

Definition at line 38 of file qtrleenc.c.

Referenced by encode_frame(), qtrle_encode_frame(), qtrle_encode_init(), and qtrle_encode_line().

AVFrame QtrleEncContext::frame

Definition at line 39 of file qtrleenc.c.

Referenced by encode_frame(), qtrle_encode_frame(), qtrle_encode_init(), and qtrle_encode_line().

int QtrleEncContext::pixel_size

Definition at line 40 of file qtrleenc.c.

Referenced by encode_frame(), qtrle_encode_init(), and qtrle_encode_line().

AVPicture QtrleEncContext::previous_frame
unsigned int QtrleEncContext::max_buf_size

Definition at line 42 of file qtrleenc.c.

Referenced by qtrle_encode_frame(), and qtrle_encode_init().

int QtrleEncContext::logical_width

Definition at line 43 of file qtrleenc.c.

Referenced by encode_frame(), qtrle_encode_init(), and qtrle_encode_line().

signed char* QtrleEncContext::rlecode_table

This array will contain at ith position the value of the best RLE code if the line started at pixel i There can be 3 values : skip (0) : skip as much as possible pixels because they are equal to the previous frame ones repeat (<-1) : repeat that pixel -rle_code times, still as much as possible copy (>0) : copy the raw next rle_code pixels.

Definition at line 53 of file qtrleenc.c.

Referenced by qtrle_encode_end(), qtrle_encode_init(), and qtrle_encode_line().

int* QtrleEncContext::length_table

This array will contain the length of the best rle encoding of the line starting at ith pixel.

Definition at line 57 of file qtrleenc.c.

Referenced by qtrle_encode_end(), qtrle_encode_init(), and qtrle_encode_line().

uint8_t* QtrleEncContext::skip_table

Will contain at ith position the number of consecutive pixels equal to the previous frame starting from pixel i.

Definition at line 61 of file qtrleenc.c.

Referenced by qtrle_encode_end(), qtrle_encode_init(), and qtrle_encode_line().


The documentation for this struct was generated from the following file: