Changeset 593 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon/TComRom.cpp
- Timestamp:
- 2 Feb 2014, 04:51:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComRom.cpp
r549 r593 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 3, ITU/ISO/IEC6 * Copyright (c) 2010-2014, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 86 86 // Data structure related table & variable 87 87 // ==================================================================================================================== 88 #if LAYER_CTB 89 UInt g_auiLayerMaxCUWidth[MAX_LAYERS]; 90 UInt g_auiLayerMaxCUHeight[MAX_LAYERS]; 91 UInt g_auiLayerMaxCUDepth[MAX_LAYERS]; 92 UInt g_auiLayerAddCUDepth[MAX_LAYERS]; 93 UInt g_auiLayerZscanToRaster[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 94 UInt g_auiLayerRasterToZscan[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 95 UInt g_auiLayerRasterToPelX[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 96 UInt g_auiLayerRasterToPelY[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 97 #endif 88 98 89 UInt g_uiMaxCUWidth = MAX_CU_SIZE; 99 90 UInt g_uiMaxCUHeight = MAX_CU_SIZE; … … 106 97 107 98 UInt g_auiPUOffset[8] = { 0, 8, 4, 4, 2, 10, 1, 5}; 108 109 #if FAST_INTRA_SHVC110 UInt g_reducedSetIntraModes[NUM_INTRA_MODE-1] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 };111 UInt g_predefSetIntraModes[NUM_INTRA_MODE-1] = {26,10,18,34,2,22,14,30,6,24,12,28,8,20,16,32,4,17,19,15,21,13,23,11,25,9,27,7,29,5,31,3,33,0,2};112 #endif113 99 114 100 Void initZscanToRaster ( Int iMaxDepth, Int iDepth, UInt uiStartVal, UInt*& rpuiCurrIdx ) … … 321 307 UInt g_uiPCMBitDepthLuma = 8; // PCM bit-depth 322 308 UInt g_uiPCMBitDepthChroma = 8; // PCM bit-depth 323 #if O0194_DIFFERENT_BITDEPTH_EL_BL 324 Int g_bitDepthYLayer[MAX_LAYERS]; 325 Int g_bitDepthCLayer[MAX_LAYERS]; 326 327 UInt g_uiPCMBitDepthLumaDec[MAX_LAYERS]; // PCM bit-depth 328 UInt g_uiPCMBitDepthChromaDec[MAX_LAYERS]; // PCM bit-depth 329 #endif 330 #if O0194_WEIGHTED_PREDICTION_CGS 331 void * g_refWeightACDCParam; // type=wpACDCParam 332 #endif 309 333 310 // ==================================================================================================================== 334 311 // Misc. … … 528 505 529 506 #if SVC_EXTENSION 507 #if FAST_INTRA_SHVC 508 UInt g_reducedSetIntraModes[NUM_INTRA_MODE-1] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; 509 UInt g_predefSetIntraModes[NUM_INTRA_MODE-1] = {26,10,18,34,2,22,14,30,6,24,12,28,8,20,16,32,4,17,19,15,21,13,23,11,25,9,27,7,29,5,31,3,33,0,2}; 510 #endif 511 #if O0194_DIFFERENT_BITDEPTH_EL_BL 512 Int g_bitDepthYLayer[MAX_LAYERS]; 513 Int g_bitDepthCLayer[MAX_LAYERS]; 514 515 UInt g_uiPCMBitDepthLumaDec[MAX_LAYERS]; // PCM bit-depth 516 UInt g_uiPCMBitDepthChromaDec[MAX_LAYERS]; // PCM bit-depth 517 #endif 518 #if O0194_WEIGHTED_PREDICTION_CGS 519 void * g_refWeightACDCParam; // type=wpACDCParam 520 #endif 530 521 Int g_mvScalingFactor [MAX_LAYERS][2] = {{0,0}, {0,0}}; 531 522 Int g_posScalingFactor [MAX_LAYERS][2] = {{0,0}, {0,0}}; … … 571 562 }; 572 563 } 564 #if LAYER_CTB 565 UInt g_auiLayerMaxCUWidth[MAX_LAYERS]; 566 UInt g_auiLayerMaxCUHeight[MAX_LAYERS]; 567 UInt g_auiLayerMaxCUDepth[MAX_LAYERS]; 568 UInt g_auiLayerAddCUDepth[MAX_LAYERS]; 569 UInt g_auiLayerZscanToRaster[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 570 UInt g_auiLayerRasterToZscan[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 571 UInt g_auiLayerRasterToPelX[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 572 UInt g_auiLayerRasterToPelY[MAX_LAYERS][ MAX_NUM_SPU_W*MAX_NUM_SPU_W ]; 573 573 #endif 574 #endif //SVC_EXTENSION 574 575 575 576 //! \}
Note: See TracChangeset for help on using the changeset viewer.