FFmpeg
Data Fields
FLACParseContext Struct Reference

Data Fields

AVCodecParserContextpc
 parent context More...
 
AVCodecContextavctx
 codec context pointer for logging More...
 
FLACHeaderMarkerheaders
 linked-list that starts at the first CRC-8 verified header within buffer More...
 
FLACHeaderMarkerbest_header
 highest scoring header within buffer More...
 
int nb_headers_found
 number of headers found in the last flac_parse() call More...
 
int nb_headers_buffered
 number of headers that are buffered More...
 
int best_header_valid
 flag set when the parser returns junk; if set return best_header next time More...
 
AVFifoBufferfifo_buf
 buffer to store all data until headers can be verified More...
 
int end_padded
 specifies if fifo_buf's end is padded More...
 
uint8_twrap_buf
 general fifo read buffer when wrapped More...
 
int wrap_buf_allocated_size
 actual allocated size of the buffer More...
 
FLACFrameInfo last_fi
 last decoded frame header info More...
 
int last_fi_valid
 set if last_fi is valid More...
 

Detailed Description

Definition at line 75 of file flac_parser.c.

Field Documentation

AVCodecParserContext* FLACParseContext::pc

parent context

Definition at line 76 of file flac_parser.c.

Referenced by flac_parse(), flac_parse_init(), and get_best_header().

AVCodecContext* FLACParseContext::avctx
FLACHeaderMarker* FLACParseContext::headers

linked-list that starts at the first CRC-8 verified header within buffer

Definition at line 78 of file flac_parser.c.

Referenced by find_headers_search_validate(), find_new_headers(), flac_parse(), flac_parse_close(), and score_sequences().

FLACHeaderMarker* FLACParseContext::best_header

highest scoring header within buffer

Definition at line 80 of file flac_parser.c.

Referenced by flac_parse(), get_best_header(), and score_sequences().

int FLACParseContext::nb_headers_found

number of headers found in the last flac_parse() call

Definition at line 81 of file flac_parser.c.

Referenced by find_headers_search_validate(), find_new_headers(), and flac_parse().

int FLACParseContext::nb_headers_buffered

number of headers that are buffered

Definition at line 83 of file flac_parser.c.

Referenced by flac_parse().

int FLACParseContext::best_header_valid

flag set when the parser returns junk; if set return best_header next time

Definition at line 84 of file flac_parser.c.

Referenced by flac_parse(), and get_best_header().

AVFifoBuffer* FLACParseContext::fifo_buf

buffer to store all data until headers can be verified

Definition at line 86 of file flac_parser.c.

Referenced by find_new_headers(), flac_fifo_read(), flac_fifo_read_wrap(), flac_parse(), flac_parse_close(), flac_parse_init(), and get_best_header().

int FLACParseContext::end_padded

specifies if fifo_buf's end is padded

Definition at line 88 of file flac_parser.c.

Referenced by flac_parse().

uint8_t* FLACParseContext::wrap_buf

general fifo read buffer when wrapped

Definition at line 89 of file flac_parser.c.

Referenced by find_headers_search_validate(), flac_parse(), flac_parse_close(), and get_best_header().

int FLACParseContext::wrap_buf_allocated_size

actual allocated size of the buffer

Definition at line 90 of file flac_parser.c.

Referenced by find_headers_search_validate(), flac_parse(), and get_best_header().

FLACFrameInfo FLACParseContext::last_fi

last decoded frame header info

Definition at line 91 of file flac_parser.c.

Referenced by get_best_header(), and score_header().

int FLACParseContext::last_fi_valid

set if last_fi is valid

Definition at line 92 of file flac_parser.c.

Referenced by get_best_header(), and score_header().


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