#include <fdk-aac/aacenc_lib.h>
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
#include "encode.h"
#include "internal.h"
#include "profiles.h"
Go to the source code of this file.
◆ FDKENC_VER_AT_LEAST
#define FDKENC_VER_AT_LEAST |
( |
|
vl0, |
|
|
|
vl1 |
|
) |
| 0 |
◆ aac_get_error()
static const char* aac_get_error |
( |
AACENC_ERROR |
err | ) |
|
|
static |
◆ aac_encode_close()
◆ aac_encode_init()
◆ aac_encode_frame()
◆ aac_enc_options
Initial value:= {
{
"default",
"Choose signaling implicitly (explicit hierarchical by default, implicit if global header is disabled)", 0,
AV_OPT_TYPE_CONST, { .i64 = -1 }, 0, 0,
AV_OPT_FLAG_AUDIO_PARAM |
AV_OPT_FLAG_ENCODING_PARAM,
"signaling" },
{
"explicit_sbr",
"Explicit SBR, implicit PS signaling", 0,
AV_OPT_TYPE_CONST, { .i64 = 1 }, 0, 0,
AV_OPT_FLAG_AUDIO_PARAM |
AV_OPT_FLAG_ENCODING_PARAM,
"signaling" },
}
Definition at line 53 of file libfdk-aacenc.c.
◆ aac_enc_class
Initial value:= {
.class_name = "libfdk_aac",
}
Definition at line 71 of file libfdk-aacenc.c.
◆ profiles
◆ aac_encode_defaults
◆ aac_channel_layout
const uint64_t aac_channel_layout[] |
|
static |
◆ aac_sample_rates
const int aac_sample_rates[] |
|
static |
Initial value:= {
96000, 88200, 64000, 48000, 44100, 32000,
24000, 22050, 16000, 12000, 11025, 8000, 0
}
Definition at line 457 of file libfdk-aacenc.c.
◆ ff_libfdk_aac_encoder
const AVCodec ff_libfdk_aac_encoder |
Initial value:= {
.name = "libfdk_aac",
.wrapper_name = "libfdk",
}
Definition at line 462 of file libfdk-aacenc.c.
#define AV_CH_LAYOUT_5POINT0_BACK
static const AVClass aac_enc_class
static const uint64_t aac_channel_layout[]
static enum AVSampleFormat sample_fmts[]
#define AV_CH_LAYOUT_MONO
static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static av_cold int aac_encode_init(AVCodecContext *avctx)
#define AV_CH_LAYOUT_STEREO
#define FF_PROFILE_AAC_HE_V2
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
#define FF_PROFILE_UNKNOWN
#define AV_OPT_FLAG_AUDIO_PARAM
#define LIBAVUTIL_VERSION_INT
#define FF_PROFILE_AAC_LD
const char * av_default_item_name(void *ptr)
Return the context name.
static int aac_encode_close(AVCodecContext *avctx)
static const AVCodecDefault aac_encode_defaults[]
#define FF_PROFILE_AAC_ELD
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define FF_PROFILE_AAC_LOW
#define AV_CH_LAYOUT_5POINT1_BACK
AVSampleFormat
Audio sample formats.
@ AV_SAMPLE_FMT_S16
signed 16 bits
#define FF_PROFILE_AAC_HE
#define AV_CH_LAYOUT_SURROUND
static const AVProfile profiles[]
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define FF_AAC_PROFILE_OPTS
static const int aac_sample_rates[]
#define AV_CH_LAYOUT_4POINT0
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
static const AVOption aac_enc_options[]