Changeset 557 in 3DVCSoftware for branches/HTM-DEV-2.0-dev3-LG/source/Lib
- Timestamp:
- 9 Aug 2013, 03:37:18 (11 years ago)
- Location:
- branches/HTM-DEV-2.0-dev3-LG/source/Lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibCommon/TComDataCU.cpp
r554 r557 2489 2489 // check prediction mode 2490 2490 UInt uiLumaPredMode = getLumaIntraDir( uiAbsPartIdx ); 2491 #if LGE_SDC_REMOVE_DC_E0158 2492 if( uiLumaPredMode == PLANAR_IDX || ( getDimType( uiLumaPredMode ) == DMM1_IDX && !isDimDeltaDC( uiLumaPredMode ) ) ) 2493 #else 2491 2494 if( uiLumaPredMode == DC_IDX || uiLumaPredMode == PLANAR_IDX || ( getDimType( uiLumaPredMode ) == DMM1_IDX && !isDimDeltaDC( uiLumaPredMode ) ) ) 2495 #endif 2492 2496 return true; 2493 2497 -
branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibCommon/TComRom.cpp
r531 r557 347 347 { //2x2 4x4 8x8 16x16 32x32 64x64 348 348 0, 7, 10, 11, 11, 13 }; 349 #if LGE_PKU_DMM3_OVERLAP_E0159 350 const UChar g_dmm3IntraTabIdxBits[6] = 351 { //2x2 4x4 8x8 16x16 32x32 64x64 352 0, 4, 7, 8, 8, 0 }; 353 #else 349 354 const UChar g_dmm3IntraTabIdxBits[6] = 350 355 { //2x2 4x4 8x8 16x16 32x32 64x64 351 356 0, 6, 9, 9, 9, 0 }; 357 #endif 352 358 353 359 extern std::vector< std::vector<TComWedgelet> > g_dmmWedgeLists; -
branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibCommon/TypeDef.h
r554 r557 179 179 // HHI_DEPTH_INTRA_SEARCH_RAU_C0160 180 180 // LG_ZEROINTRADEPTHRESI_A0087 181 #if H_3D_DIM_SDC 182 #define LGE_SDC_REMOVE_DC_E0158 1 // Removal of DC mode from SDC 183 #endif 184 #if H_3D_DIM_DMM 185 #define LGE_PKU_DMM3_OVERLAP_E0159 1 // Removal of overlap between DMM3 and DMM1 186 #endif 181 187 #endif 182 188 -
branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibDecoder/TDecSbac.cpp
r554 r557 1222 1222 if( puIdx == 2 ) 1223 1223 { 1224 #if !LGE_SDC_REMOVE_DC_E0158 1224 1225 while( binNum < 2 && symbol ) 1226 #endif 1225 1227 { 1226 1228 ctxDepthMode = puIdx*3 + binNum; … … 1230 1232 } 1231 1233 if( modeCode == 0 ) { dir = PLANAR_IDX; sdcFlag = 1;} 1234 #if LGE_SDC_REMOVE_DC_E0158 1235 else if( modeCode == 1 ) { dir = 0; sdcFlag = 0;} 1236 #else 1232 1237 else if( modeCode == 2 ) { dir = 0; sdcFlag = 0;} 1233 1238 else if( modeCode == 3 ) { dir = DC_IDX; sdcFlag = 1;} 1239 #endif 1234 1240 } 1235 1241 else if( puIdx == 0 ) … … 1278 1284 { 1279 1285 binNum = 0; 1286 #if LGE_SDC_REMOVE_DC_E0158 1287 #if !SEC_DMM2_E0146 1288 while( symbol && binNum < 2 ) 1289 #endif 1290 #else 1280 1291 #if SEC_DMM2_E0146 1281 1292 while( symbol && binNum < 2 ) 1282 1293 #else 1283 1294 while( symbol && binNum < 3 ) 1295 #endif 1284 1296 #endif 1285 1297 { … … 1297 1309 else if( modeCode == 5 ) { dir = (2*DMM4_IDX+DIM_OFFSET); sdcFlag = 0;} 1298 1310 else if( modeCode == 6 ) { dir = (2*DMM3_IDX+DIM_OFFSET); sdcFlag = 0;} 1311 #if LGE_SDC_REMOVE_DC_E0158 1312 #if SEC_DMM2_E0146 1313 else if( modeCode == 7 ) { dir = (2* RBC_IDX+DIM_OFFSET); sdcFlag = 0;} 1314 #else 1315 else if( modeCode == 14 ) { dir = (2* RBC_IDX+DIM_OFFSET); sdcFlag = 0;} 1316 else if( modeCode == 15 ) { dir = (2*DMM2_IDX+DIM_OFFSET); sdcFlag = 0;} 1317 #endif 1318 #else 1299 1319 else if( modeCode == 14 ) { dir = DC_IDX; sdcFlag = 1;} 1300 1320 #if SEC_DMM2_E0146 … … 1303 1323 else if( modeCode == 30 ) { dir = (2* RBC_IDX+DIM_OFFSET); sdcFlag = 0;} 1304 1324 else if( modeCode == 31 ) { dir = (2*DMM2_IDX+DIM_OFFSET); sdcFlag = 0;} 1325 #endif 1305 1326 #endif 1306 1327 } -
branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder/TEncSbac.cpp
r554 r557 1261 1261 Void TEncSbac::codeIntraDepthMode( TComDataCU* pcCU, UInt absPartIdx ) 1262 1262 { 1263 #if LGE_SDC_REMOVE_DC_E0158 1264 #if SEC_DMM2_E0146 1265 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}}; 1266 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}}; 1267 #else 1268 UInt codeWordTable[3][8] = { { 0, 0, 0, 2, 0, 6, 0, 7 }, { 0, 2, 3, 4, 5, 6, 15, 14 }, { 0, 1, 0, 0, 0, 0, 0, 0 } }; 1269 UInt codeWordLenTable[3][8] = { { 0, 1, 0, 2, 0, 3, 0, 3 }, { 2, 3, 3, 3, 3, 3, 4, 4 }, { 1, 1, 0, 0, 0, 0, 0, 0 } }; 1270 #endif 1271 #else 1263 1272 #if SEC_DMM2_E0146 1264 1273 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}}; … … 1268 1277 UInt codeWordLenTable[3][9] = {{0, 1, 0, 2, 0,3, 0, 0, 3},{2, 3, 3, 3, 3, 3, 4, 5, 5},{1, 2, 0, 0, 0, 0, 2, 0, 0}}; 1269 1278 #endif 1279 #endif 1270 1280 UInt dir = pcCU->getLumaIntraDir( absPartIdx ); 1271 1281 UInt puIdx = (pcCU->getWidth(absPartIdx) == 64) ? 2 : ( (pcCU->getPartitionSize(absPartIdx) == SIZE_NxN && pcCU->getWidth(absPartIdx) == 8) ? 0 : 1 ); … … 1283 1293 case DMM4_IDX: codeIdx = 4; break; 1284 1294 case DMM3_IDX: codeIdx = 5; break; 1295 #if LGE_SDC_REMOVE_DC_E0158 1296 #if SEC_DMM2_E0146 1297 case RBC_IDX: codeIdx = 6; break; 1298 #else 1299 case DMM2_IDX: codeIdx = 6; break; 1300 case RBC_IDX: codeIdx = 7; break; 1301 #endif 1302 #else 1285 1303 #if SEC_DMM2_E0146 1286 1304 case RBC_IDX: codeIdx = 7; break; … … 1289 1307 case RBC_IDX: codeIdx = 8; break; 1290 1308 #endif 1309 #endif 1291 1310 default: break; 1292 1311 } … … 1299 1318 { 1300 1319 case PLANAR_IDX: codeIdx = 0; break; 1320 #if !LGE_SDC_REMOVE_DC_E0158 1301 1321 case DC_IDX: codeIdx = 6; break; 1322 #endif 1302 1323 default: codeIdx = 2; break; 1303 1324 } -
branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder/TEncSearch.cpp
r554 r557 2864 2864 case( DMM3_IDX ): 2865 2865 { 2866 #if LGE_PKU_DMM3_OVERLAP_E0159 2867 TComPic* pcPicTex = pcCU->getSlice()->getTexturePic(); 2868 TComDataCU* pcColTexCU = pcPicTex->getCU( pcCU->getAddr() ); 2869 UInt uiTexPartIdx = pcCU->getZorderIdxInCU() + uiPartOffset; 2870 Int uiColTexIntraDir = pcColTexCU->isIntra( uiTexPartIdx ) ? pcColTexCU->getLumaIntraDir( uiTexPartIdx ) : 255; 2871 2872 if( uiColTexIntraDir > DC_IDX && uiColTexIntraDir < 35 ) 2873 { 2874 #endif 2866 2875 UInt uiIntraTabIdx = 0; 2867 2876 xSearchDmm3Wedge( pcCU, uiPartOffset, piOrg, uiStride, uiWidth, uiHeight, uiTabIdx, uiIntraTabIdx ); … … 2869 2878 pcCU->setDmm3IntraTabIdxSubParts( uiIntraTabIdx, uiPartOffset, uiDepth + uiInitTrDepth ); 2870 2879 biSegmentation = &(g_dmmWedgeLists[(g_aucConvertToBit[uiWidth])][uiTabIdx]); 2880 #if LGE_PKU_DMM3_OVERLAP_E0159 2881 } 2882 #endif 2871 2883 } break; 2872 2884 case( DMM4_IDX ):
Note: See TracChangeset for help on using the changeset viewer.