#include "parser.h"
#include "mpegaudiodecheader.h"
Go to the source code of this file.
Data Structures | |
struct | MpegAudioParseContext |
Defines | |
#define | MPA_HEADER_SIZE 4 |
#define | SAME_HEADER_MASK (0xffe00000 | (3 << 17) | (3 << 10) | (3 << 19)) |
Functions | |
static int | mpegaudio_parse (AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
Variables | |
AVCodecParser | ff_mpegaudio_parser |
#define MPA_HEADER_SIZE 4 |
Definition at line 34 of file mpegaudio_parser.c.
#define SAME_HEADER_MASK (0xffe00000 | (3 << 17) | (3 << 10) | (3 << 19)) |
static int mpegaudio_parse | ( | AVCodecParserContext * | s1, | |
AVCodecContext * | avctx, | |||
const uint8_t ** | poutbuf, | |||
int * | poutbuf_size, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
Definition at line 40 of file mpegaudio_parser.c.
Initial value:
{ .codec_ids = { CODEC_ID_MP1, CODEC_ID_MP2, CODEC_ID_MP3 }, .priv_data_size = sizeof(MpegAudioParseContext), .parser_parse = mpegaudio_parse, .parser_close = ff_parse_close, }
Definition at line 104 of file mpegaudio_parser.c.