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

Data Fields

AVCodecContextavctx
 
int pixel_size
 
AVFrameprevious_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. More...
 
int * length_table
 This array will contain the length of the best rle encoding of the line starting at ith pixel. More...
 
uint8_tskip_table
 Will contain at ith position the number of consecutive pixels equal to the previous frame starting from pixel i. More...
 
int key_frame
 Encoded frame is a key frame. More...
 

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().

int QtrleEncContext::pixel_size

Definition at line 39 of file qtrleenc.c.

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

AVFrame* QtrleEncContext::previous_frame
unsigned int QtrleEncContext::max_buf_size

Definition at line 41 of file qtrleenc.c.

Referenced by qtrle_encode_frame(), and qtrle_encode_init().

int QtrleEncContext::logical_width

Definition at line 42 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 52 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 56 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 60 of file qtrleenc.c.

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

int QtrleEncContext::key_frame

Encoded frame is a key frame.

Definition at line 63 of file qtrleenc.c.

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


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