#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 "codec_internal.h"
#include "encode.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_ch_layouts
◆ 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 492 of file libfdk-aacenc.c.
◆ ff_libfdk_aac_encoder
const FFCodec ff_libfdk_aac_encoder |
Initial value:= {
.p.name = "libfdk_aac",
.p.wrapper_name = "libfdk",
}
Definition at line 497 of file libfdk-aacenc.c.
static const AVChannelLayout aac_ch_layouts[16]
static const AVClass aac_enc_class
#define AV_CHANNEL_LAYOUT_STEREO
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 FF_CODEC_CAP_NOT_INIT_THREADSAFE
The codec is not known to be init-threadsafe (i.e.
#define FF_CODEC_ENCODE_CB(func)
#define AV_CHANNEL_LAYOUT_SURROUND
#define FF_PROFILE_AAC_HE_V2
#define AV_CHANNEL_LAYOUT_4POINT0
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
#define AV_CHANNEL_LAYOUT_5POINT0_BACK
int(* init)(AVBSFContext *ctx)
#define FF_PROFILE_UNKNOWN
#define CODEC_LONG_NAME(str)
#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)
#define FF_PROFILE_AAC_ELD
static const FFCodecDefault aac_encode_defaults[]
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define FF_PROFILE_AAC_LOW
AVSampleFormat
Audio sample formats.
@ AV_SAMPLE_FMT_S16
signed 16 bits
#define FF_PROFILE_AAC_HE
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 AV_CHANNEL_LAYOUT_MONO
#define FF_AAC_PROFILE_OPTS
static const int aac_sample_rates[]
#define AV_CHANNEL_LAYOUT_5POINT1_BACK
#define AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
static const AVOption aac_enc_options[]