libavcodec/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

Defines

#define free   please_use_av_free

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

AVCodec ff_libaacplus_encoder


Detailed Description

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

Definition in file libaacplus.c.


Define Documentation

#define free   please_use_av_free


Function Documentation

static av_cold int aacPlus_encode_close ( AVCodecContext avctx  )  [static]

Definition at line 119 of file libaacplus.c.

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

Definition at line 102 of file libaacplus.c.

static av_cold int aacPlus_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 38 of file libaacplus.c.


Variable Documentation

Initial value:

 {
    .name           = "libaacplus",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = CODEC_ID_AAC,
    .priv_data_size = sizeof(aacPlusAudioContext),
    .init           = aacPlus_encode_init,
    .encode2        = aacPlus_encode_frame,
    .close          = aacPlus_encode_close,
    .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE},
    .long_name = NULL_IF_CONFIG_SMALL("libaacplus AAC+ (Advanced Audio Codec with SBR+PS)"),
}

Definition at line 132 of file libaacplus.c.


Generated on Fri Oct 26 02:47:57 2012 for FFmpeg by  doxygen 1.5.8