#include <vo-aacenc/voAAC.h>
#include <vo-aacenc/cmnMemory.h>
#include "avcodec.h"
#include "audio_frame_queue.h"
#include "internal.h"
#include "mpeg4audio.h"
Go to the source code of this file.
Data Structures | |
struct | AACContext |
main AAC context More... | |
Defines | |
#define | FRAME_SIZE 1024 |
#define | ENC_DELAY 1600 |
Functions | |
static int | aac_encode_close (AVCodecContext *avctx) |
static av_cold int | aac_encode_init (AVCodecContext *avctx) |
static int | aac_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
Variables | |
AVCodec | ff_libvo_aacenc_encoder |
#define ENC_DELAY 1600 |
Definition at line 31 of file libvo-aacenc.c.
Referenced by aac_encode_frame(), and aac_encode_init().
#define FRAME_SIZE 1024 |
Definition at line 30 of file libvo-aacenc.c.
Referenced by aac_encode_frame(), and aac_encode_init().
static int aac_encode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 45 of file libvo-aacenc.c.
static int aac_encode_frame | ( | AVCodecContext * | avctx, | |
AVPacket * | avpkt, | |||
const AVFrame * | frame, | |||
int * | got_packet_ptr | |||
) | [static] |
Definition at line 131 of file libvo-aacenc.c.
static av_cold int aac_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 60 of file libvo-aacenc.c.
Initial value:
{ .name = "libvo_aacenc", .type = AVMEDIA_TYPE_AUDIO, .id = AV_CODEC_ID_AAC, .priv_data_size = sizeof(AACContext), .init = aac_encode_init, .encode2 = aac_encode_frame, .close = aac_encode_close, .supported_samplerates = avpriv_mpeg4audio_sample_rates, .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("Android VisualOn AAC (Advanced Audio Coding)"), }
Definition at line 188 of file libvo-aacenc.c.