FLACParseContext Struct Reference

Data Fields

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

Detailed Description

Definition at line 73 of file flac_parser.c.

Field Documentation

AVCodecContext* FLACParseContext::avctx

codec context pointer for logging

Definition at line 74 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 77 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 81 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 85 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 83 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 75 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 80 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 78 of file flac_parser.c.

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

uint8_t* FLACParseContext::wrap_buf

general fifo read buffer when wrapped

Definition at line 86 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 87 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: