libavcodec/zmbv.c File Reference

Zip Motion Blocks Video decoder. More...

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

Go to the source code of this file.

Data Structures

struct  ZmbvContext

Defines

#define ZMBV_KEYFRAME   1
#define ZMBV_DELTAPAL   2

Enumerations

enum  ZmbvFormat {
  ZMBV_FMT_NONE = 0, ZMBV_FMT_1BPP = 1, ZMBV_FMT_2BPP = 2, ZMBV_FMT_4BPP = 3,
  ZMBV_FMT_8BPP = 4, ZMBV_FMT_15BPP = 5, ZMBV_FMT_16BPP = 6, ZMBV_FMT_24BPP = 7,
  ZMBV_FMT_32BPP = 8
}

Functions

static int zmbv_decode_xor_8 (ZmbvContext *c)
 Decode XOR'ed frame - 8bpp version.
static int zmbv_decode_xor_16 (ZmbvContext *c)
 Decode XOR'ed frame - 15bpp and 16bpp version.
static int zmbv_decode_xor_32 (ZmbvContext *c)
 Decode XOR'ed frame - 32bpp version.
static int zmbv_decode_intra (ZmbvContext *c)
 Decode intraframe.
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
static int decode_init (AVCodecContext *avctx)
static int decode_end (AVCodecContext *avctx)

Variables

AVCodec zmbv_decoder


Detailed Description

Zip Motion Blocks Video decoder.

Definition in file zmbv.c.


Define Documentation

#define ZMBV_DELTAPAL   2

Definition at line 35 of file zmbv.c.

Referenced by encode_frame(), and zmbv_decode_xor_8().

#define ZMBV_KEYFRAME   1

Definition at line 34 of file zmbv.c.

Referenced by decode_frame(), and encode_frame().


Enumeration Type Documentation

enum ZmbvFormat

Enumerator:
ZMBV_FMT_NONE 
ZMBV_FMT_1BPP 
ZMBV_FMT_2BPP 
ZMBV_FMT_4BPP 
ZMBV_FMT_8BPP 
ZMBV_FMT_15BPP 
ZMBV_FMT_16BPP 
ZMBV_FMT_24BPP 
ZMBV_FMT_32BPP 

Definition at line 37 of file zmbv.c.


Function Documentation

static int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 640 of file zmbv.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 394 of file zmbv.c.

static int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 591 of file zmbv.c.

static int zmbv_decode_intra ( ZmbvContext c  )  [static]

Decode intraframe.

Definition at line 380 of file zmbv.c.

Referenced by decode_frame().

static int zmbv_decode_xor_16 ( ZmbvContext c  )  [static]

Decode XOR'ed frame - 15bpp and 16bpp version.

Definition at line 152 of file zmbv.c.

Referenced by decode_frame().

static int zmbv_decode_xor_32 ( ZmbvContext c  )  [static]

Decode XOR'ed frame - 32bpp version.

Definition at line 308 of file zmbv.c.

Referenced by decode_frame().

static int zmbv_decode_xor_8 ( ZmbvContext c  )  [static]

Decode XOR'ed frame - 8bpp version.

Definition at line 76 of file zmbv.c.

Referenced by decode_frame().


Variable Documentation

Initial value:

Definition at line 655 of file zmbv.c.


Generated on Thu Apr 2 07:16:13 2009 for ffmpeg by  doxygen 1.5.6