Changeset 1303 in 3DVCSoftware for branches/HTM-14.1-update-dev1-LG/source/Lib/TLibEncoder/TEncSbac.cpp
- Timestamp:
- 28 Jul 2015, 03:59:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1-LG/source/Lib/TLibEncoder/TEncSbac.cpp
r1279 r1303 106 106 , m_cDmmModeSCModel ( 1, 1, NUM_DMM_MODE_CTX , m_contextModels + m_numContextModels, m_numContextModels) 107 107 #endif 108 #if NH_3D_DMM || NH_3D_SDC_INTRA 108 #if NH_3D_DMM || NH_3D_SDC_INTRA || NH_3D_SDC_INTER 109 109 , m_cDdcDataSCModel ( 1, 1, NUM_DDC_DATA_CTX , m_contextModels + m_numContextModels, m_numContextModels) 110 , m_cSDCFlagSCModel ( 1, 1, NUM_SDC_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 110 111 #endif 111 112 #if NH_3D_SDC_INTRA 112 113 , m_cSDCResidualFlagSCModel ( 1, 1, SDC_NUM_RESIDUAL_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 113 114 , m_cSDCResidualSCModel ( 1, 1, SDC_NUM_RESIDUAL_CTX , m_contextModels + m_numContextModels, m_numContextModels) 114 , m_cSDCFlagSCModel ( 1, 1, NUM_SDC_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels)115 115 , m_cDdcFlagSCModel ( 1, 1, NUM_DDC_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 116 116 #endif … … 187 187 m_cDmmModeSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DMM_MODE ); 188 188 #endif 189 #if NH_3D_DMM || NH_3D_SDC_INTRA 189 #if NH_3D_DMM || NH_3D_SDC_INTRA || NH_3D_SDC_INTER 190 190 m_cDdcDataSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DDC_DATA ); 191 m_cSDCFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_SDC_FLAG ); 191 192 #endif 192 193 #if NH_3D_SDC_INTRA 193 194 m_cSDCResidualFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_SDC_RESIDUAL_FLAG ); 194 195 m_cSDCResidualSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_SDC_RESIDUAL ); 195 m_cSDCFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_SDC_FLAG );196 196 m_cDdcFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DDC_FLAG ); 197 197 #endif … … 243 243 curCost += m_cCUICFlagSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_IC_FLAG ); 244 244 #endif 245 #if NH_3D_SDC_INTRA 245 #if NH_3D_SDC_INTRA || NH_3D_SDC_INTER 246 246 curCost += m_cSDCFlagSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_SDC_FLAG ); 247 247 #endif … … 280 280 curCost += m_cDmmModeSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DMM_MODE ); 281 281 #endif 282 #if NH_3D_DMM || NH_3D_SDC_INTRA 282 #if NH_3D_DMM || NH_3D_SDC_INTRA || NH_3D_SDC_INTER 283 283 curCost += m_cDdcDataSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DDC_DATA ); 284 284 #endif … … 2459 2459 } 2460 2460 2461 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC2461 #if NH_3D_DMM || NH_3D_SDC_INTRA || NH_3D_SDC_INTER 2462 2462 Void TEncSbac::codeDeltaDC( TComDataCU* pcCU, UInt absPartIdx ) 2463 2463 { 2464 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC2464 #if NH_3D_SDC_INTRA || NH_3D_SDC_INTER 2465 2465 if( !(pcCU->getSDCFlag( absPartIdx )) ) 2466 2466 #endif … … 2513 2513 #endif 2514 2514 } 2515 #if H_3D_INTER_SDC2515 #if NH_3D_SDC_INTER 2516 2516 else 2517 2517 { … … 2614 2614 #endif 2615 2615 2616 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC2616 #if NH_3D_SDC_INTRA || NH_3D_SDC_INTER 2617 2617 Void TEncSbac::codeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx ) 2618 2618 {
Note: See TracChangeset for help on using the changeset viewer.