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

kmvc.c File Reference


Detailed Description

Karl Morton's Video Codec decoder

Definition in file kmvc.c.

#include <stdio.h>
#include <stdlib.h>
#include "common.h"
#include "avcodec.h"

Go to the source code of this file.

Classes

struct  BitBuf
struct  KmvcContext

Defines

#define BLK(data, x, y)   data[(x) + (y) * 320]
#define kmvc_getbit(bb, src, res)
#define kmvc_init_getbits(bb, src)   bb.bits = 7; bb.bitbuf = *src++;
#define KMVC_KEYFRAME   0x80
#define KMVC_METHOD   0x0F
#define KMVC_PALETTE   0x40

Functions

static int decode_end (AVCodecContext *avctx)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int decode_init (AVCodecContext *avctx)
static void kmvc_decode_inter_8x8 (KmvcContext *ctx, uint8_t *src, int w, int h)
static void kmvc_decode_intra_8x8 (KmvcContext *ctx, uint8_t *src, int w, int h)

Variables

AVCodec kmvc_decoder


Generated by  Doxygen 1.6.0   Back to index