libavcodec/mmvideo.c File Reference

#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  MmContext

Defines

#define MM_PREAMBLE_SIZE   6
#define MM_TYPE_INTER   0x5
#define MM_TYPE_INTRA   0x8
#define MM_TYPE_INTRA_HH   0xc
#define MM_TYPE_INTER_HH   0xd
#define MM_TYPE_INTRA_HHV   0xe
#define MM_TYPE_INTER_HHV   0xf

Functions

static int mm_decode_init (AVCodecContext *avctx)
static void mm_decode_intra (MmContext *s, int half_horiz, int half_vert, const uint8_t *buf, int buf_size)
static void mm_decode_inter (MmContext *s, int half_horiz, int half_vert, const uint8_t *buf, int buf_size)
static int mm_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
static int mm_decode_end (AVCodecContext *avctx)

Variables

AVCodec mmvideo_decoder


Define Documentation

#define MM_PREAMBLE_SIZE   6

Definition at line 36 of file mmvideo.c.

Referenced by mm_decode_frame(), and mm_read_packet().

#define MM_TYPE_INTER   0x5

Definition at line 38 of file mmvideo.c.

Referenced by mm_decode_frame(), and mm_read_packet().

#define MM_TYPE_INTER_HH   0xd

Definition at line 41 of file mmvideo.c.

Referenced by mm_decode_frame(), and mm_read_packet().

#define MM_TYPE_INTER_HHV   0xf

Definition at line 43 of file mmvideo.c.

Referenced by mm_decode_frame(), and mm_read_packet().

#define MM_TYPE_INTRA   0x8

Definition at line 39 of file mmvideo.c.

Referenced by mm_decode_frame(), and mm_read_packet().

#define MM_TYPE_INTRA_HH   0xc

Definition at line 40 of file mmvideo.c.

Referenced by mm_decode_frame(), and mm_read_packet().

#define MM_TYPE_INTRA_HHV   0xe

Definition at line 42 of file mmvideo.c.

Referenced by mm_decode_frame(), and mm_read_packet().


Function Documentation

static int mm_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 185 of file mmvideo.c.

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

Definition at line 151 of file mmvideo.c.

static int mm_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 50 of file mmvideo.c.

static void mm_decode_inter ( MmContext s,
int  half_horiz,
int  half_vert,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 110 of file mmvideo.c.

Referenced by mm_decode_frame().

static void mm_decode_intra ( MmContext s,
int  half_horiz,
int  half_vert,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 75 of file mmvideo.c.

Referenced by mm_decode_frame().


Variable Documentation

Initial value:

Definition at line 195 of file mmvideo.c.


Generated on Fri Apr 23 15:11:59 2010 for ffmpeg by  doxygen 1.5.6