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 93 of file libaacplus.c.

static av_cold int aacPlus_encode_close ( AVCodecContext avctx)
static

Definition at line 110 of file libaacplus.c.

Variable Documentation

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

Definition at line 120 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 },
}

Definition at line 125 of file libaacplus.c.