#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | EightSvxContext |
decoder context More... | |
Functions | |
static int | eightsvx_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
decode a frame | |
static av_cold int | eightsvx_decode_init (AVCodecContext *avctx) |
initialize 8svx decoder | |
Variables | |
static const int16_t | fibonacci [16] |
static const int16_t | exponential [16] |
AVCodec | eightsvx_fib_decoder |
AVCodec | eightsvx_exp_decoder |
Definition in file 8svx.c.
static int eightsvx_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int eightsvx_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ .name = "8svx_exp", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_8SVX_EXP, .priv_data_size = sizeof (EightSvxContext), .init = eightsvx_decode_init, .decode = eightsvx_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"), }
Initial value:
{ .name = "8svx_fib", .type = AVMEDIA_TYPE_AUDIO, .id = CODEC_ID_8SVX_FIB, .priv_data_size = sizeof (EightSvxContext), .init = eightsvx_decode_init, .decode = eightsvx_decode_frame, .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), }
const int16_t exponential[16] [static] |
Initial value:
{ -128<<8, -64<<8, -32<<8, -16<<8, -8<<8, -4<<8, -2<<8, -1<<8, 0, 1<<8, 2<<8, 4<<8, 8<<8, 16<<8, 32<<8, 64<<8 }
Definition at line 40 of file 8svx.c.
Referenced by eightsvx_decode_init().
const int16_t fibonacci[16] [static] |
Initial value:
{ -34<<8, -21<<8, -13<<8, -8<<8, -5<<8, -3<<8, -2<<8, -1<<8, 0, 1<<8, 2<<8, 3<<8, 5<<8, 8<<8, 13<<8, 21<<8 }
Definition at line 38 of file 8svx.c.
Referenced by eightsvx_decode_init().