#include <stdint.h>
#include "parser.h"
Go to the source code of this file.
Data Structures | |
struct | LATMParseContext |
Defines | |
#define | LATM_HEADER 0x56e000 |
#define | LATM_MASK 0xFFE000 |
#define | LATM_SIZE_MASK 0x001FFF |
Functions | |
static int | latm_find_frame_end (AVCodecParserContext *s1, const uint8_t *buf, int buf_size) |
Find the end of the current frame in the bitstream. | |
static int | latm_parse (AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) |
Variables | |
AVCodecParser | ff_aac_latm_parser |
Definition in file latm_parser.c.
#define LATM_HEADER 0x56e000 |
#define LATM_MASK 0xFFE000 |
#define LATM_SIZE_MASK 0x001FFF |
static int latm_find_frame_end | ( | AVCodecParserContext * | s1, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
Find the end of the current frame in the bitstream.
Definition at line 42 of file latm_parser.c.
Referenced by latm_parse().
static int latm_parse | ( | AVCodecParserContext * | s1, | |
AVCodecContext * | avctx, | |||
const uint8_t ** | poutbuf, | |||
int * | poutbuf_size, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
Definition at line 84 of file latm_parser.c.
Initial value:
{ .codec_ids = { CODEC_ID_AAC_LATM }, .priv_data_size = sizeof(LATMParseContext), .parser_parse = latm_parse, .parser_close = ff_parse_close }
Definition at line 108 of file latm_parser.c.