FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
vp9.h File Reference
#include <stdint.h>
#include "thread.h"
#include "vp56.h"

Go to the source code of this file.

Data Structures

struct  VP9mvrefPair
 
struct  VP9Frame
 
struct  VP9BitstreamHeader
 
struct  VP9SharedContext
 

Macros

#define MAX_SEGMENT   8
 
#define CUR_FRAME   0
 
#define REF_FRAME_MVPAIR   1
 
#define REF_FRAME_SEGMAP   2
 

Enumerations

enum  BlockLevel { BL_64X64, BL_32X32, BL_16X16, BL_8X8 }
 
enum  BlockPartition { PARTITION_NONE, PARTITION_H, PARTITION_V, PARTITION_SPLIT }
 
enum  BlockSize {
  BS_64x64, BS_64x32, BS_32x64, BS_32x32,
  BS_32x16, BS_16x32, BS_16x16, BS_16x8,
  BS_8x16, BS_8x8, BS_8x4, BS_4x8,
  BS_4x4, N_BS_SIZES
}
 
enum  TxfmMode {
  TX_4X4, TX_8X8, TX_16X16, TX_32X32,
  N_TXFM_SIZES, TX_SWITCHABLE = N_TXFM_SIZES, N_TXFM_MODES
}
 
enum  TxfmType {
  DCT_DCT, DCT_ADST, ADST_DCT, ADST_ADST,
  N_TXFM_TYPES
}
 
enum  IntraPredMode {
  INTRA_PLANAR = 0, INTRA_DC, INTRA_ANGULAR_2, INTRA_ANGULAR_3,
  INTRA_ANGULAR_4, INTRA_ANGULAR_5, INTRA_ANGULAR_6, INTRA_ANGULAR_7,
  INTRA_ANGULAR_8, INTRA_ANGULAR_9, INTRA_ANGULAR_10, INTRA_ANGULAR_11,
  INTRA_ANGULAR_12, INTRA_ANGULAR_13, INTRA_ANGULAR_14, INTRA_ANGULAR_15,
  INTRA_ANGULAR_16, INTRA_ANGULAR_17, INTRA_ANGULAR_18, INTRA_ANGULAR_19,
  INTRA_ANGULAR_20, INTRA_ANGULAR_21, INTRA_ANGULAR_22, INTRA_ANGULAR_23,
  INTRA_ANGULAR_24, INTRA_ANGULAR_25, INTRA_ANGULAR_26, INTRA_ANGULAR_27,
  INTRA_ANGULAR_28, INTRA_ANGULAR_29, INTRA_ANGULAR_30, INTRA_ANGULAR_31,
  INTRA_ANGULAR_32, INTRA_ANGULAR_33, INTRA_ANGULAR_34, VERT_PRED,
  HOR_PRED, DC_PRED, DIAG_DOWN_LEFT_PRED, DIAG_DOWN_RIGHT_PRED,
  VERT_RIGHT_PRED, HOR_DOWN_PRED, VERT_LEFT_PRED, HOR_UP_PRED,
  TM_VP8_PRED, LEFT_DC_PRED, TOP_DC_PRED, DC_128_PRED,
  DC_127_PRED, DC_129_PRED, N_INTRA_PRED_MODES
}
 
enum  InterPredMode { NEARESTMV = 10, NEARMV = 11, ZEROMV = 12, NEWMV = 13 }
 
enum  FilterMode {
  FILTER_8TAP_SMOOTH, FILTER_8TAP_REGULAR, FILTER_8TAP_SHARP, FILTER_BILINEAR,
  FILTER_SWITCHABLE, MODE_WIRES, MODE_COLORMIX, NB_MODE,
  MODE_NONE, MODE_INTERLEAVE, MODE_DEINTERLEAVE, FILTER_NONE = -1,
  FILTER_TOUT, FILTER_VREP, FILTER_BRNG, FILT_NUMB
}
 
enum  CompPredMode { PRED_SINGLEREF, PRED_COMPREF, PRED_SWITCHABLE }
 

Macro Definition Documentation

#define MAX_SEGMENT   8

Definition at line 170 of file vp9.h.

#define CUR_FRAME   0
#define REF_FRAME_MVPAIR   1

Definition at line 206 of file vp9.h.

Referenced by find_ref_mvs(), and vp9_decode_frame().

#define REF_FRAME_SEGMAP   2

Definition at line 207 of file vp9.h.

Referenced by decode_mode(), and vp9_decode_frame().

Enumeration Type Documentation

enum BlockLevel
Enumerator
BL_64X64 
BL_32X32 
BL_16X16 
BL_8X8 

Definition at line 32 of file vp9.h.

Enumerator
PARTITION_NONE 
PARTITION_H 
PARTITION_V 
PARTITION_SPLIT 

Definition at line 39 of file vp9.h.

enum BlockSize
Enumerator
BS_64x64 
BS_64x32 
BS_32x64 
BS_32x32 
BS_32x16 
BS_16x32 
BS_16x16 
BS_16x8 
BS_8x16 
BS_8x8 
BS_8x4 
BS_4x8 
BS_4x4 
N_BS_SIZES 

Definition at line 46 of file vp9.h.

enum TxfmMode
Enumerator
TX_4X4 
TX_8X8 
TX_16X16 
TX_32X32 
N_TXFM_SIZES 
TX_SWITCHABLE 
N_TXFM_MODES 

Definition at line 63 of file vp9.h.

enum TxfmType
Enumerator
DCT_DCT 
DCT_ADST 
ADST_DCT 
ADST_ADST 
N_TXFM_TYPES 

Definition at line 73 of file vp9.h.

Enumerator
INTRA_PLANAR 
INTRA_DC 
INTRA_ANGULAR_2 
INTRA_ANGULAR_3 
INTRA_ANGULAR_4 
INTRA_ANGULAR_5 
INTRA_ANGULAR_6 
INTRA_ANGULAR_7 
INTRA_ANGULAR_8 
INTRA_ANGULAR_9 
INTRA_ANGULAR_10 
INTRA_ANGULAR_11 
INTRA_ANGULAR_12 
INTRA_ANGULAR_13 
INTRA_ANGULAR_14 
INTRA_ANGULAR_15 
INTRA_ANGULAR_16 
INTRA_ANGULAR_17 
INTRA_ANGULAR_18 
INTRA_ANGULAR_19 
INTRA_ANGULAR_20 
INTRA_ANGULAR_21 
INTRA_ANGULAR_22 
INTRA_ANGULAR_23 
INTRA_ANGULAR_24 
INTRA_ANGULAR_25 
INTRA_ANGULAR_26 
INTRA_ANGULAR_27 
INTRA_ANGULAR_28 
INTRA_ANGULAR_29 
INTRA_ANGULAR_30 
INTRA_ANGULAR_31 
INTRA_ANGULAR_32 
INTRA_ANGULAR_33 
INTRA_ANGULAR_34 
VERT_PRED 
HOR_PRED 
DC_PRED 
DIAG_DOWN_LEFT_PRED 
DIAG_DOWN_RIGHT_PRED 
VERT_RIGHT_PRED 
HOR_DOWN_PRED 
VERT_LEFT_PRED 
HOR_UP_PRED 
TM_VP8_PRED 
LEFT_DC_PRED 
TOP_DC_PRED 
DC_128_PRED 
DC_127_PRED 
DC_129_PRED 
N_INTRA_PRED_MODES 

Definition at line 81 of file vp9.h.

Enumerator
NEARESTMV 
NEARMV 
ZEROMV 
NEWMV 

Definition at line 100 of file vp9.h.

enum FilterMode
Enumerator
FILTER_8TAP_SMOOTH 
FILTER_8TAP_REGULAR 
FILTER_8TAP_SHARP 
FILTER_BILINEAR 
FILTER_SWITCHABLE 
MODE_WIRES 
MODE_COLORMIX 
NB_MODE 
MODE_NONE 
MODE_INTERLEAVE 
MODE_DEINTERLEAVE 
FILTER_NONE 
FILTER_TOUT 
FILTER_VREP 
FILTER_BRNG 
FILT_NUMB 

Definition at line 107 of file vp9.h.

Enumerator
PRED_SINGLEREF 
PRED_COMPREF 
PRED_SWITCHABLE 

Definition at line 115 of file vp9.h.