libavcodec/rv34.h File Reference

RV30 and RV40 decoder common data declarations. More...

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "h264pred.h"

Go to the source code of this file.

Data Structures

struct  RV34VLC
 VLC tables used by the decoder. More...
struct  SliceInfo
 essential slice information More...
struct  RV34DecContext
 decoder context More...


#define MB_TYPE_SEPARATE_DC   0x01000000


enum  RV40BlockTypes {
  RV34_MB_TYPE_INTRA, RV34_MB_TYPE_INTRA16x16, RV34_MB_P_16x16, RV34_MB_P_8x8,
  RV34_MB_P_16x8, RV34_MB_P_8x16, RV34_MB_B_BIDIR, RV34_MB_P_MIX16x16,
 RV30 and RV40 Macroblock types. More...


int ff_rv34_get_start_offset (GetBitContext *gb, int blocks)
 common decoding functions
int ff_rv34_decode_init (AVCodecContext *avctx)
 Initialize decoder.
int ff_rv34_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
int ff_rv34_decode_end (AVCodecContext *avctx)

Detailed Description

RV30 and RV40 decoder common data declarations.

Definition in file rv34.h.

Define Documentation

#define IS_SEPARATE_DC (  )     ((a) & MB_TYPE_SEPARATE_DC)

Definition at line 37 of file rv34.h.

Referenced by rv30_loop_filter(), and rv40_loop_filter().

#define MB_TYPE_SEPARATE_DC   0x01000000

Definition at line 36 of file rv34.h.

Enumeration Type Documentation

RV30 and RV40 Macroblock types.

RV34_MB_TYPE_INTRA  Intra macroblock.
RV34_MB_TYPE_INTRA16x16  Intra macroblock with DCs in a separate 4x4 block.
RV34_MB_P_16x16  P-frame macroblock, one motion frame.
RV34_MB_P_8x8  P-frame macroblock, 8x8 motion compensation partitions.
RV34_MB_B_FORWARD  B-frame macroblock, forward prediction.
RV34_MB_B_BACKWARD  B-frame macroblock, backward prediction.
RV34_MB_SKIP  Skipped block.
RV34_MB_B_DIRECT  Bidirectionally predicted B-frame macroblock, no motion vectors.
RV34_MB_P_16x8  P-frame macroblock, 16x8 motion compensation partitions.
RV34_MB_P_8x16  P-frame macroblock, 8x16 motion compensation partitions.
RV34_MB_B_BIDIR  Bidirectionally predicted B-frame macroblock, two motion vectors.
RV34_MB_P_MIX16x16  P-frame macroblock with DCs in a separate 4x4 block, one motion vector.

Definition at line 42 of file rv34.h.

Function Documentation

int ff_rv34_decode_end ( AVCodecContext avctx  ) 

Definition at line 1519 of file rv34.c.

int ff_rv34_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 

Definition at line 1411 of file rv34.c.

int ff_rv34_decode_init ( AVCodecContext avctx  ) 

Initialize decoder.

Definition at line 1364 of file rv34.c.

Referenced by rv30_decode_init(), and rv40_decode_init().

Generated on Fri Oct 26 02:36:53 2012 for FFmpeg by  doxygen 1.5.8