libavcodec/rv40.c File Reference

RV40 decoder. More...

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "golomb.h"
#include "rv34.h"
#include "rv40vlc2.h"
#include "rv40data.h"

Go to the source code of this file.

Functions

static void rv40_init_tables ()
 Initialize all tables.
static int get_dimension (GetBitContext *gb, const int *dim)
 Get stored dimension from bitstream.
static void rv40_parse_picture_size (GetBitContext *gb, int *w, int *h)
 Get encoded picture size - usually this is called from rv40_parse_slice_header.
static int rv40_parse_slice_header (RV34DecContext *r, GetBitContext *gb, SliceInfo *si)
static int rv40_decode_intra_types (RV34DecContext *r, GetBitContext *gb, int8_t *dst)
 Decode 4x4 intra types array.
static int rv40_decode_mb_info (RV34DecContext *r)
 Decode macroblock information.
static int rv40_decode_init (AVCodecContext *avctx)
 Initialize decoder.

Variables

static VLC aic_top_vlc
static VLC aic_mode1_vlc [AIC_MODE1_NUM]
static VLC aic_mode2_vlc [AIC_MODE2_NUM]
static VLC ptype_vlc [NUM_PTYPE_VLCS]
static VLC btype_vlc [NUM_BTYPE_VLCS]
AVCodec rv40_decoder


Detailed Description

RV40 decoder.

Definition in file rv40.c.


Function Documentation

static int get_dimension ( GetBitContext gb,
const int *  dim 
) [static]

Get stored dimension from bitstream.

If the width/height is the standard one then it's coded as a 3-bit index. Otherwise it is coded as escaped 8-bit portions.

Definition at line 80 of file rv40.c.

Referenced by rv40_parse_picture_size().

static int rv40_decode_init ( AVCodecContext avctx  )  [static]

Initialize decoder.

Definition at line 253 of file rv40.c.

static int rv40_decode_intra_types ( RV34DecContext r,
GetBitContext gb,
int8_t *  dst 
) [static]

Decode 4x4 intra types array.

Definition at line 137 of file rv40.c.

Referenced by rv40_decode_init().

static int rv40_decode_mb_info ( RV34DecContext r  )  [static]

Decode macroblock information.

Definition at line 200 of file rv40.c.

Referenced by rv40_decode_init().

static void rv40_init_tables (  )  [static]

Initialize all tables.

Definition at line 43 of file rv40.c.

Referenced by rv40_decode_init().

static void rv40_parse_picture_size ( GetBitContext gb,
int *  w,
int *  h 
) [static]

Get encoded picture size - usually this is called from rv40_parse_slice_header.

Definition at line 98 of file rv40.c.

Referenced by rv40_parse_slice_header().

static int rv40_parse_slice_header ( RV34DecContext r,
GetBitContext gb,
SliceInfo si 
) [static]

???

Definition at line 104 of file rv40.c.

Referenced by rv40_decode_init().


Variable Documentation

VLC aic_mode1_vlc[AIC_MODE1_NUM] [static]

Definition at line 37 of file rv40.c.

VLC aic_mode2_vlc[AIC_MODE2_NUM] [static]

Definition at line 37 of file rv40.c.

VLC aic_top_vlc [static]

Definition at line 36 of file rv40.c.

VLC btype_vlc[NUM_BTYPE_VLCS] [static]

Definition at line 38 of file rv40.c.

VLC ptype_vlc[NUM_PTYPE_VLCS] [static]

Definition at line 38 of file rv40.c.


Generated on Thu Apr 2 07:15:42 2009 for ffmpeg by  doxygen 1.5.6