FFmpeg
Data Structures | Functions | Variables
aac_adtstoasc.c File Reference
#include "adts_header.h"
#include "adts_parser.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "put_bits.h"
#include "get_bits.h"
#include "mpeg4audio.h"
#include "mpeg4audio_copy_pce.h"

Go to the source code of this file.

Data Structures

struct  AACBSFContext
 

Functions

static int aac_adtstoasc_filter (AVBSFContext *bsfc, AVPacket *pkt)
 This filter creates an MPEG-4 AudioSpecificConfig from an MPEG-2/4 ADTS header and removes the ADTS header. More...
 
static int aac_adtstoasc_init (AVBSFContext *ctx)
 

Variables

static enum AVCodecID codec_ids []
 
const FFBitStreamFilter ff_aac_adtstoasc_bsf
 

Function Documentation

◆ aac_adtstoasc_filter()

static int aac_adtstoasc_filter ( AVBSFContext bsfc,
AVPacket pkt 
)
static

This filter creates an MPEG-4 AudioSpecificConfig from an MPEG-2/4 ADTS header and removes the ADTS header.

Definition at line 39 of file aac_adtstoasc.c.

◆ aac_adtstoasc_init()

static int aac_adtstoasc_init ( AVBSFContext ctx)
static

Definition at line 130 of file aac_adtstoasc.c.

Variable Documentation

◆ codec_ids

enum AVCodecID codec_ids[]
static
Initial value:

Definition at line 146 of file aac_adtstoasc.c.

◆ ff_aac_adtstoasc_bsf

const FFBitStreamFilter ff_aac_adtstoasc_bsf
Initial value:
= {
.p.name = "aac_adtstoasc",
.p.codec_ids = codec_ids,
.priv_data_size = sizeof(AACBSFContext),
}

Definition at line 150 of file aac_adtstoasc.c.

aac_adtstoasc_init
static int aac_adtstoasc_init(AVBSFContext *ctx)
Definition: aac_adtstoasc.c:130
codec_ids
static enum AVCodecID codec_ids[]
Definition: aac_adtstoasc.c:146
filter
void(* filter)(uint8_t *src, int stride, int qscale)
Definition: h263dsp.c:29
AACBSFContext
Definition: aac_adtstoasc.c:31
AV_CODEC_ID_AAC
@ AV_CODEC_ID_AAC
Definition: codec_id.h:449
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:368
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
aac_adtstoasc_filter
static int aac_adtstoasc_filter(AVBSFContext *bsfc, AVPacket *pkt)
This filter creates an MPEG-4 AudioSpecificConfig from an MPEG-2/4 ADTS header and removes the ADTS h...
Definition: aac_adtstoasc.c:39