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.

Referenced by show_help_bsf().

◆ 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
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
Definition: filter_design.txt:228
AACBSFContext
Definition: aac_adtstoasc.c:31
AV_CODEC_ID_AAC
@ AV_CODEC_ID_AAC
Definition: codec_id.h:442
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:366
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