FFmpeg  4.0
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 74 of file flac_parser.c.

Field Documentation

◆ pc

AVCodecParserContext* FLACParseContext::pc

parent context

Definition at line 75 of file flac_parser.c.

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

◆ avctx

AVCodecContext* FLACParseContext::avctx

◆ headers

FLACHeaderMarker* FLACParseContext::headers

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

Definition at line 77 of file flac_parser.c.

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

◆ best_header

FLACHeaderMarker* FLACParseContext::best_header

highest scoring header within buffer

Definition at line 79 of file flac_parser.c.

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

◆ nb_headers_found

int FLACParseContext::nb_headers_found

number of headers found in the last flac_parse() call

Definition at line 80 of file flac_parser.c.

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

◆ nb_headers_buffered

int FLACParseContext::nb_headers_buffered

number of headers that are buffered

Definition at line 82 of file flac_parser.c.

Referenced by flac_parse().

◆ best_header_valid

int FLACParseContext::best_header_valid

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

Definition at line 83 of file flac_parser.c.

Referenced by flac_parse(), and get_best_header().

◆ fifo_buf

AVFifoBuffer* FLACParseContext::fifo_buf

buffer to store all data until headers can be verified

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

◆ end_padded

int FLACParseContext::end_padded

specifies if fifo_buf's end is padded

Definition at line 87 of file flac_parser.c.

Referenced by flac_parse().

◆ wrap_buf

uint8_t* FLACParseContext::wrap_buf

general fifo read buffer when wrapped

Definition at line 88 of file flac_parser.c.

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

◆ wrap_buf_allocated_size

int FLACParseContext::wrap_buf_allocated_size

actual allocated size of the buffer

Definition at line 89 of file flac_parser.c.

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

◆ last_fi

FLACFrameInfo FLACParseContext::last_fi

last decoded frame header info

Definition at line 90 of file flac_parser.c.

Referenced by get_best_header(), and score_header().

◆ last_fi_valid

int FLACParseContext::last_fi_valid

set if last_fi is valid

Definition at line 91 of file flac_parser.c.

Referenced by get_best_header(), and score_header().


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