FFmpeg
|
#include "dca.h"
#include "dca_exss.h"
#include "dca_syncwords.h"
#include "get_bits.h"
#include "parser.h"
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) |
#define | STATE_LE(state) (((state & 0xFF00FF00) >> 8) | ((state & 0x00FF00FF) << 8)) |
#define | STATE_14(state) (((state & 0x3FFF0000) >> 8) | ((state & 0x00003FFF) >> 6)) |
#define | CORE_FRAMESIZE(state) (((state >> 4) & 0x3FFF) + 1) |
#define | EXSS_FRAMESIZE(state) |
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 (DCAParseContext *pc1, const uint8_t *buf, int buf_size, int *duration, int *sample_rate) |
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 41 of file dca_parser.c.
Definition at line 47 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 49 of file dca_parser.c.
Referenced by dca_find_frame_end(), dxva2_vc1_decode_slice(), extract_extradata_vc1(), vaapi_vc1_decode_slice(), vc1_decode_frame(), and vc1_split().
Definition at line 51 of file dca_parser.c.
Referenced by dca_find_frame_end().
Definition at line 52 of file dca_parser.c.
Referenced by dca_find_frame_end().
Definition at line 54 of file dca_parser.c.
Referenced by dca_find_frame_end().
Definition at line 55 of file dca_parser.c.
Referenced by dca_find_frame_end().
Definition at line 57 of file dca_parser.c.
Referenced by dca_find_frame_end().
#define EXSS_FRAMESIZE | ( | state | ) |
Definition at line 58 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 66 of file dca_parser.c.
Referenced by dca_parse().
|
static |
Definition at line 182 of file dca_parser.c.
|
static |
Definition at line 191 of file dca_parser.c.
Referenced by dca_parse().
|
static |
Definition at line 277 of file dca_parser.c.
AVCodecParser ff_dca_parser |
Definition at line 317 of file dca_parser.c.