#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.
#define MAX_PACKET_SIZE (1 + (477 + 7) / 8) |
static int get_wb_bitrate_mode |
( |
int |
bitrate, |
|
|
void * |
log_ctx |
|
) |
| |
|
static |
Initial value:= {
.name = "libvo_amrwbenc",
"(Adaptive Multi-Rate Wide-Band)"),
.priv_class = &class,
}
static av_cold int init(AVCodecContext *avctx)
static int amr_wb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
struct AMRWBContext AMRWBContext
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static void close(AVCodecParserContext *s)
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 139 of file libvo-amrwbenc.c.
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.