libavcodec/libfaac.c File Reference

Interface to libfaac for aac encoding. More...

#include "avcodec.h"
#include <faac.h>

Go to the source code of this file.

Data Structures

struct  FaacAudioContext

Defines

#define free   please_use_av_free

Functions

static av_cold int Faac_encode_init (AVCodecContext *avctx)
static int Faac_encode_frame (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data)
static av_cold int Faac_encode_close (AVCodecContext *avctx)

Variables

AVCodec libfaac_encoder


Detailed Description

Interface to libfaac for aac encoding.

Definition in file libfaac.c.


Define Documentation

#define free   please_use_av_free


Function Documentation

static av_cold int Faac_encode_close ( AVCodecContext avctx  )  [static]

Definition at line 137 of file libfaac.c.

static int Faac_encode_frame ( AVCodecContext avctx,
unsigned char *  frame,
int  buf_size,
void *  data 
) [static]

Definition at line 122 of file libfaac.c.

static av_cold int Faac_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 34 of file libfaac.c.


Variable Documentation

Initial value:

 {
    "libfaac",
    AVMEDIA_TYPE_AUDIO,
    CODEC_ID_AAC,
    sizeof(FaacAudioContext),
    Faac_encode_init,
    Faac_encode_frame,
    Faac_encode_close,
    .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
    .long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"),
}

Definition at line 148 of file libfaac.c.


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8