FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
libaacplus.c File Reference

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

#include <aacplus.h>
#include "avcodec.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  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.

Function Documentation

static av_cold int aacPlus_encode_init ( AVCodecContext avctx)
static

Definition at line 38 of file libaacplus.c.

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

Definition at line 97 of file libaacplus.c.

static av_cold int aacPlus_encode_close ( AVCodecContext avctx)
static

Definition at line 114 of file libaacplus.c.

Variable Documentation

const AVProfile profiles[]
static
Initial value:
= {
{ FF_PROFILE_AAC_LOW, "LC" },
}
#define FF_PROFILE_UNKNOWN
Definition: avcodec.h:2864
#define FF_PROFILE_AAC_LOW
Definition: avcodec.h:2868

Definition at line 124 of file libaacplus.c.

AVCodec ff_libaacplus_encoder
Initial value:
= {
.name = "libaacplus",
.long_name = NULL_IF_CONFIG_SMALL("libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"),
.priv_data_size = sizeof(aacPlusAudioContext),
.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:97
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int aacPlus_encode_close(AVCodecContext *avctx)
Definition: libaacplus.c:114
#define AV_CH_LAYOUT_STEREO
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. ...
Definition: internal.h:175
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:59
signed 16 bits
Definition: samplefmt.h:62
static const AVProfile profiles[]
Definition: libaacplus.c:124
static enum AVSampleFormat sample_fmts[]
Definition: adpcmenc.c:701
#define AV_CH_LAYOUT_MONO

Definition at line 129 of file libaacplus.c.