#include <vo-amrwbenc/enc_if.h>
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
Go to the source code of this file.
◆ MAX_PACKET_SIZE
#define MAX_PACKET_SIZE (1 + (477 + 7) / 8) |
◆ get_wb_bitrate_mode()
static int get_wb_bitrate_mode |
( |
int |
bitrate, |
|
|
void * |
log_ctx |
|
) |
| |
|
static |
◆ amr_wb_encode_init()
◆ amr_wb_encode_close()
◆ amr_wb_encode_frame()
◆ options
Initial value:= {
}
#define AV_OPT_FLAG_AUDIO_PARAM
#define AV_OPT_FLAG_ENCODING_PARAM
a generic parameter which can be set by the user for muxing or encoding
Definition at line 43 of file libvo-amrwbenc.c.
◆ amrwb_class
Initial value:= {
.class_name = "libvo_amrwbenc",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 48 of file libvo-amrwbenc.c.
◆ ff_libvo_amrwbenc_encoder
Initial value:= {
.name = "libvo_amrwbenc",
"(Adaptive Multi-Rate Wide-Band)"),
.wrapper_name = "libvo_amrwbenc",
}
static av_cold int init(AVCodecContext *avctx)
static int amr_wb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static const AVClass amrwb_class
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
AVSampleFormat
Audio sample formats.
static int amr_wb_encode_close(AVCodecContext *avctx)
static av_cold int amr_wb_encode_init(AVCodecContext *avctx)
static enum AVSampleFormat sample_fmts[]
Definition at line 142 of file libvo-amrwbenc.c.