FFmpeg
Loading...
Searching...
No Matches
aacdec_latm.h File Reference

Go to the source code of this file.

Data Structures

struct  LATMContext
 

Macros

#define LOAS_SYNC_WORD   0x2b7
 11 bits LOAS sync word
 

Functions

static uint32_t latm_get_value (GetBitContext *b)
 
static int latm_decode_audio_specific_config (struct LATMContext *latmctx, GetBitContext *gb, int asclen)
 
static int read_stream_mux_config (struct LATMContext *latmctx, GetBitContext *gb)
 
static int read_payload_length_info (struct LATMContext *ctx, GetBitContext *gb)
 
static int read_audio_mux_element (struct LATMContext *latmctx, GetBitContext *gb)
 
static int latm_decode_frame (AVCodecContext *avctx, AVFrame *out, int *got_frame_ptr, AVPacket *avpkt)
 
static av_cold int latm_decode_init (AVCodecContext *avctx)
 

Variables

const FFCodec ff_aac_latm_decoder
 

Macro Definition Documentation

◆ LOAS_SYNC_WORD

#define LOAS_SYNC_WORD   0x2b7

11 bits LOAS sync word

Definition at line 35 of file aacdec_latm.h.

Referenced by latm_decode_frame(), and loas_probe().

Function Documentation

◆ latm_get_value()

static uint32_t latm_get_value ( GetBitContext * b)
inlinestatic

Definition at line 47 of file aacdec_latm.h.

Referenced by read_stream_mux_config().

◆ latm_decode_audio_specific_config()

static int latm_decode_audio_specific_config ( struct LATMContext * latmctx,
GetBitContext * gb,
int asclen )
static

Definition at line 54 of file aacdec_latm.h.

Referenced by read_stream_mux_config().

◆ read_stream_mux_config()

static int read_stream_mux_config ( struct LATMContext * latmctx,
GetBitContext * gb )
static

Definition at line 124 of file aacdec_latm.h.

Referenced by read_audio_mux_element().

◆ read_payload_length_info()

static int read_payload_length_info ( struct LATMContext * ctx,
GetBitContext * gb )
static

Definition at line 204 of file aacdec_latm.h.

Referenced by read_audio_mux_element().

◆ read_audio_mux_element()

static int read_audio_mux_element ( struct LATMContext * latmctx,
GetBitContext * gb )
static

Definition at line 227 of file aacdec_latm.h.

Referenced by latm_decode_frame().

◆ latm_decode_frame()

static int latm_decode_frame ( AVCodecContext * avctx,
AVFrame * out,
int * got_frame_ptr,
AVPacket * avpkt )
static

Definition at line 256 of file aacdec_latm.h.

◆ latm_decode_init()

static av_cold int latm_decode_init ( AVCodecContext * avctx)
static

Definition at line 317 of file aacdec_latm.h.

Variable Documentation

◆ ff_aac_latm_decoder

const FFCodec ff_aac_latm_decoder
Initial value:
= {
.p.name = "aac_latm",
CODEC_LONG_NAME("AAC LATM (Advanced Audio Coding LATM syntax)"),
.p.type = AVMEDIA_TYPE_AUDIO,
.priv_data_size = sizeof(struct LATMContext),
.close = decode_close,
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.flush = flush,
}
static av_cold int latm_decode_init(AVCodecContext *avctx)
static int latm_decode_frame(AVCodecContext *avctx, AVFrame *out, int *got_frame_ptr, AVPacket *avpkt)
const AVChannelLayout ff_aac_ch_layout[]
Definition aacdec_tab.c:96
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
#define CODEC_SAMPLEFMTS(...)
#define CODEC_CH_LAYOUTS_ARRAY(array)
void(* flush)(AVBSFContext *ctx)
Definition dts2pts.c:610
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
Definition codec.h:49
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
Definition codec.h:94
@ AV_CODEC_ID_AAC_LATM
Definition codec_id.h:502
@ AVMEDIA_TYPE_AUDIO
Definition avutil.h:201
@ AV_SAMPLE_FMT_FLTP
float, planar
Definition samplefmt.h:66
static av_cold int decode_close(AVCodecContext *avctx)
Definition aacdec.c:1220
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
const AVProfile ff_aac_profiles[]
Definition profiles.c:27

Definition at line 333 of file aacdec_latm.h.