Changeset 612 in 3DVCSoftware for branches/HTM-8.0-dev0/source/Lib/TLibEncoder
- Timestamp:
- 3 Sep 2013, 17:46:48 (11 years ago)
- Location:
- branches/HTM-8.0-dev0/source/Lib/TLibEncoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.0-dev0/source/Lib/TLibEncoder/TEncSbac.cpp
r608 r612 95 95 #if H_3D_DIM_DMM 96 96 , m_cDmm1DataSCModel ( 1, 1, NUM_DMM1_DATA_CTX , m_contextModels + m_numContextModels, m_numContextModels) 97 #if !SEC_DMM2_E0146 97 #if !SEC_DMM2_E0146_HHIFIX 98 98 , m_cDmm2DataSCModel ( 1, 1, NUM_DMM2_DATA_CTX , m_contextModels + m_numContextModels, m_numContextModels) 99 99 #endif … … 177 177 #if H_3D_DIM_DMM 178 178 m_cDmm1DataSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DMM1_DATA ); 179 #if !SEC_DMM2_E0146 179 #if !SEC_DMM2_E0146_HHIFIX 180 180 m_cDmm2DataSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DMM2_DATA ); 181 181 #endif … … 268 268 #if H_3D_DIM_DMM 269 269 curCost += m_cDmm1DataSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DMM1_DATA ); 270 #if !SEC_DMM2_E0146 270 #if !SEC_DMM2_E0146_HHIFIX 271 271 curCost += m_cDmm2DataSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DMM2_DATA ); 272 272 #endif … … 340 340 #if H_3D_DIM_DMM 341 341 m_cDmm1DataSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DMM1_DATA ); 342 #if !SEC_DMM2_E0146 342 #if !SEC_DMM2_E0146_HHIFIX 343 343 m_cDmm2DataSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DMM2_DATA ); 344 344 #endif … … 549 549 } 550 550 551 #if !SEC_DMM2_E0146 551 #if !SEC_DMM2_E0146_HHIFIX 552 552 Void TEncSbac::xCodeDmm2Offset( Int iOffset ) 553 553 { … … 1226 1226 xCodeDmm1WedgeIdx( pcCU->getDmmWedgeTabIdx( dimType, absPartIdx ), g_dmm1TabIdxBits[pcCU->getIntraSizeIdx(absPartIdx)] ); 1227 1227 } break; 1228 #if !SEC_DMM2_E0146 1228 #if !SEC_DMM2_E0146_HHIFIX 1229 1229 case( DMM2_IDX ): 1230 1230 { … … 1285 1285 #else 1286 1286 #if LGE_SDC_REMOVE_DC_E0158 1287 #if SEC_DMM2_E0146 1287 #if SEC_DMM2_E0146_HHIFIX 1288 1288 UInt codeWordTable[3][7] = {{0, 0, 0, 2, 0,6, 7},{0, 2, 3, 4, 5, 6, 7},{0, 1, 0, 0, 0, 0, 0}}; 1289 1289 UInt codeWordLenTable[3][7] = {{0, 1, 0, 2, 0,3, 3},{2, 3, 3, 3, 3, 3, 3},{1, 1, 0, 0, 0, 0, 0}}; … … 1293 1293 #endif 1294 1294 #else 1295 #if SEC_DMM2_E0146 1295 #if SEC_DMM2_E0146_HHIFIX 1296 1296 UInt codeWordTable[3][8] = {{0, 0, 0, 2, 0,6, 0, 7},{0, 2, 3, 4, 5, 6, 14, 15},{0, 2, 0, 0, 0, 0, 3, 0}}; 1297 1297 UInt codeWordLenTable[3][8] = {{0, 1, 0, 2, 0,3, 0, 3},{2, 3, 3, 3, 3, 3, 4, 4},{1, 2, 0, 0, 0, 0, 2, 0}}; … … 1318 1318 case DMM3_IDX: codeIdx = 5; break; 1319 1319 #if LGE_SDC_REMOVE_DC_E0158 1320 #if SEC_DMM2_E0146 1320 #if SEC_DMM2_E0146_HHIFIX 1321 1321 case RBC_IDX: codeIdx = 6; break; 1322 1322 #else … … 1325 1325 #endif 1326 1326 #else 1327 #if SEC_DMM2_E0146 1327 #if SEC_DMM2_E0146_HHIFIX 1328 1328 case RBC_IDX: codeIdx = 7; break; 1329 1329 #else -
branches/HTM-8.0-dev0/source/Lib/TLibEncoder/TEncSbac.h
r608 r612 121 121 #if H_3D_DIM_DMM 122 122 Void xCodeDmm1WedgeIdx ( UInt uiTabIdx, Int iNumBit ); 123 #if !SEC_DMM2_E0146 123 #if !SEC_DMM2_E0146_HHIFIX 124 124 Void xCodeDmm2Offset ( Int iOffset ); 125 125 #endif … … 256 256 #if H_3D_DIM_DMM 257 257 ContextModel3DBuffer m_cDmm1DataSCModel; 258 #if !SEC_DMM2_E0146 258 #if !SEC_DMM2_E0146_HHIFIX 259 259 ContextModel3DBuffer m_cDmm2DataSCModel; 260 260 #endif -
branches/HTM-8.0-dev0/source/Lib/TLibEncoder/TEncSearch.cpp
r608 r612 2878 2878 biSegmentation = &(g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])][uiTabIdx]); 2879 2879 } break; 2880 #if !SEC_DMM2_E0146 2880 #if !SEC_DMM2_E0146_HHIFIX 2881 2881 case( DMM2_IDX ): 2882 2882 { … … 7361 7361 } 7362 7362 7363 #if !SEC_DMM2_E0146 7363 #if !SEC_DMM2_E0146_HHIFIX 7364 7364 Void TEncSearch::xSearchDmm2Wedge( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piRef, UInt uiRefStride, UInt uiWidth, UInt uiHeight, UInt& ruiTabIdx, Int& riWedgeDeltaEnd ) 7365 7365 { -
branches/HTM-8.0-dev0/source/Lib/TLibEncoder/TEncSearch.h
r608 r612 352 352 Void xSearchDmmDeltaDCs ( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piOrig, Pel* piPredic, UInt uiStride, Bool* biSegPattern, Int patternStride, UInt uiWidth, UInt uiHeight, Pel& rDeltaDC1, Pel& rDeltaDC2 ); 353 353 Void xSearchDmm1Wedge ( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piRef, UInt uiRefStride, UInt uiWidth, UInt uiHeight, UInt& ruiTabIdx ); 354 #if !SEC_DMM2_E0146 354 #if !SEC_DMM2_E0146_HHIFIX 355 355 Void xSearchDmm2Wedge ( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piRef, UInt uiRefStride, UInt uiWidth, UInt uiHeight, UInt& ruiTabIdx, Int& riWedgeDeltaEnd ); 356 356 #endif
Note: See TracChangeset for help on using the changeset viewer.