FFmpeg
Functions | Variables
rv34.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "decode.h"
#include "error_resilience.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodec.h"
#include "golomb.h"
#include "mathops.h"
#include "mpeg_er.h"
#include "qpeldsp.h"
#include "rectangle.h"
#include "thread.h"
#include "threadframe.h"
#include "rv34vlc.h"
#include "rv34data.h"
#include "rv34.h"

Go to the source code of this file.

Functions

static void ZERO8x2 (void *dst, int stride)
 
av_cold int ff_rv34_decode_init (AVCodecContext *avctx)
 Initialize decoder. More...
 
int ff_rv34_decode_update_thread_context (AVCodecContext *dst, const AVCodecContext *src)
 
static int get_slice_offset (AVCodecContext *avctx, const uint8_t *buf, int n, int slice_count, int buf_size)
 
static int finish_frame (AVCodecContext *avctx, AVFrame *pict)
 
static AVRational update_sar (int old_w, int old_h, AVRational sar, int new_w, int new_h)
 
int ff_rv34_decode_frame (AVCodecContext *avctx, AVFrame *pict, int *got_picture_ptr, AVPacket *avpkt)
 
av_cold int ff_rv34_decode_end (AVCodecContext *avctx)
 
RV30/40 4x4 block decoding functions
static int rv34_decode_cbp (GetBitContext *gb, const RV34VLC *vlc, int table)
 Decode coded block pattern. More...
 
static void decode_coeff (int16_t *dst, int coef, int esc, GetBitContext *gb, const VLCElem *vlc, int q)
 Get one coefficient value from the bitstream and store it. More...
 
static void decode_subblock (int16_t *dst, int code, const int is_block2, GetBitContext *gb, const VLCElem *vlc, int q)
 Decode 2x2 subblock of coefficients. More...
 
static void decode_subblock1 (int16_t *dst, int code, GetBitContext *gb, const VLCElem *vlc, int q)
 Decode a single coefficient. More...
 
static void decode_subblock3 (int16_t *dst, int code, GetBitContext *gb, const VLCElem *vlc, int q_dc, int q_ac1, int q_ac2)
 
static int rv34_decode_block (int16_t *dst, GetBitContext *gb, const RV34VLC *rvlc, int fc, int sc, int q_dc, int q_ac1, int q_ac2)
 Decode coefficients for 4x4 block. More...
 
RV30/40 bitstream parsing
int ff_rv34_get_start_offset (GetBitContext *gb, int mb_size)
 Decode starting slice position. More...
 
static RV34VLCchoose_vlc_set (int quant, int mod, int type)
 Select VLC set for decoding from current quantizer, modifier and frame type. More...
 
static int rv34_decode_intra_mb_header (RV34DecContext *r, int8_t *intra_types)
 Decode intra macroblock header and return CBP in case of success, -1 otherwise. More...
 
static int rv34_decode_inter_mb_header (RV34DecContext *r, int8_t *intra_types)
 Decode inter macroblock header and return CBP in case of success, -1 otherwise. More...
 

Variables

static const int rv34_mb_type_to_lavc [12]
 translation of RV30/40 macroblock types to lavc ones More...
 
static RV34VLC intra_vlcs [NUM_INTRA_TABLES]
 
static RV34VLC inter_vlcs [NUM_INTER_TABLES]
 

RV30/40 VLC generating functions

static VLCElem table_data [117592]
 
static av_cold void rv34_gen_vlc_ext (const uint8_t *bits, int size, VLC *vlc, const uint8_t *syms, int *offset)
 Generate VLC from codeword lengths. More...
 
static av_cold void rv34_gen_vlc (const uint8_t *bits, int size, const VLCElem **vlcp, int *offset)
 
static av_cold void rv34_init_tables (void)
 Initialize all tables. More...
 

motion vector related code (prediction, reconstruction, motion compensation)

#define GET_PTS_DIFF(a, b)   (((a) - (b) + 8192) & 0x1FFF)
 
static const uint8_t part_sizes_w [RV34_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2 }
 macroblock partition width in 8x8 blocks More...
 
static const uint8_t part_sizes_h [RV34_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2 }
 macroblock partition height in 8x8 blocks More...
 
static const uint8_t avail_indexes [4] = { 6, 7, 10, 11 }
 availability index for subblocks More...
 
static const int chroma_coeffs [3] = { 0, 3, 5 }
 
static const int num_mvs [RV34_MB_TYPES] = { 0, 0, 1, 4, 1, 1, 0, 0, 2, 2, 2, 1 }
 number of motion vectors in each macroblock type More...
 
