#include "avcodec.h"
#include "adx.h"
#include "bytestream.h"
#include "internal.h"
#include "put_bits.h"
Go to the source code of this file.
Defines | |
| #define | HEADER_SIZE 36 |
Functions | |
| static void | adx_encode (ADXContext *c, uint8_t *adx, const int16_t *wav, ADXChannelState *prev, int channels) |
| static int | adx_encode_header (AVCodecContext *avctx, uint8_t *buf, int bufsize) |
| static av_cold int | adx_encode_init (AVCodecContext *avctx) |
| static int | adx_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
Variables | |
| AVCodec | ff_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.
| #define HEADER_SIZE 36 |
Definition at line 85 of file adxenc.c.
Referenced by adx_encode_frame(), adx_encode_header(), decode_frame(), encode_frame(), mp_decode_frame(), msnwc_tcp_probe(), msnwc_tcp_read_header(), msnwc_tcp_read_packet(), mss3_decode_frame(), mss4_decode_frame(), and put_wav_header().
| static void adx_encode | ( | ADXContext * | c, | |
| uint8_t * | adx, | |||
| const int16_t * | wav, | |||
| ADXChannelState * | prev, | |||
| int | channels | |||
| ) | [static] |
| static int adx_encode_frame | ( | AVCodecContext * | avctx, | |
| AVPacket * | avpkt, | |||
| const AVFrame * | frame, | |||
| int * | got_packet_ptr | |||
| ) | [static] |
| static int adx_encode_header | ( | AVCodecContext * | avctx, | |
| uint8_t * | buf, | |||
| int | bufsize | |||
| ) | [static] |
| static av_cold int adx_encode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{
.name = "adpcm_adx",
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_ADPCM_ADX,
.priv_data_size = sizeof(ADXContext),
.init = adx_encode_init,
.encode2 = adx_encode_frame,
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16,
AV_SAMPLE_FMT_NONE },
.long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
}
1.5.8