#include "parser.h"
#include "dca.h"
#include "get_bits.h"
Go to the source code of this file.
|
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) |
|
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) |
|
#define IS_MARKER |
( |
|
state, |
|
|
|
i, |
|
|
|
buf, |
|
|
|
buf_size |
|
) |
| |
Find the end of the current frame in the bitstream.
- Returns
- the position of the first byte of the next frame, or -1
Definition at line 46 of file dca_parser.c.
Referenced by dca_parse().
static int dca_parse_params |
( |
const uint8_t * |
buf, |
|
|
int |
buf_size, |
|
|
int * |
duration, |
|
|
int * |
sample_rate |
|
) |
| |
|
static |