FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | DCAParseContext |
Macros | |
#define | IS_CORE_MARKER(state) |
#define | IS_EXSS_MARKER(state) ((state & 0xFFFFFFFF) == DCA_SYNCWORD_SUBSTREAM) |
#define | IS_MARKER(state) (IS_CORE_MARKER(state) || IS_EXSS_MARKER(state)) |
#define | CORE_MARKER(state) ((state >> 16) & 0xFFFFFFFF) |
#define | EXSS_MARKER(state) (state & 0xFFFFFFFF) |
Functions | |
static int | dca_find_frame_end (DCAParseContext *pc1, const uint8_t *buf, int buf_size) |
Find the end of the current frame in the bitstream. More... | |
static av_cold int | dca_parse_init (AVCodecParserContext *s) |
static int | dca_parse_params (const uint8_t *buf, int buf_size, int *duration, int *sample_rate, int *framesize) |
static int | dca_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
Variables | |
AVCodecParser | ff_dca_parser |
#define IS_CORE_MARKER | ( | state | ) |
Definition at line 37 of file dca_parser.c.
Definition at line 43 of file dca_parser.c.
Referenced by dca_find_frame_end().
#define IS_MARKER | ( | state | ) | (IS_CORE_MARKER(state) || IS_EXSS_MARKER(state)) |
Definition at line 45 of file dca_parser.c.
Referenced by dca_find_frame_end(), dxva2_vc1_decode_slice(), vaapi_vc1_decode_slice(), vc1_decode_frame(), and vc1_split().
Definition at line 47 of file dca_parser.c.
Referenced by dca_find_frame_end().
Definition at line 48 of file dca_parser.c.
Referenced by dca_find_frame_end().
|
static |
Find the end of the current frame in the bitstream.
Definition at line 54 of file dca_parser.c.
Referenced by dca_parse().
|
static |
Definition at line 104 of file dca_parser.c.
|
static |
Definition at line 112 of file dca_parser.c.
Referenced by dca_parse().
|
static |
Definition at line 146 of file dca_parser.c.
AVCodecParser ff_dca_parser |
Definition at line 178 of file dca_parser.c.