#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 |
Definition in file rv40.c.
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] |
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] |
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] |
VLC aic_mode1_vlc[AIC_MODE1_NUM] [static] |
VLC aic_mode2_vlc[AIC_MODE2_NUM] [static] |
VLC aic_top_vlc [static] |
Initial value:
{ "rv40", CODEC_TYPE_VIDEO, CODEC_ID_RV40, sizeof(RV34DecContext), rv40_decode_init, NULL, ff_rv34_decode_end, ff_rv34_decode_frame, CODEC_CAP_DR1 | CODEC_CAP_DELAY, }