XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
h264bsd_macroblock_layer.h File Reference
#include "basetype.h"
#include "h264bsd_stream.h"
#include "h264bsd_image.h"
#include "h264bsd_dpb.h"
Include dependency graph for h264bsd_macroblock_layer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mv_t
 
struct  mbPred_t
 
struct  subMbPred_t
 
struct  residual_t
 
struct  macroblockLayer_t
 
struct  mbStorage
 

Macros

#define IS_INTRA_MB(a)   ((a).mbType > 5)
 
#define IS_I_PCM_MB(a)   ((a).mbType == 31)
 

Typedefs

typedef struct mbStorage mbStorage_t
 

Enumerations

enum  mbType_e {
  P_Skip = 0 , P_L0_16x16 = 1 , P_L0_L0_16x8 = 2 , P_L0_L0_8x16 = 3 ,
  P_8x8 = 4 , P_8x8ref0 = 5 , I_4x4 = 6 , I_16x16_0_0_0 = 7 ,
  I_16x16_1_0_0 = 8 , I_16x16_2_0_0 = 9 , I_16x16_3_0_0 = 10 , I_16x16_0_1_0 = 11 ,
  I_16x16_1_1_0 = 12 , I_16x16_2_1_0 = 13 , I_16x16_3_1_0 = 14 , I_16x16_0_2_0 = 15 ,
  I_16x16_1_2_0 = 16 , I_16x16_2_2_0 = 17 , I_16x16_3_2_0 = 18 , I_16x16_0_0_1 = 19 ,
  I_16x16_1_0_1 = 20 , I_16x16_2_0_1 = 21 , I_16x16_3_0_1 = 22 , I_16x16_0_1_1 = 23 ,
  I_16x16_1_1_1 = 24 , I_16x16_2_1_1 = 25 , I_16x16_3_1_1 = 26 , I_16x16_0_2_1 = 27 ,
  I_16x16_1_2_1 = 28 , I_16x16_2_2_1 = 29 , I_16x16_3_2_1 = 30 , I_PCM = 31
}
 
enum  subMbType_e { P_L0_8x8 = 0 , P_L0_8x4 = 1 , P_L0_4x8 = 2 , P_L0_4x4 = 3 }
 
enum  mbPartMode_e { MB_P_16x16 = 0 , MB_P_16x8 , MB_P_8x16 , MB_P_8x8 }
 
enum  subMbPartMode_e { MB_SP_8x8 = 0 , MB_SP_8x4 , MB_SP_4x8 , MB_SP_4x4 }
 
enum  mbPartPredMode_e { PRED_MODE_INTRA4x4 = 0 , PRED_MODE_INTRA16x16 , PRED_MODE_INTER }
 

Functions

u32 h264bsdDecodeMacroblockLayer (strmData_t *pStrmData, macroblockLayer_t *pMbLayer, mbStorage_t *pMb, u32 sliceType, u32 numRefIdxActive)
 
u32 h264bsdNumMbPart (mbType_e mbType)
 
u32 h264bsdNumSubMbPart (subMbType_e subMbType)
 
subMbPartMode_e h264bsdSubMbPartMode (subMbType_e subMbType)
 
u32 h264bsdDecodeMacroblock (mbStorage_t *pMb, macroblockLayer_t *pMbLayer, image_t *currImage, dpbStorage_t *dpb, i32 *qpY, u32 mbNum, u32 constrainedIntraPredFlag, u8 *data)
 
u32 h264bsdPredModeIntra16x16 (mbType_e mbType)
 
mbPartPredMode_e h264bsdMbPartPredMode (mbType_e mbType)
 

Macro Definition Documentation

◆ IS_I_PCM_MB

#define IS_I_PCM_MB (   a)    ((a).mbType == 31)

◆ IS_INTRA_MB

#define IS_INTRA_MB (   a)    ((a).mbType > 5)

Typedef Documentation

◆ mbStorage_t

typedef struct mbStorage mbStorage_t

Enumeration Type Documentation

◆ mbPartMode_e

Enumerator
MB_P_16x16 
MB_P_16x8 
MB_P_8x16 
MB_P_8x8 

◆ mbPartPredMode_e

Enumerator
PRED_MODE_INTRA4x4 
PRED_MODE_INTRA16x16 
PRED_MODE_INTER 

◆ mbType_e

enum mbType_e
Enumerator
P_Skip 
P_L0_16x16 
P_L0_L0_16x8 
P_L0_L0_8x16 
P_8x8 
P_8x8ref0 
I_4x4 
I_16x16_0_0_0 
I_16x16_1_0_0 
I_16x16_2_0_0 
I_16x16_3_0_0 
I_16x16_0_1_0 
I_16x16_1_1_0 
I_16x16_2_1_0 
I_16x16_3_1_0 
I_16x16_0_2_0 
I_16x16_1_2_0 
I_16x16_2_2_0 
I_16x16_3_2_0 
I_16x16_0_0_1 
I_16x16_1_0_1 
I_16x16_2_0_1 
I_16x16_3_0_1 
I_16x16_0_1_1 
I_16x16_1_1_1 
I_16x16_2_1_1 
I_16x16_3_1_1 
I_16x16_0_2_1 
I_16x16_1_2_1 
I_16x16_2_2_1 
I_16x16_3_2_1 
I_PCM 

◆ subMbPartMode_e

Enumerator
MB_SP_8x8 
MB_SP_8x4 
MB_SP_4x8 
MB_SP_4x4 

◆ subMbType_e

Enumerator
P_L0_8x8 
P_L0_8x4 
P_L0_4x8 
P_L0_4x4 

Function Documentation

◆ h264bsdDecodeMacroblock()

u32 h264bsdDecodeMacroblock ( mbStorage_t *  pMb,
macroblockLayer_t *  pMbLayer,
image_t *  currImage,
dpbStorage_t *  dpb,
i32 *  qpY,
u32  mbNum,
u32  constrainedIntraPredFlag,
u8 *  data 
)

◆ h264bsdDecodeMacroblockLayer()

u32 h264bsdDecodeMacroblockLayer ( strmData_t *  pStrmData,
macroblockLayer_t *  pMbLayer,
mbStorage_t *  pMb,
u32  sliceType,
u32  numRefIdxActive 
)

◆ h264bsdMbPartPredMode()

mbPartPredMode_e h264bsdMbPartPredMode ( mbType_e  mbType)

◆ h264bsdNumMbPart()

u32 h264bsdNumMbPart ( mbType_e  mbType)

◆ h264bsdNumSubMbPart()

u32 h264bsdNumSubMbPart ( subMbType_e  subMbType)

◆ h264bsdPredModeIntra16x16()

u32 h264bsdPredModeIntra16x16 ( mbType_e  mbType)

◆ h264bsdSubMbPartMode()

subMbPartMode_e h264bsdSubMbPartMode ( subMbType_e  subMbType)