static int rv34_decode_mv (RV34DecContext *r, int block_type)
 Decode motion vector differences and perform motion vector reconstruction and motion compensation. More...
 
static void rv34_pred_mv (RV34DecContext *r, int block_type, int subblock_no, int dmv_no)
 motion vector prediction More...
 
static int calc_add_mv (RV34DecContext *r, int dir, int val)
 Calculate motion vector component that should be added for direct blocks. More...
 
static void rv34_pred_b_vector (int A[2], int B[2], int C[2], int A_avail, int B_avail, int C_avail, int *mx, int *my)
 Predict motion vector for B-frame macroblock. More...
 
static void rv34_pred_mv_b (RV34DecContext *r, int block_type, int dir)
 motion vector prediction for B-frames More...
 
static void rv34_pred_mv_rv3 (RV34DecContext *r, int block_type, int dir)
 motion vector prediction - RV3 version More...
 
static void rv34_mc (RV34DecContext *r, const int block_type, const int xoff, const int yoff, int mv_off, const int width, const int height, int dir, const int thirdpel, int weighted, qpel_mc_func(*qpel_mc)[16], h264_chroma_mc_func(*chroma_mc))
 generic motion compensation function More...
 
static void rv34_mc_1mv (RV34DecContext *r, const int block_type, const int xoff, const int yoff, int mv_off, const int width, const int height, int dir)
 
static void rv4_weight (RV34DecContext *r)
 
static void rv34_mc_2mv (RV34DecContext *r, const int block_type)
 
static void rv34_mc_2mv_skip (RV34DecContext *r)
 

Macroblock reconstruction functions

static const int ittrans [9]
 mapping of RV30/40 intra prediction types to standard H.264 types More...
 
static const int ittrans16 [4]
 mapping of RV30/40 intra 16x16 prediction types to standard H.264 types More...
 
static void rv34_pred_4x4_block (RV34DecContext *r, uint8_t *dst, int stride, int itype, int up, int left, int down, int right)
 Perform 4x4 intra prediction. More...
 
static int adjust_pred16 (int itype, int up, int left)
 
static void rv34_process_block (RV34DecContext *r, uint8_t *pdst, int stride, int fc, int sc, int q_dc, int q_ac)
 
static void rv34_output_i16x16 (RV34DecContext *r, int8_t *intra_types, int cbp)
 
static void rv34_output_intra (RV34DecContext *r, int8_t *intra_types, int cbp)
 
static int is_mv_diff_gt_3 (int16_t(*motion_val)[2], int step)
 
static int rv34_set_deblock_coef (RV34DecContext *r)
 
static int rv34_decode_inter_macroblock (RV34DecContext *r, int8_t *intra_types)
 
static int rv34_decode_intra_macroblock (RV34DecContext *r, int8_t *intra_types)
 
static int check_slice_end (RV34DecContext *r, MpegEncContext *s)
 
static void rv34_decoder_free (RV34DecContext *r)
 
static int rv34_decoder_alloc (RV34DecContext *r)
 
static int rv34_decoder_realloc (RV34DecContext *r)
 
static int rv34_decode_slice (RV34DecContext *r, int end, const uint8_t *buf, int buf_size)
 

Detailed Description

RV30/40 decoder common data

Definition in file rv34.c.

Macro Definition Documentation

◆ GET_PTS_DIFF

#define GET_PTS_DIFF (   a,
  b 
)    (((a) - (b) + 8192) & 0x1FFF)

Definition at line 522 of file rv34.c.

Function Documentation

◆ ZERO8x2()

static void ZERO8x2 ( void *  dst,
int  stride 
)
inlinestatic

Definition at line 51 of file rv34.c.

Referenced by rv34_decode_mv(), and rv34_pred_mv_b().

◆ rv34_decode_mv()

static int rv34_decode_mv ( RV34DecContext r,
int  block_type 
)
static

Decode motion vector differences and perform motion vector reconstruction and motion compensation.

Definition at line 865 of file rv34.c.

Referenced by rv34_decode_inter_mb_header().

◆ rv34_gen_vlc_ext()

static av_cold void rv34_gen_vlc_ext ( const uint8_t *  bits,
int  size,
VLC vlc,
const uint8_t *  syms,
int offset 
)
static

Generate VLC from codeword lengths.

Parameters
bitscodeword lengths (zeroes are accepted)
sizelength of input data
vlcoutput VLC
insymssymbols for input codes (NULL for default ones)
numVLC table number (for static initialization)

