QtrleEncContext Struct Reference

Data Fields

AVCodecContextavctx
AVFrame frame
int pixel_size
AVPicture previous_frame
unsigned int max_buf_size
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_t * skip_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 36 of file qtrleenc.c.

Field Documentation

AVCodecContext* QtrleEncContext::avctx

Definition at line 37 of file qtrleenc.c.

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

AVFrame QtrleEncContext::frame

Definition at line 38 of file qtrleenc.c.

Referenced by encode_frame(), qtrle_encode_frame(), 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 55 of file qtrleenc.c.

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

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::pixel_size

Definition at line 39 of file qtrleenc.c.

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

AVPicture QtrleEncContext::previous_frame
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 51 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 59 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: