FFmpeg
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...
 
intlength_table
 This array will contain the length of the best rle encoding of the line starting at ith pixel. More...
 
uint8_t * skip_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 38 of file qtrleenc.c.

Field Documentation

◆ avctx

AVCodecContext* QtrleEncContext::avctx

Definition at line 39 of file qtrleenc.c.

◆ pixel_size

int QtrleEncContext::pixel_size

Definition at line 40 of file qtrleenc.c.

◆ previous_frame

AVFrame* QtrleEncContext::previous_frame

Definition at line 41 of file qtrleenc.c.

◆ max_buf_size

unsigned int QtrleEncContext::max_buf_size

Definition at line 42 of file qtrleenc.c.

◆ logical_width

int QtrleEncContext::logical_width

Definition at line 43 of file qtrleenc.c.

◆ rlecode_table

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.

◆ length_table

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.

◆ skip_table

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.

◆ key_frame

int QtrleEncContext::key_frame

Encoded frame is a key frame.

Definition at line 64 of file qtrleenc.c.


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