Definition at line 93 of file rv34.c.

Referenced by rv34_gen_vlc(), and rv34_init_tables().

◆ rv34_gen_vlc()

static av_cold void rv34_gen_vlc ( const uint8_t *  bits,
int  size,
const VLCElem **  vlcp,
int offset 
)
static

Definition at line 123 of file rv34.c.

Referenced by rv34_init_tables().

◆ rv34_init_tables()

static av_cold void rv34_init_tables ( void  )
static

Initialize all tables.

Definition at line 134 of file rv34.c.

Referenced by ff_rv34_decode_init().

◆ rv34_decode_cbp()

static int rv34_decode_cbp ( GetBitContext gb,
const RV34VLC vlc,
int  table 
)
static

Decode coded block pattern.

Definition at line 189 of file rv34.c.

Referenced by rv34_decode_inter_mb_header(), and rv34_decode_intra_mb_header().

◆ decode_coeff()

static void decode_coeff ( int16_t *  dst,
int  coef,
int  esc,
GetBitContext gb,
const VLCElem vlc,
int  q 
)
inlinestatic

Get one coefficient value from the bitstream and store it.

Definition at line 222 of file rv34.c.

Referenced by decode_subblock(), decode_subblock1(), and decode_subblock3().

◆ decode_subblock()

static void decode_subblock ( int16_t *  dst,
int  code,
const int  is_block2,
GetBitContext gb,
const VLCElem vlc,
int  q 
)
inlinestatic

Decode 2x2 subblock of coefficients.

Definition at line 243 of file rv34.c.

Referenced by rv34_decode_block().

◆ decode_subblock1()

static void decode_subblock1 ( int16_t *  dst,
int  code,
GetBitContext gb,
const VLCElem vlc,
int  q 
)
inlinestatic

Decode a single coefficient.

Definition at line 262 of file rv34.c.

Referenced by rv34_decode_block().

◆ decode_subblock3()

static void decode_subblock3 ( int16_t *  dst,
int  code,
GetBitContext gb,
const VLCElem vlc,
int  q_dc,
int  q_ac1,
int  q_ac2 
)
inlinestatic

Definition at line 269 of file rv34.c.

Referenced by rv34_decode_block().

◆ rv34_decode_block()

static int rv34_decode_block ( int16_t *  dst,
GetBitContext gb,
const RV34VLC rvlc,
int  fc,
int  sc,
int  q_dc,
int  q_ac1,
int  q_ac2 
)
static

Decode coefficients for 4x4 block.

This is done by filling 2x2 subblocks with decoded coefficients in this order (the same for subblocks and subblock coefficients): o–o / / o–o

Definition at line 292 of file rv34.c.

Referenced by rv34_decode_inter_macroblock(), rv34_output_i16x16(), and rv34_process_block().

◆ ff_rv34_get_start_offset()

int ff_rv34_get_start_offset ( GetBitContext gb,
int  mb_size 
)

Decode starting slice position.

common decoding functions

Todo:
Maybe replace with ff_h263_decode_mba() ?

Definition at line 336 of file rv34.c.

Referenced by rv30_parse_slice_header(), and rv40_parse_slice_header().

◆ choose_vlc_set()

static RV34VLC* choose_vlc_set ( int  quant,
int  mod,
int  type 
)
inlinestatic

Select VLC set for decoding from current quantizer, modifier and frame type.

Definition at line 348 of file rv34.c.

Referenced by rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), and rv34_decode_intra_mb_header().

◆ rv34_decode_intra_mb_header()

static int rv34_decode_intra_mb_header ( RV34DecContext r,
int8_t *  intra_types 
)
static

Decode intra macroblock header and return CBP in case of success, -1 otherwise.

Definition at line 360 of file rv34.c.

Referenced by rv34_decode_intra_macroblock().

◆ rv34_decode_inter_mb_header()

static int rv34_decode_inter_mb_header ( RV34DecContext r,
int8_t *  intra_types 
)
static

Decode inter macroblock header and return CBP in case of success, -1 otherwise.

Definition at line 395 of file rv34.c.

Referenced by rv34_decode_inter_macroblock().

◆ rv34_pred_mv()

static void rv34_pred_mv ( RV34DecContext r,
int  block_type,
int  subblock_no,
int  dmv_no 
)
static

motion vector prediction

Motion prediction performed for the block by using median prediction of motion vectors from the left, top and right top blocks but in corner cases some other vectors may be used instead.

