FFmpeg  4.0
Data Structures | Macros | Enumerations
vp9shared.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "vp9.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  BlockPartition { PARTITION_NONE, PARTITION_H, PARTITION_V, PARTITION_SPLIT }
 
enum  InterPredMode { NEARESTMV = 10, NEARMV = 11, ZEROMV = 12, NEWMV = 13 }
 
enum  CompPredMode { PRED_SINGLEREF, PRED_COMPREF, PRED_SWITCHABLE }
 
enum  BlockLevel { BL_64X64, BL_32X32, BL_16X16, BL_8X8 }
 
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
}
 

Macro Definition Documentation

◆ MAX_SEGMENT

#define MAX_SEGMENT   8

Definition at line 128 of file vp9shared.h.

◆ CUR_FRAME

#define CUR_FRAME   0

◆ REF_FRAME_MVPAIR

#define REF_FRAME_MVPAIR   1

Definition at line 164 of file vp9shared.h.

Referenced by find_ref_mvs(), and vp9_decode_frame().

◆ REF_FRAME_SEGMAP

#define REF_FRAME_SEGMAP   2

Definition at line 165 of file vp9shared.h.

Referenced by decode_mode(), and vp9_decode_frame().

Enumeration Type Documentation

◆ BlockPartition

Enumerator
PARTITION_NONE 
PARTITION_H 
PARTITION_V 
PARTITION_SPLIT 

Definition at line 34 of file vp9shared.h.

◆ InterPredMode

Enumerator
NEARESTMV 
NEARMV 
ZEROMV 
NEWMV 

Definition at line 41 of file vp9shared.h.

◆ CompPredMode

Enumerator
PRED_SINGLEREF 
PRED_COMPREF 
PRED_SWITCHABLE 

Definition at line 48 of file vp9shared.h.

◆ BlockLevel

enum BlockLevel
Enumerator
BL_64X64 
BL_32X32 
BL_16X16 
BL_8X8 

Definition at line 70 of file vp9shared.h.

◆ BlockSize

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 77 of file vp9shared.h.