Changeset 805 in 3DVCSoftware
- Timestamp:
- 27 Jan 2014, 06:48:42 (11 years ago)
- Location:
- branches/HTM-9.3-dev2-MediaTek
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibCommon/ContextTables.h
r773 r805 101 101 102 102 #if H_3D_IC 103 #if MTK_IC_FLAG_CABAC_SIMP_G0061 104 #define NUM_IC_FLAG_CTX 1 ///< number of context models for illumination compensation flag 105 #else 103 106 #define NUM_IC_FLAG_CTX 3 ///< number of context models for illumination compensation flag 107 #endif 104 108 #endif 105 109 … … 374 378 375 379 #if H_3D_IC 380 #if MTK_IC_FLAG_CABAC_SIMP_G0061 381 static const UChar 382 INIT_IC_FLAG[3][NUM_IC_FLAG_CTX] = 383 { 384 { 154 }, 385 { 154 }, 386 { 154 }, 387 }; 388 #else 376 389 static const UChar 377 390 INIT_IC_FLAG[3][NUM_IC_FLAG_CTX] = … … 382 395 }; 383 396 #endif 397 #endif 384 398 #if H_3D_DIM 385 399 static const UChar -
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibCommon/TComDataCU.cpp
r790 r805 2273 2273 } 2274 2274 #endif 2275 2275 #if !MTK_IC_FLAG_CABAC_SIMP_G0061 2276 2276 #if H_3D_IC 2277 2277 UInt TComDataCU::getCtxICFlag( UInt uiAbsPartIdx ) … … 2291 2291 } 2292 2292 #endif 2293 2293 #endif 2294 2294 #if H_3D_INTER_SDC 2295 2295 Void TComDataCU::setInterSDCFlagSubParts ( Bool bInterSDCFlag, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth ) -
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibCommon/TComDataCU.h
r773 r805 730 730 UInt getCTXARPWFlag ( UInt uiAbsPartIdx ); 731 731 #endif 732 #if !MTK_IC_FLAG_CABAC_SIMP_G0061 732 733 #if H_3D_IC 733 734 UInt getCtxICFlag ( UInt uiAbsPartIdx ); 735 #endif 734 736 #endif 735 737 UInt getSliceStartCU ( UInt pos ) { return m_sliceStartCU[pos-m_uiAbsIdxInLCU]; } -
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibCommon/TypeDef.h
r804 r805 112 112 // LGE_IC_CTX_F0160 //JCT3V-F0160 113 113 // SEC_ONLY_TEXTURE_IC_F0151 114 #define MTK_IC_FLAG_CABAC_SIMP_G0061 1 // Use only 1 context for IC flag in JCT3V-G0061 114 115 115 116 #if H_3D_NBDV -
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibDecoder/TDecSbac.cpp
r790 r805 2161 2161 { 2162 2162 UInt uiSymbol = 0; 2163 #if MTK_IC_FLAG_CABAC_SIMP_G0061 2164 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, 0 ) ); 2165 #else 2163 2166 UInt uiCtxIC = pcCU->getCtxICFlag( uiAbsPartIdx ); 2164 2167 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, uiCtxIC ) ); 2168 #endif 2165 2169 #if !H_MV_ENC_DEC_TRAC 2166 2170 DTRACE_CABAC_VL( g_nSymbolCounter++ ); -
branches/HTM-9.3-dev2-MediaTek/source/Lib/TLibEncoder/TEncSbac.cpp
r790 r805 1018 1018 // get context function is here 1019 1019 UInt uiSymbol = pcCU->getICFlag( uiAbsPartIdx ) ? 1 : 0; 1020 #if MTK_IC_FLAG_CABAC_SIMP_G0061 1021 m_pcBinIf->encodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, 0 ) ); 1022 #else 1020 1023 UInt uiCtxIC = pcCU->getCtxICFlag( uiAbsPartIdx ) ; 1021 1024 m_pcBinIf->encodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, uiCtxIC ) ); 1025 #endif 1022 1026 #if !H_MV_ENC_DEC_TRAC 1023 1027 DTRACE_CABAC_VL( g_nSymbolCounter++ );
Note: See TracChangeset for help on using the changeset viewer.