Definition at line 473 of file rv34.c.

Referenced by rv34_decode_mv().

◆ calc_add_mv()

static int calc_add_mv ( RV34DecContext r,
int  dir,
int  val 
)
static

Calculate motion vector component that should be added for direct blocks.

Definition at line 527 of file rv34.c.

Referenced by rv34_decode_mv().

◆ rv34_pred_b_vector()

static void rv34_pred_b_vector ( int  A[2],
int  B[2],
int  C[2],
int  A_avail,
int  B_avail,
int  C_avail,
int mx,
int my 
)
inlinestatic

Predict motion vector for B-frame macroblock.

Definition at line 537 of file rv34.c.

Referenced by rv34_pred_mv_b().

◆ rv34_pred_mv_b()

static void rv34_pred_mv_b ( RV34DecContext r,
int  block_type,
int  dir 
)
static

motion vector prediction for B-frames

Definition at line 557 of file rv34.c.

Referenced by rv34_decode_mv().

◆ rv34_pred_mv_rv3()

static void rv34_pred_mv_rv3 ( RV34DecContext r,
int  block_type,
int  dir 
)
static

motion vector prediction - RV3 version

Definition at line 609 of file rv34.c.

Referenced by rv34_decode_mv().

◆ rv34_mc()

static void rv34_mc ( RV34DecContext r,
const int  block_type,
const int  xoff,
const int  yoff,
int  mv_off,
const int  width,
const int  height,
int  dir,
const int  thirdpel,
int  weighted,
qpel_mc_func(*)  qpel_mc[16],
h264_chroma_mc_func chroma_mc 
)
inlinestatic

generic motion compensation function

Parameters
rdecoder context
block_typetype of the current block
xoffhorizontal offset from the start of the current block
yoffvertical offset from the start of the current block
mv_offoffset to the motion vector information
widthwidth of the current partition in 8x8 blocks
heightheight of the current partition in 8x8 blocks
dirmotion compensation direction (i.e. from the last or the next reference frame)
thirdpelmotion vectors are specified in 1/3 of pixel
qpel_mca set of functions used to perform luma motion compensation
chroma_mca set of functions used to perform chroma motion compensation

Definition at line 672 of file rv34.c.

Referenced by rv34_mc_1mv(), rv34_mc_2mv(), and rv34_mc_2mv_skip().

◆ rv34_mc_1mv()

static void rv34_mc_1mv ( RV34DecContext r,
const int  block_type,
const int  xoff,
const int  yoff,
int  mv_off,
const int  width,
const int  height,
int  dir 
)
static

Definition at line 788 of file rv34.c.

Referenced by rv34_decode_mv().

◆ rv4_weight()

static void rv4_weight ( RV34DecContext r)
static

Definition at line 797 of file rv34.c.

Referenced by rv34_mc_2mv(), and rv34_mc_2mv_skip().

◆ rv34_mc_2mv()

static void rv34_mc_2mv ( RV34DecContext r,
const int  block_type 
)
static

Definition at line 819 of file rv34.c.

Referenced by rv34_decode_mv().

◆ rv34_mc_2mv_skip()

static void rv34_mc_2mv_skip ( RV34DecContext r)
static

Definition at line 838 of file rv34.c.

Referenced by rv34_decode_mv().

◆ rv34_pred_4x4_block()

static void rv34_pred_4x4_block ( RV34DecContext r,
uint8_t *  dst,
int  stride,
int  itype,
int  up,
int  left,
int  down,
int  right 
)
static

Perform 4x4 intra prediction.

Definition at line 979 of file rv34.c.

Referenced by rv34_output_intra().

◆ adjust_pred16()

static int adjust_pred16 ( int  itype,
int  up,
int  left 
)
inlinestatic

Definition at line 1006 of file rv34.c.

Referenced by rv34_output_i16x16().

◆ rv34_process_block()

static void rv34_process_block ( RV34DecContext r,
uint8_t *  pdst,
int  stride,
int  fc,
int  sc,
int  q_dc,
int  q_ac 
)
inlinestatic

Definition at line 1022 of file rv34.c.

Referenced by rv34_decode_inter_macroblock(), rv34_output_i16x16(), and rv34_output_intra().

◆ rv34_output_i16x16()

static void rv34_output_i16x16 ( RV34DecContext r,
int8_t *  intra_types,
int  cbp 
)
static

Definition at line 1038 of file rv34.c.

Referenced by rv34_decode_inter_macroblock(), and rv34_decode_intra_macroblock().

◆ rv34_output_intra()

static void rv34_output_intra ( RV34DecContext r,
int8_t *  intra_types,
int  cbp 
)
static

Definition at line 1101 of file rv34.c.

Referenced by rv34_decode_inter_macroblock(), and rv34_decode_intra_macroblock().

◆ is_mv_diff_gt_3()

static int is_mv_diff_gt_3 ( int16_t(*)  motion_val[2],
int  step 
)
static

Definition at line 1165 of file rv34.c.

Referenced by rv34_set_deblock_coef().

◆ rv34_set_deblock_coef()

static int rv34_set_deblock_coef ( RV34DecContext r)
static

Definition at line 1177 of file rv34.c.

Referenced by rv34_decode_inter_macroblock().

◆ rv34_decode_inter_macroblock()

static int rv34_decode_inter_macroblock ( RV34DecContext r,
int8_t *  intra_types 
)
static

Definition at line 1207 of file rv34.c.

Referenced by rv34_decode_slice().

◆ rv34_decode_intra_macroblock()

static int rv34_decode_intra_macroblock ( RV34DecContext r,
int8_t *  intra_types 
)
static

Definition at line 1315 of file rv34.c.

Referenced by rv34_decode_slice().

◆ check_slice_end()

static int check_slice_end ( RV34DecContext r,
MpegEncContext s 
)
static

Definition at line 1355 of file rv34.c.

Referenced by rv34_decode_slice().

◆ rv34_decoder_free()

static void rv34_decoder_free ( RV34DecContext r)
static

Definition at line 1371 of file rv34.c.

Referenced by ff_rv34_decode_end(), rv34_decoder_alloc(), and rv34_decoder_realloc().

◆ rv34_decoder_alloc()

static int rv34_decoder_alloc ( RV34DecContext r)
static

Definition at line 1383 of file rv34.c.

Referenced by ff_rv34_decode_init(), and rv34_decoder_realloc().

◆ rv34_decoder_realloc()

static int rv34_decoder_realloc ( RV34DecContext r)
static

Definition at line 1411 of file rv34.c.

Referenced by ff_rv34_decode_frame(), and ff_rv34_decode_update_thread_context().

◆ rv34_decode_slice()

static int rv34_decode_slice ( RV34DecContext r,
int  end,
const uint8_t *  buf,
int  buf_size 
)
static

Definition at line 1418 of file rv34.c.

Referenced by ff_rv34_decode_frame().

◆ ff_rv34_decode_init()

av_cold int ff_rv34_decode_init ( AVCodecContext avctx)

Initialize decoder.

Definition at line 1500 of file rv34.c.

Referenced by rv30_decode_init(), and rv40_decode_init().

◆ ff_rv34_decode_update_thread_context()

int ff_rv34_decode_update_thread_context ( AVCodecContext dst,
const AVCodecContext src 
)

Definition at line 1529 of file rv34.c.

◆ get_slice_offset()

static int get_slice_offset ( AVCodecContext avctx,
const uint8_t *  buf,
int  n,
int  slice_count,
int  buf_size 
)
static

Definition at line 1561 of file rv34.c.

Referenced by ff_rv34_decode_frame().

◆ finish_frame()

static int finish_frame ( AVCodecContext avctx,
AVFrame pict 
)
static

Definition at line 1569 of file rv34.c.

Referenced by ff_rv34_decode_frame(), and shorten_decode_frame().

◆ update_sar()

static AVRational update_sar ( int  old_w,
int  old_h,
AVRational  sar,
int  new_w,
int  new_h 
)
static

Definition at line 1599 of file rv34.c.

Referenced by ff_rv34_decode_frame().

◆ ff_rv34_decode_frame()

int ff_rv34_decode_frame ( AVCodecContext avctx,
AVFrame pict,
int got_picture_ptr,
AVPacket avpkt 
)

Definition at line 1609 of file rv34.c.

◆ ff_rv34_decode_end()

av_cold int ff_rv34_decode_end ( AVCodecContext avctx)

Definition at line 1816 of file rv34.c.

Variable Documentation

◆ rv34_mb_type_to_lavc

const int rv34_mb_type_to_lavc[12]
static

◆ intra_vlcs

RV34VLC intra_vlcs[NUM_INTRA_TABLES]
static

Definition at line 74 of file rv34.c.

Referenced by choose_vlc_set(), and rv34_init_tables().

◆ inter_vlcs

RV34VLC inter_vlcs[NUM_INTER_TABLES]
static

