Changeset 557 in 3DVCSoftware for branches/HTM-DEV-2.0-dev3-LG/source/Lib/TLibEncoder/TEncSbac.cpp
- Timestamp:
- 9 Aug 2013, 03:37:18 (11 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset for help on using the changeset viewer.