Logo Search packages:      
Sourcecode: blender version File versions  Download package

mace.c File Reference


Detailed Description

MACE decoder.

Definition in file mace.c.

#include "avcodec.h"

Go to the source code of this file.

Classes

struct  MACEContext

Functions

static void chomp3 (MACEContext *ctx, uint8_t val, const uint16_t tab1[], const uint16_t tab2[][8], uint32_t numChannels)
static void chomp6 (MACEContext *ctx, uint8_t val, const uint16_t tab1[], const uint16_t tab2[][8], uint32_t numChannels)
static void Exp1to3 (MACEContext *ctx, uint8_t *inBuffer, void *outBuffer, uint32_t cnt, uint32_t numChannels, uint32_t whichChannel)
static void Exp1to6 (MACEContext *ctx, uint8_t *inBuffer, void *outBuffer, uint32_t cnt, uint32_t numChannels, uint32_t whichChannel)
static int mace_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int mace_decode_init (AVCodecContext *avctx)

Variables

AVCodec mace3_decoder
AVCodec mace6_decoder
static const uint16_t MACEtab1 [] = { 0xfff3, 0x0008, 0x004c, 0x00de, 0x00de, 0x004c, 0x0008, 0xfff3 }
static const uint16_t MACEtab2 [][8]
static const uint16_t MACEtab3 [] = { 0xffee, 0x008c, 0x008c, 0xffee }
static const uint16_t MACEtab4 [][8]


Generated by  Doxygen 1.6.0   Back to index