FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
aac_parser.c File Reference
#include "parser.h"
#include "aac_ac3_parser.h"
#include "aacadtsdec.h"
#include "get_bits.h"
#include "mpeg4audio.h"

Go to the source code of this file.

Functions

static int aac_sync (uint64_t state, AACAC3ParseContext *hdr_info, int *need_next_header, int *new_frame_start)
 
static av_cold int aac_parse_init (AVCodecParserContext *s1)
 

Variables

AVCodecParser ff_aac_parser
 

Function Documentation

static int aac_sync ( uint64_t  state,
AACAC3ParseContext hdr_info,
int *  need_next_header,
int *  new_frame_start 
)
static

Definition at line 29 of file aac_parser.c.

Referenced by aac_parse_init().

static av_cold int aac_parse_init ( AVCodecParserContext s1)
static

Definition at line 54 of file aac_parser.c.

Variable Documentation

AVCodecParser ff_aac_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_AAC },
.priv_data_size = sizeof(AACAC3ParseContext),
.parser_init = aac_parse_init,
.parser_parse = ff_aac_ac3_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:319
static av_cold int aac_parse_init(AVCodecParserContext *s1)
Definition: aac_parser.c:54
int ff_aac_ac3_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)

Definition at line 63 of file aac_parser.c.