FFmpeg  4.0
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

◆ 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),
}
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int aac_adtstoasc_init(AVBSFContext *ctx)
static void filter(int16_t *output, ptrdiff_t out_stride, int16_t *low, ptrdiff_t low_stride, int16_t *high, ptrdiff_t high_stride, int len, int clip)
Definition: cfhd.c:114
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.