FFmpeg
Data Structures | Functions | Variables
aac_adtstoasc_bsf.c File Reference
#include "adts_header.h"
#include "adts_parser.h"
#include "avcodec.h"
#include "bsf.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

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.

static int aac_adtstoasc_init ( AVBSFContext ctx)
static

Definition at line 132 of file aac_adtstoasc_bsf.c.

Variable Documentation

enum AVCodecID codec_ids[]
static
Initial value:

Definition at line 148 of file aac_adtstoasc_bsf.c.

Referenced by show_help_bsf().

const AVBitStreamFilter ff_aac_adtstoasc_bsf
Initial value:
= {
.name = "aac_adtstoasc",
.priv_data_size = sizeof(AACBSFContext),
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int aac_adtstoasc_init(AVBSFContext *ctx)
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
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...
static enum AVCodecID codec_ids[]

Definition at line 152 of file aac_adtstoasc_bsf.c.