FFmpeg
Functions | Variables
aac_parser.c File Reference
#include "parser.h"
#include "aac_ac3_parser.h"
#include "adts_header.h"
#include "adts_parser.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Functions

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

Variables

const AVCodecParser ff_aac_parser
 

Function Documentation

◆ aac_sync()

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

Definition at line 29 of file aac_parser.c.

Referenced by aac_parse_init().

◆ aac_parse_init()

static av_cold int aac_parse_init ( AVCodecParserContext s1)
static

Definition at line 45 of file aac_parser.c.

Variable Documentation

◆ ff_aac_parser

const 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,
}

Definition at line 54 of file aac_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:290
ff_aac_ac3_parse
int ff_aac_ac3_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: aac_ac3_parser.c:32
AACAC3ParseContext
Definition: aac_ac3_parser.h:31
AV_CODEC_ID_AAC
@ AV_CODEC_ID_AAC
Definition: codec_id.h:448
aac_parse_init
static av_cold int aac_parse_init(AVCodecParserContext *s1)
Definition: aac_parser.c:45