#include <vo-amrwbenc/enc_if.h>
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.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.
@ AV_OPT_TYPE_INT
Underlying C type is int.
Definition at line 43 of file libvo-amrwbenc.c.
◆ amrwb_class
Initial value:= {
.class_name = "libvo_amrwbenc",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 48 of file libvo-amrwbenc.c.
◆ ff_libvo_amrwbenc_encoder
| const FFCodec ff_libvo_amrwbenc_encoder |
Initial value:= {
.p.name = "libvo_amrwbenc",
CODEC_LONG_NAME(
"Android VisualOn AMR-WB (Adaptive Multi-Rate Wide-Band)"),
.p.wrapper_name = "libvo_amrwbenc",
}
#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 CODEC_LONG_NAME(str)
#define CODEC_SAMPLEFMTS(...)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_SAMPLE_FMT_S16
signed 16 bits
static const AVClass amrwb_class
static int amr_wb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
static av_cold int amr_wb_encode_init(AVCodecContext *avctx)
static int amr_wb_encode_close(AVCodecContext *avctx)
Definition at line 142 of file libvo-amrwbenc.c.