libaacplus.c File Reference

Interface to libaacplus for aac+ (sbr+ps) encoding. More...

#include <aacplus.h>
#include "avcodec.h"
#include "internal.h"
Include dependency graph for libaacplus.c:

Go to the source code of this file.

Data Structures

struct  aacPlusAudioContext
 

Typedefs

typedef struct aacPlusAudioContext aacPlusAudioContext
 

Functions

static av_cold int aacPlus_encode_init (AVCodecContext *avctx)
 
static int aacPlus_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
 
static av_cold int aacPlus_encode_close (AVCodecContext *avctx)
 

Variables

static const AVProfile profiles []
 
AVCodec ff_libaacplus_encoder
 

Detailed Description

Interface to libaacplus for aac+ (sbr+ps) encoding.

Definition in file libaacplus.c.

Typedef Documentation

Function Documentation

static av_cold int aacPlus_encode_close ( AVCodecContext avctx)
static

Definition at line 112 of file libaacplus.c.

static int aacPlus_encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame frame,
int *  got_packet 
)
static

Definition at line 95 of file libaacplus.c.

static av_cold int aacPlus_encode_init ( AVCodecContext avctx)
static

Definition at line 38 of file libaacplus.c.

Variable Documentation

AVCodec ff_libaacplus_encoder
Initial value:
= {
.name = "libaacplus",
.priv_data_size = sizeof(aacPlusAudioContext),
.long_name = NULL_IF_CONFIG_SMALL("libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"),
.profiles = profiles,
.channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_MONO,
0 },
}
static int aacPlus_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Definition: libaacplus.c:95
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int aacPlus_encode_close(AVCodecContext *avctx)
Definition: libaacplus.c:112
#define AV_CH_LAYOUT_STEREO
signed 16 bits
Definition: samplefmt.h:52
static av_cold int aacPlus_encode_init(AVCodecContext *avctx)
Definition: libaacplus.c:38
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
struct aacPlusAudioContext aacPlusAudioContext
static void close(AVCodecParserContext *s)
Definition: h264_parser.c:375
static const AVProfile profiles[]
Definition: libaacplus.c:122
AVSampleFormat
Audio Sample Formats.
Definition: samplefmt.h:49
static enum AVSampleFormat sample_fmts[]
Definition: adpcmenc.c:700
#define AV_CH_LAYOUT_MONO

Definition at line 127 of file libaacplus.c.

const AVProfile profiles[]
static
Initial value:
= {
{ FF_PROFILE_AAC_LOW, "LC" },
}
#define FF_PROFILE_UNKNOWN
#define FF_PROFILE_AAC_LOW

Definition at line 122 of file libaacplus.c.