Changeset 557 in 3DVCSoftware for branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder
- Timestamp:
- 9 Aug 2013, 03:37:18 (11 years ago)
- Location:
- branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.