FFmpeg
|
#include "parser.h"
#include "dca.h"
#include "dca_parser.h"
#include "get_bits.h"
#include "put_bits.h"
Go to the source code of this file.
Data Structures | |
struct | DCAParseContext |
Macros | |
#define | IS_MARKER(state, i, buf, buf_size) |
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. | |
static av_cold int | dca_parse_init (AVCodecParserContext *s) |
int | ff_dca_convert_bitstream (const uint8_t *src, int src_size, uint8_t *dst, int max_size) |
Convert bitstream to one representation based on sync marker. | |
static int | dca_parse_params (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_MARKER | ( | state, | |
i, | |||
buf, | |||
buf_size | |||
) |
Definition at line 39 of file dca_parser.c.
Referenced by dca_find_frame_end(), dxva2_vc1_decode_slice(), vaapi_vc1_decode_slice(), vc1_decode_frame(), vc1_find_frame_end(), and vc1_split().
|
static |
Find the end of the current frame in the bitstream.
Definition at line 48 of file dca_parser.c.
Referenced by dca_parse().
|
static |
Definition at line 96 of file dca_parser.c.
Convert bitstream to one representation based on sync marker.
Definition at line 104 of file dca_parser.c.
Referenced by dca_decode_frame(), and dca_parse_params().
|
static |
Definition at line 139 of file dca_parser.c.
Referenced by dca_parse().
|
static |
Definition at line 169 of file dca_parser.c.
AVCodecParser ff_dca_parser |
Definition at line 202 of file dca_parser.c.