#include "avcodec.h"#include "libavutil/avstring.h"#include "libavutil/opt.h"#include <opencore-amrnb/interf_dec.h>#include <opencore-amrnb/interf_enc.h>#include <opencore-amrwb/dec_if.h>#include <opencore-amrwb/if_rom.h>Go to the source code of this file.
| typedef struct AMR_bitrates AMR_bitrates |
| typedef struct AMRContext AMRContext |
| typedef struct AMRWBContext AMRWBContext |
| static void amr_decode_fix_avctx | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 26 of file libopencore-amr.c.
Referenced by amr_nb_decode_init(), and amr_wb_decode_init().
| static av_cold int amr_nb_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 120 of file libopencore-amr.c.
| static int amr_nb_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
Definition at line 128 of file libopencore-amr.c.
| static av_cold int amr_nb_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 99 of file libopencore-amr.c.
| static av_cold int amr_nb_encode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 203 of file libopencore-amr.c.
| static int amr_nb_encode_frame | ( | AVCodecContext * | avctx, | |
| unsigned char * | frame, | |||
| int | buf_size, | |||
| void * | data | |||
| ) | [static] |
Definition at line 212 of file libopencore-amr.c.
| static av_cold int amr_nb_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 172 of file libopencore-amr.c.
| static int amr_wb_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 302 of file libopencore-amr.c.
| static int amr_wb_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) | [static] |
Definition at line 274 of file libopencore-amr.c.
| static av_cold int amr_wb_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 258 of file libopencore-amr.c.
| static int get_bitrate_mode | ( | int | bitrate, | |
| void * | log_ctx | |||
| ) | [static] |
Definition at line 52 of file libopencore-amr.c.
Referenced by amr_nb_encode_frame(), and amr_nb_encode_init().
const { ... } [static] |
| av_default_item_name |
Definition at line 96 of file libopencore-amr.c.
{
"libopencore_amrnb",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AMR_NB,
sizeof(AMRContext),
amr_nb_decode_init,
NULL,
amr_nb_decode_close,
amr_nb_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band"),
}
Definition at line 160 of file libopencore-amr.c.
{
"libopencore_amrnb",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AMR_NB,
sizeof(AMRContext),
amr_nb_encode_init,
amr_nb_encode_frame,
amr_nb_encode_close,
NULL,
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band"),
.priv_class = &class,
}
Definition at line 232 of file libopencore-amr.c.
{
"libopencore_amrwb",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AMR_WB,
sizeof(AMRWBContext),
amr_wb_decode_init,
NULL,
amr_wb_decode_close,
amr_wb_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Wide-Band"),
}
Definition at line 310 of file libopencore-amr.c.
Definition at line 96 of file libopencore-amr.c.
Referenced by avcodec_register_all().
options [static] |
{
{ "dtx", "Allow DTX (generate comfort noise)", 0x42, FF_OPT_TYPE_INT, 0, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
{ NULL }
}
Definition at line 90 of file libopencore-amr.c.
1.7.1