FFmpeg
Data Structures | Functions | Variables
aac_adtstoasc_bsf.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 "internal.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 AVBitStreamFilter 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_bsf.c.

◆ aac_adtstoasc_init()

static int aac_adtstoasc_init ( AVBSFContext ctx)
static

Definition at line 132 of file aac_adtstoasc_bsf.c.

Variable Documentation

◆ codec_ids

enum AVCodecID codec_ids[]
static
Initial value:

Definition at line 148 of file aac_adtstoasc_bsf.c.

Referenced by show_help_bsf().

◆ ff_aac_adtstoasc_bsf

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

Definition at line 152 of file aac_adtstoasc_bsf.c.

init
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
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
aac_adtstoasc_init
static int aac_adtstoasc_init(AVBSFContext *ctx)
Definition: aac_adtstoasc_bsf.c:132
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_bsf.c:39
AACBSFContext
Definition: aac_adtstoasc_bsf.c:31
AV_CODEC_ID_AAC
@ AV_CODEC_ID_AAC
Definition: codec_id.h:412
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:47
codec_ids
static enum AVCodecID codec_ids[]
Definition: aac_adtstoasc_bsf.c:148