79 #if RExt__HIGH_PRECISION_FORWARD_TRANSFORM
131 extern FILE* g_hTrace;
132 extern Bool g_bJustDoIt;
133 extern const Bool g_bEncDecTraceEnable;
134 extern const Bool g_bEncDecTraceDisable;
135 extern Bool g_HLSTraceEnable;
136 extern UInt64 g_nSymbolCounter;
138 #define COUNTER_START 1
139 #define COUNTER_END 0 //( UInt64(1) << 63 )
141 #define DTRACE_CABAC_F(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%f", x );
142 #define DTRACE_CABAC_V(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%d", x );
143 #define DTRACE_CABAC_VL(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%lld", x );
144 #define DTRACE_CABAC_T(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%s", x );
145 #define DTRACE_CABAC_X(x) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "%x", x );
146 #define DTRACE_CABAC_R( x,y ) if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, x, y );
147 #define DTRACE_CABAC_N if ( ( g_nSymbolCounter >= COUNTER_START && g_nSymbolCounter <= COUNTER_END )|| g_bJustDoIt ) fprintf( g_hTrace, "\n" );
151 #define DTRACE_CABAC_F(x)
152 #define DTRACE_CABAC_V(x)
153 #define DTRACE_CABAC_VL(x)
154 #define DTRACE_CABAC_T(x)
155 #define DTRACE_CABAC_X(x)
156 #define DTRACE_CABAC_R( x,y )
157 #define DTRACE_CABAC_N
SChar g_aucConvertToBit[MAX_CU_SIZE+1]
const Int g_quantScales[SCALING_LIST_REM_NUM]
const Int g_quantTSDefault4x4[4 *4]
static const Int SCALING_LIST_REM_NUM
static const Int SCALING_LIST_NUM
list number for quantization matrix
static const Int g_transformMatrixShift[TRANSFORM_NUMBER_OF_DIRECTIONS]
const TMatrixCoeff g_aiT16[TRANSFORM_NUMBER_OF_DIRECTIONS][16][16]
Defines version information, constants and small in-line functions.
const TChar * nalUnitTypeToString(NalUnitType type)
static const Int MAX_CU_DEPTH
log2(CTUSize)
static const Int MAX_TU_SIZE
const TMatrixCoeff g_aiT4[TRANSFORM_NUMBER_OF_DIRECTIONS][4][4]
const Int g_quantInterDefault8x8[8 *8]
Short TMatrixCoeff
transform matrix coefficient
const UInt g_auiPUOffset[NUMBER_OF_PART_SIZES]
Void initRasterToPelXY(UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxDepth)
const TChar * MatrixType[SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
Void initRasterToZscan(UInt uiMaxCUWidth, UInt uiMaxCUHeight, UInt uiMaxDepth)
UInt * g_scanOrder[SCAN_NUMBER_OF_GROUP_TYPES][SCAN_NUMBER_OF_TYPES][MAX_CU_DEPTH][MAX_CU_DEPTH]
const UChar g_aucIntraModeNumFast_UseMPM[MAX_CU_DEPTH]
const Int g_invQuantScales[SCALING_LIST_REM_NUM]
const UInt g_scalingListSize[SCALING_LIST_SIZE_NUM]
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]
const TMatrixCoeff g_aiT32[TRANSFORM_NUMBER_OF_DIRECTIONS][32][32]
static const Int NUM_INTRA_MODE
const UInt g_uiMinInGroup[LAST_SIGNIFICANT_GROUPS]
const TMatrixCoeff g_aiT8[TRANSFORM_NUMBER_OF_DIRECTIONS][8][8]
unsigned long long UInt64
const UChar g_chroma422IntraAngleMappingTable[NUM_INTRA_MODE]
const UInt g_uiGroupIdx[MAX_TU_SIZE]
const UInt ctxIndMap4x4[4 *4]
static const Int MAX_CU_SIZE
= 1<<(MAX_CU_DEPTH)
const TMatrixCoeff g_as_DST_MAT_4[TRANSFORM_NUMBER_OF_DIRECTIONS][4][4]
Void initZscanToRaster(Int iMaxDepth, Int iDepth, UInt uiStartVal, UInt *&rpuiCurrIdx)
const UInt g_scalingListSizeX[SCALING_LIST_SIZE_NUM]
static const Int chromaQPMappingTableSize
static const Int MAX_NUM_PART_IDXS_IN_CTU_WIDTH
maximum number of partition indices across the width of a CTU (or height of a CTU) ...
const TChar * MatrixType_DC[SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]
const UChar g_aucChromaScale[NUM_CHROMA_FORMAT][chromaQPMappingTableSize]
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 Int g_quantIntraDefault8x8[8 *8]
static const Int LAST_SIGNIFICANT_GROUPS
const UChar g_aucIntraModeNumFast_NotUseMPM[MAX_CU_DEPTH]