HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TComRom.h File Reference

global variables & functions (header) More...

#include "CommonDef.h"
#include <stdio.h>
#include <iostream>
Include dependency graph for TComRom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define DTRACE_CABAC_F(x)
 
#define DTRACE_CABAC_V(x)
 
#define DTRACE_CABAC_VL(x)
 
#define DTRACE_CABAC_T(x)
 
#define DTRACE_CABAC_X(x)
 
#define DTRACE_CABAC_R(x, y)
 
#define DTRACE_CABAC_N
 
UInt g_auiZscanToRaster [MAX_NUM_PART_IDXS_IN_CTU_WIDTH *MAX_NUM_PART_IDXS_IN_CTU_WIDTH]
 
UInt g_auiRasterToZscan [MAX_NUM_PART_IDXS_IN_CTU_WIDTH *MAX_NUM_PART_IDXS_IN_CTU_WIDTH]
 
UIntg_scanOrder [SCAN_NUMBER_OF_GROUP_TYPES][SCAN_NUMBER_OF_TYPES][MAX_CU_DEPTH][MAX_CU_DEPTH]
 
UInt g_auiRasterToPelX [MAX_NUM_PART_IDXS_IN_CTU_WIDTH *MAX_NUM_PART_IDXS_IN_CTU_WIDTH]
 
UInt g_auiRasterToPelY [MAX_NUM_PART_IDXS_IN_CTU_WIDTH *MAX_NUM_PART_IDXS_IN_CTU_WIDTH]
 
const UInt g_auiPUOffset [NUMBER_OF_PART_SIZES]
 
const Int g_quantScales [SCALING_LIST_REM_NUM]
 
const Int g_invQuantScales [SCALING_LIST_REM_NUM]
 
static const Int g_transformMatrixShift [TRANSFORM_NUMBER_OF_DIRECTIONS] = { 6, 6 }
 
const TMatrixCoeff g_aiT4 [TRANSFORM_NUMBER_OF_DIRECTIONS][4][4]
 
const TMatrixCoeff g_aiT8 [TRANSFORM_NUMBER_OF_DIRECTIONS][8][8]
 
const TMatrixCoeff g_aiT16 [TRANSFORM_NUMBER_OF_DIRECTIONS][16][16]
 
const TMatrixCoeff g_aiT32 [TRANSFORM_NUMBER_OF_DIRECTIONS][32][32]
 
static const Int chromaQPMappingTableSize = 58
 
const UChar g_aucChromaScale [NUM_CHROMA_FORMAT][chromaQPMappingTableSize]
 
const UInt ctxIndMap4x4 [4 *4]
 
const UInt g_uiGroupIdx [MAX_TU_SIZE]
 
const UInt g_uiMinInGroup [LAST_SIGNIFICANT_GROUPS]
 
const UChar g_aucIntraModeNumFast_UseMPM [MAX_CU_DEPTH]
 
const UChar g_aucIntraModeNumFast_NotUseMPM [MAX_CU_DEPTH]
 
const UChar g_chroma422IntraAngleMappingTable [NUM_INTRA_MODE]
 
const TMatrixCoeff g_as_DST_MAT_4 [TRANSFORM_NUMBER_OF_DIRECTIONS][4][4]
 
SChar g_aucConvertToBit [MAX_CU_SIZE+1]
 
