#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
Go to the source code of this file.
Functions | |
static av_cold int | ws_snd_decode_init (AVCodecContext *avctx) |
static int | ws_snd_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
Variables | |
static const int8_t | ws_adpcm_2bit [] = { -2, -1, 0, 1} |
static const int8_t | ws_adpcm_4bit [] |
AVCodec | ff_ws_snd1_decoder |
Reference documents about VQA format and its audio codecs can be found here: http://www.multimedia.cx
Definition in file ws-snd1.c.
static int ws_snd_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int ws_snd_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ "ws_snd1", AVMEDIA_TYPE_AUDIO, CODEC_ID_WESTWOOD_SND1, 0, ws_snd_decode_init, NULL, NULL, ws_snd_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("Westwood Audio (SND1)"), }
const int8_t ws_adpcm_2bit[] = { -2, -1, 0, 1} [static] |
const int8_t ws_adpcm_4bit[] [static] |
Initial value:
{ -9, -8, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 8 }
Definition at line 36 of file ws-snd1.c.
Referenced by ws_snd_decode_frame().