Changeset 414 in 3DVCSoftware for branches/HTM-6.2-dev3-RWTH-Fix
- Timestamp:
- 17 May 2013, 14:17:35 (12 years ago)
- Location:
- branches/HTM-6.2-dev3-RWTH-Fix/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev3-RWTH-Fix/source/Lib/TLibCommon/ContextTables.h
r406 r414 138 138 #define SDC_NUM_SIGN_FLAG_CTX 1 139 139 #endif 140 #if LGE_CONCATENATE 140 #if LGE_CONCATENATE_D0141 141 141 #define SDC_NUM_RESIDUAL_CTX 1 142 142 #else … … 581 581 }; 582 582 583 #if LGE_CONCATENATE 583 #if LGE_CONCATENATE_D0141 584 584 static const UChar INIT_SDC_RESIDUAL[3][SDC_NUM_RESIDUAL_CTX] = 585 585 { -
branches/HTM-6.2-dev3-RWTH-Fix/source/Lib/TLibCommon/TypeDef.h
r406 r414 74 74 #define INTEL_SDC64_D0193 1 // JCT3V-D0193: SDC binary clean up (use a 1 bit binary code to signal sdc_pred_mode when CU size is 64x64) 75 75 #define RWTH_SDC_CTX_SIMPL_D0032 1 // JCT3V-D0032: CABAC Context Reduction for Simplified Depth Coding 76 #define LGE_CONCATENATE 1 // JCT3V-D0141: concatenate binarization for residual index coding76 #define LGE_CONCATENATE_D0141 1 // JCT3V-D0141: concatenate binarization for residual index coding 77 77 #endif 78 78 #define FIX_SDC_ENC_RD_WVSO_D0163 1 // JCT3V-D0163: fix for SDC encoder rd-cost (VSO -> WVSO) -
branches/HTM-6.2-dev3-RWTH-Fix/source/Lib/TLibDecoder/TDecSbac.cpp
r406 r414 41 41 #define GetNumDepthValues() (pcCU->getSlice()->getSPS()->getNumDepthValues()) 42 42 #define GetBitsPerDepthValue() (pcCU->getSlice()->getSPS()->getBitsPerDepthValue()) 43 #if LGE_CONCATENATE 43 #if LGE_CONCATENATE_D0141 44 44 #define PrefixThreshold ( ((GetNumDepthValues() * 3) >> 2) ) 45 45 #define BitsPerSuffix ( (UInt)ceil( Log2(GetNumDepthValues() - PrefixThreshold) ) ) … … 2677 2677 2678 2678 // decode residual magnitude 2679 #if LGE_CONCATENATE 2679 #if LGE_CONCATENATE_D0141 2680 2680 //prefix part 2681 2681 UInt uiCount = 0; -
branches/HTM-6.2-dev3-RWTH-Fix/source/Lib/TLibEncoder/TEncSbac.cpp
r406 r414 45 45 #define GetNumDepthValues() (pcCU->getSlice()->getSPS()->getNumDepthValues()) 46 46 #define GetBitsPerDepthValue() (pcCU->getSlice()->getSPS()->getBitsPerDepthValue()) 47 #if LGE_CONCATENATE 47 #if LGE_CONCATENATE_D0141 48 48 #define PrefixThreshold ( ((GetNumDepthValues() * 3) >> 2) ) 49 49 #define BitsPerSuffix ( (UInt)ceil( Log2(GetNumDepthValues() - PrefixThreshold) ) ) … … 2653 2653 UInt uiSign = segmentDCOffset < 0 ? 1 : 0; 2654 2654 UInt uiAbsIdx = abs(segmentDCOffset); 2655 #if !LGE_CONCATENATE 2655 #if !LGE_CONCATENATE_D0141 2656 2656 UInt uiBit = 0; 2657 2657 #endif … … 2680 2680 // encode residual magnitude 2681 2681 uiAbsIdx -= 1; 2682 #if LGE_CONCATENATE 2682 #if LGE_CONCATENATE_D0141 2683 2683 //prefix part 2684 2684 if ( uiAbsIdx == 0 )
Note: See TracChangeset for help on using the changeset viewer.