Interface to libfaac for aac encoding. More...
Go to the source code of this file.
Data Structures | |
| struct | FaacAudioContext |
Defines | |
| #define | free please_use_av_free |
Typedefs | |
| typedef struct FaacAudioContext | FaacAudioContext |
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 | |
| static const AVProfile | profiles [] |
| AVCodec | ff_libfaac_encoder |
Interface to libfaac for aac encoding.
Definition in file libfaac.c.
| #define free please_use_av_free |
Referenced by audio_encode_example(), av_free(), Faac_encode_init(), main(), pgmyuv_save(), read_header(), read_packet(), and video_encode_example().
| typedef struct FaacAudioContext FaacAudioContext |
| static av_cold int Faac_encode_close | ( | AVCodecContext * | avctx | ) | [static] |
| static int Faac_encode_frame | ( | AVCodecContext * | avctx, |
| unsigned char * | frame, | ||
| int | buf_size, | ||
| void * | data | ||
| ) | [static] |
| static av_cold int Faac_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
{
.name = "libfaac",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_AAC,
.priv_data_size = sizeof(FaacAudioContext),
.init = Faac_encode_init,
.encode = Faac_encode_frame,
.close = Faac_encode_close,
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"),
.profiles = NULL_IF_CONFIG_SMALL(profiles),
}
{
{ FF_PROFILE_AAC_MAIN, "Main" },
{ FF_PROFILE_AAC_LOW, "LC" },
{ FF_PROFILE_AAC_SSR, "SSR" },
{ FF_PROFILE_AAC_LTP, "LTP" },
{ FF_PROFILE_UNKNOWN },
}