Changeset 468 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2a/source/Lib/TLibDecoder/TDecSbac.cpp
- Timestamp:
- 16 Jun 2013, 05:33:39 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2a/source/Lib/TLibDecoder/TDecSbac.cpp
r464 r468 57 57 , m_cCUPUARPW ( 1, 1, NUM_ARPW_CTX , m_contextModels + m_numContextModels, m_numContextModels) 58 58 #endif 59 #if H_3D_IC 60 , m_cCUICFlagSCModel ( 1, 1, NUM_IC_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 61 #endif 59 62 , m_cCUPartSizeSCModel ( 1, 1, NUM_PART_SIZE_CTX , m_contextModels + m_numContextModels, m_numContextModels) 60 63 , m_cCUPredModeSCModel ( 1, 1, NUM_PRED_MODE_CTX , m_contextModels + m_numContextModels, m_numContextModels) … … 119 122 m_cCUPUARPW.initBuffer ( sliceType, qp, (UChar*)INIT_ARPW ); 120 123 #endif 124 #if H_3D_IC 125 m_cCUICFlagSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_IC_FLAG ); 126 #endif 121 127 m_cCUPartSizeSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_PART_SIZE ); 122 128 m_cCUAMPSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_CU_AMP_POS ); … … 166 172 #if H_3D_ARP 167 173 m_cCUPUARPW.initBuffer ( eSliceType, iQp, (UChar*)INIT_ARPW ); 174 #endif 175 #if H_3D_IC 176 m_cCUICFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_IC_FLAG ); 168 177 #endif 169 178 m_cCUPartSizeSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_PART_SIZE ); … … 1582 1591 } 1583 1592 #endif 1593 1594 #if H_3D_IC 1595 /** parse illumination compensation flag 1596 * \param pcCU 1597 * \param uiAbsPartIdx 1598 * \param uiDepth 1599 * \returns Void 1600 */ 1601 Void TDecSbac::parseICFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 1602 { 1603 UInt uiSymbol = 0; 1604 UInt uiCtxIC = pcCU->getCtxICFlag( uiAbsPartIdx ); 1605 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, uiCtxIC ) ); 1606 DTRACE_CABAC_VL( g_nSymbolCounter++ ); 1607 DTRACE_CABAC_T( "\tICFlag" ); 1608 DTRACE_CABAC_T( "\tuiCtxIC: "); 1609 DTRACE_CABAC_V( uiCtxIC ); 1610 DTRACE_CABAC_T( "\tuiSymbol: "); 1611 DTRACE_CABAC_V( uiSymbol ); 1612 DTRACE_CABAC_T( "\n"); 1613 1614 pcCU->setICFlagSubParts( uiSymbol ? true : false , uiAbsPartIdx, 0, uiDepth ); 1615 } 1616 #endif 1617 1584 1618 //! \}
Note: See TracChangeset for help on using the changeset viewer.