Definition at line 74 of file rv34.c.

Referenced by choose_vlc_set(), and rv34_init_tables().

◆ table_data

VLCElem table_data[117592]
static

Definition at line 83 of file rv34.c.

Referenced by ivi_init_static_vlc(), and rv34_gen_vlc_ext().

◆ part_sizes_w

const uint8_t part_sizes_w[RV34_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2 }
static

macroblock partition width in 8x8 blocks

Definition at line 458 of file rv34.c.

Referenced by rv34_pred_mv().

◆ part_sizes_h

const uint8_t part_sizes_h[RV34_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2 }
static

macroblock partition height in 8x8 blocks

Definition at line 461 of file rv34.c.

Referenced by rv34_pred_mv().

◆ avail_indexes

const uint8_t avail_indexes[4] = { 6, 7, 10, 11 }
static

availability index for subblocks

Definition at line 464 of file rv34.c.

Referenced by rv34_pred_mv(), and rv34_pred_mv_rv3().

◆ chroma_coeffs

const int chroma_coeffs[3] = { 0, 3, 5 }
static

Definition at line 655 of file rv34.c.

Referenced by rv34_mc().

◆ num_mvs

const int num_mvs[RV34_MB_TYPES] = { 0, 0, 1, 4, 1, 1, 0, 0, 2, 2, 2, 1 }
static

number of motion vectors in each macroblock type

Definition at line 859 of file rv34.c.

Referenced by rv34_decode_mv(), and tgv_decode_inter().

◆ ittrans

const int ittrans[9]
static
Initial value:

mapping of RV30/40 intra prediction types to standard H.264 types

Definition at line 966 of file rv34.c.

Referenced by rv34_output_intra().

◆ ittrans16

const int ittrans16[4]
static
Initial value:

mapping of RV30/40 intra 16x16 prediction types to standard H.264 types

Definition at line 972 of file rv34.c.

Referenced by rv34_output_i16x16().

HOR_PRED8x8
#define HOR_PRED8x8
Definition: h264pred.h:69
MB_TYPE_L0
#define MB_TYPE_L0
Definition: mpegutils.h:60
DC_PRED8x8
#define DC_PRED8x8
Definition: h264pred.h:68
MB_TYPE_16x8
#define MB_TYPE_16x8
Definition: mpegutils.h:48
DC_PRED
@ DC_PRED
Definition: vp9.h:48
VERT_LEFT_PRED
@ VERT_LEFT_PRED
Definition: vp9.h:53
MB_TYPE_16x16
#define MB_TYPE_16x16
Definition: mpegutils.h:47
MB_TYPE_L1
#define MB_TYPE_L1
Definition: mpegutils.h:61
MB_TYPE_INTRA16x16
#define MB_TYPE_INTRA16x16
Definition: mpegutils.h:45
VERT_PRED
@ VERT_PRED
Definition: vp9.h:46
DIAG_DOWN_RIGHT_PRED
@ DIAG_DOWN_RIGHT_PRED
Definition: vp9.h:50
HOR_PRED
@ HOR_PRED
Definition: vp9.h:47
MB_TYPE_8x16
#define MB_TYPE_8x16
Definition: mpegutils.h:49
MB_TYPE_8x8
#define MB_TYPE_8x8
Definition: mpegutils.h:50
VERT_PRED8x8
#define VERT_PRED8x8
Definition: h264pred.h:70
VERT_RIGHT_PRED
@ VERT_RIGHT_PRED
Definition: vp9.h:51
MB_TYPE_SKIP
#define MB_TYPE_SKIP
Definition: mpegutils.h:55
PLANE_PRED8x8
#define PLANE_PRED8x8
Definition: h264pred.h:71
MB_TYPE_L0L1
#define MB_TYPE_L0L1
Definition: mpegutils.h:62
HOR_UP_PRED
@ HOR_UP_PRED
Definition: vp9.h:54
HOR_DOWN_PRED
@ HOR_DOWN_PRED
Definition: vp9.h:52
MB_TYPE_SEPARATE_DC
#define MB_TYPE_SEPARATE_DC
Definition: rv34.h:38
DIAG_DOWN_LEFT_PRED
@ DIAG_DOWN_LEFT_PRED
Definition: vp9.h:49
MB_TYPE_DIRECT2
#define MB_TYPE_DIRECT2
Definition: mpegutils.h:52
MB_TYPE_INTRA
#define MB_TYPE_INTRA
Definition: mpegutils.h:66