#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "adx.h"
Go to the source code of this file.
Functions | |
static void | adx_encode (unsigned char *adx, const short *wav, PREV *prev) |
static int | adx_encode_header (AVCodecContext *avctx, unsigned char *buf, size_t bufsize) |
static av_cold int | adx_encode_init (AVCodecContext *avctx) |
static av_cold int | adx_encode_close (AVCodecContext *avctx) |
static int | adx_encode_frame (AVCodecContext *avctx, uint8_t *frame, int buf_size, void *data) |
Variables | |
AVCodec | adpcm_adx_encoder |
Reference documents: http://ku-www.ss.titech.ac.jp/~yatsushi/adx.html adx2wav & wav2adx http://www.geocities.co.jp/Playtown/2004/
Definition in file adxenc.c.
static void adx_encode | ( | unsigned char * | adx, | |
const short * | wav, | |||
PREV * | prev | |||
) | [static] |
static av_cold int adx_encode_close | ( | AVCodecContext * | avctx | ) | [static] |
static int adx_encode_frame | ( | AVCodecContext * | avctx, | |
uint8_t * | frame, | |||
int | buf_size, | |||
void * | data | |||
) | [static] |
static int adx_encode_header | ( | AVCodecContext * | avctx, | |
unsigned char * | buf, | |||
size_t | bufsize | |||
) | [static] |
static av_cold int adx_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ "adpcm_adx", AVMEDIA_TYPE_AUDIO, CODEC_ID_ADPCM_ADX, sizeof(ADXContext), adx_encode_init, adx_encode_frame, adx_encode_close, NULL, .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"), }