const TCharMatrixType [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
 
const TCharMatrixType_DC [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
 
const Int g_quantTSDefault4x4 [4 *4]
 
const Int g_quantIntraDefault8x8 [8 *8]
 
const Int g_quantInterDefault8x8 [8 *8]
 
const UInt g_scalingListSize [SCALING_LIST_SIZE_NUM]
 
const UInt g_scalingListSizeX [SCALING_LIST_SIZE_NUM]
 
Void initROM ()
 
Void destroyROM ()
 
Void initZscanToRaster (Int iMaxDepth, Int iDepth, UInt uiStartVal, UInt *&rpuiCurrIdx)
 
Void initRasterToZscan (UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxDepth)
 
Void initRasterToPelXY (UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxDepth)
 
const TCharnalUnitTypeToString (NalUnitType type)
 

Detailed Description

global variables & functions (header)

Definition in file TComRom.h.

Macro Definition Documentation

#define DTRACE_CABAC_F (   x)

Definition at line 151 of file TComRom.h.

#define DTRACE_CABAC_N

Definition at line 157 of file TComRom.h.

#define DTRACE_CABAC_R (   x,
 
)

Definition at line 156 of file TComRom.h.

#define DTRACE_CABAC_T (   x)

Definition at line 154 of file TComRom.h.

#define DTRACE_CABAC_V (   x)

Definition at line 152 of file TComRom.h.

#define DTRACE_CABAC_VL (   x)

Definition at line 153 of file TComRom.h.

#define DTRACE_CABAC_X (   x)

Definition at line 155 of file TComRom.h.

Function Documentation

Void destroyROM ( )

Definition at line 263 of file TComRom.cpp.

Void initRasterToPelXY ( UInt  uiMaxCUWidth,
UInt  uiMaxCUHeight,
UInt  uiMaxDepth 
)

Definition at line 324 of file TComRom.cpp.

Void initRasterToZscan ( UInt  uiMaxCUWidth,
UInt  uiMaxCUHeight,
UInt  uiMaxDepth 
)

Definition at line 310 of file TComRom.cpp.

Void initZscanToRaster ( Int  iMaxDepth,
Int  iDepth,
UInt  uiStartVal,
UInt *&  rpuiCurrIdx 
)

Definition at line 291 of file TComRom.cpp.

Variable Documentation

const Int chromaQPMappingTableSize = 58
static

Definition at line 94 of file TComRom.h.

const UInt ctxIndMap4x4[4 *4]

Definition at line 589 of file TComRom.cpp.

Definition at line 501 of file TComRom.cpp.

Definition at line 507 of file TComRom.cpp.

Definition at line 489 of file TComRom.cpp.

Definition at line 495 of file TComRom.cpp.

const TMatrixCoeff g_as_DST_MAT_4[TRANSFORM_NUMBER_OF_DIRECTIONS][4][4]

Definition at line 513 of file TComRom.cpp.

Definition at line 532 of file TComRom.cpp.

SChar g_aucConvertToBit[MAX_CU_SIZE+1]

Definition at line 572 of file TComRom.cpp.

const UChar g_aucIntraModeNumFast_NotUseMPM[MAX_CU_DEPTH]

Definition at line 554 of file TComRom.cpp.

const UChar g_aucIntraModeNumFast_UseMPM[MAX_CU_DEPTH]

Definition at line 545 of file TComRom.cpp.

const UInt g_auiPUOffset[NUMBER_OF_PART_SIZES]

Definition at line 289 of file TComRom.cpp.

Definition at line 286 of file TComRom.cpp.

Definition at line 287 of file TComRom.cpp.

Definition at line 285 of file TComRom.cpp.

Definition at line 284 of file TComRom.cpp.

const UChar g_chroma422IntraAngleMappingTable[NUM_INTRA_MODE]

Definition at line 564 of file TComRom.cpp.

const Int g_invQuantScales[SCALING_LIST_REM_NUM]

Definition at line 359 of file TComRom.cpp.

const Int g_quantInterDefault8x8[8 *8]

Definition at line 680 of file TComRom.cpp.

const Int g_quantIntraDefault8x8[8 *8]

Definition at line 668 of file TComRom.cpp.

const Int g_quantScales[SCALING_LIST_REM_NUM]

Definition at line 354 of file TComRom.cpp.

const Int g_quantTSDefault4x4[4 *4]

Definition at line 660 of file TComRom.cpp.

const UInt g_scalingListSize[SCALING_LIST_SIZE_NUM]

Definition at line 692 of file TComRom.cpp.

const UInt g_scalingListSizeX[SCALING_LIST_SIZE_NUM]

Definition at line 693 of file TComRom.cpp.

Definition at line 587 of file TComRom.cpp.

const Int g_transformMatrixShift[TRANSFORM_NUMBER_OF_DIRECTIONS] = { 6, 6 }
static

Definition at line 82 of file TComRom.h.

const UInt g_uiGroupIdx[MAX_TU_SIZE]

Definition at line 598 of file TComRom.cpp.

const UInt g_uiMinInGroup[LAST_SIGNIFICANT_GROUPS]

Definition at line 597 of file TComRom.cpp.

Definition at line 600 of file TComRom.cpp.

Definition at line 636 of file TComRom.cpp.