FLACParseContext Struct Reference
Collaboration diagram for FLACParseContext:
Collaboration graph

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

Detailed Description

Definition at line 73 of file flac_parser.c.

Field Documentation

AVCodecContext* FLACParseContext::avctx

codec context pointer for logging

Definition at line 75 of file flac_parser.c.

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

FLACHeaderMarker* FLACParseContext::best_header

highest scoring header within buffer

Definition at line 78 of file flac_parser.c.

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

int FLACParseContext::best_header_valid

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

Definition at line 82 of file flac_parser.c.

Referenced by flac_parse(), and get_best_header().

int FLACParseContext::end_padded

specifies if fifo_buf's end is padded

Definition at line 86 of file flac_parser.c.

Referenced by flac_parse().

AVFifoBuffer* FLACParseContext::fifo_buf

buffer to store all data until headers can be verified

Definition at line 84 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().

FLACHeaderMarker* FLACParseContext::headers

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

Definition at line 76 of file flac_parser.c.

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

int FLACParseContext::nb_headers_buffered

number of headers that are buffered

Definition at line 81 of file flac_parser.c.

Referenced by flac_parse().

int FLACParseContext::nb_headers_found

number of headers found in the last flac_parse() call

Definition at line 79 of file flac_parser.c.

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

AVCodecParserContext* FLACParseContext::pc

parent context

Definition at line 74 of file flac_parser.c.

Referenced by flac_parse_init(), and get_best_header().

uint8_t* FLACParseContext::wrap_buf

general fifo read buffer when wrapped

Definition at line 87 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 88 of file flac_parser.c.

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


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