Changeset 924 in 3DVCSoftware
- Timestamp:
- 17 Apr 2014, 13:54:45 (11 years ago)
- Location:
- branches/HTM-10.2-dev3-LGE/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.2-dev3-LGE/source/Lib/TLibCommon/ContextTables.h
r884 r924 110 110 #define NUM_DMM1_DATA_CTX 1 ///< number of context models for DMM1 data 111 111 #endif 112 #if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135 113 #define NUM_ANGLE_FLAG_CTX 1 114 #else 112 115 #define NUM_ANGLE_FLAG_CTX 3 116 #endif 113 117 #endif 114 118 … … 368 372 }; 369 373 374 #if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135 375 static const UChar 376 INIT_ANGLE_FLAG[3][NUM_ANGLE_FLAG_CTX] = 377 { 378 { 154 }, 379 { 141 }, 380 { 155 }, 381 }; 382 #else 370 383 static const UChar 371 384 INIT_ANGLE_FLAG[3][NUM_ANGLE_FLAG_CTX] = … … 375 388 { 155, 170, 157 }, 376 389 }; 390 #endif 377 391 378 392 static const UChar -
branches/HTM-10.2-dev3-LGE/source/Lib/TLibCommon/TComDataCU.cpp
r888 r924 2383 2383 UInt TComDataCU::getCtxAngleFlag( UInt uiAbsPartIdx ) 2384 2384 { 2385 #if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135 2386 return 0; 2387 #else 2385 2388 TComDataCU* pcTempCU; 2386 2389 UInt uiTempPartIdx; … … 2396 2399 2397 2400 return uiCtx; 2401 #endif 2398 2402 } 2399 2403 #endif -
branches/HTM-10.2-dev3-LGE/source/Lib/TLibCommon/TypeDef.h
r915 r924 273 273 #define H_3D_DIM_DLT 1 // Depth Lookup Table 274 274 275 #define LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135 1 // Use only one context for CABAC of dim_not_present_flag 275 276 #define QC_SIMP_DELTADC_CODING_H0131 1 // Simplify detaDC entropy coding 276 277 #if H_3D_DIM_DLT -
branches/HTM-10.2-dev3-LGE/source/Lib/TLibDecoder/TDecSbac.cpp
r914 r924 1135 1135 if( ( pcCU->getSlice()->getSPS()->getMaxCUWidth() >> pcCU->getDepth( absPartIdx ) ) < 64 ) //DMM and HEVC intra modes are both allowed 1136 1136 { 1137 #if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135 1138 m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, 0 ) ); 1139 #else 1137 1140 m_pcTDecBinIf->decodeBin( uiSymbol, m_cAngleFlagSCModel.get( 0, 0, pcCU->getCtxAngleFlag( absPartIdx ) ) ); 1141 #endif 1138 1142 } 1139 1143 else -
branches/HTM-10.2-dev3-LGE/source/Lib/TLibEncoder/TEncSbac.cpp
r914 r924 1243 1243 if( ( pcCU->getSlice()->getSPS()->getMaxCUWidth() >> pcCU->getDepth( absPartIdx ) ) < 64 ) //DMM and HEVC intra modes are both allowed 1244 1244 { 1245 #if LGE_SIMP_DIM_NOT_PRESENT_FLAG_CODING_H0119_H0135 1246 m_pcBinIf->encodeBin( isDimMode( dir ) ? 0 : 1, m_cAngleFlagSCModel.get( 0, 0, 0 ) ); 1247 #else 1245 1248 m_pcBinIf->encodeBin( isDimMode( dir ) ? 0 : 1, m_cAngleFlagSCModel.get( 0, 0, pcCU->getCtxAngleFlag( absPartIdx ) ) ); 1249 #endif 1246 1250 } 1247 1251 if( isDimMode( dir ) )
Note: See TracChangeset for help on using the changeset viewer.