Changeset 187 in 3DVCSoftware for branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncSbac.cpp
- Timestamp:
- 15 Nov 2012, 17:09:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.1-dev0/source/Lib/TLibEncoder/TEncSbac.cpp
r181 r187 114 114 , m_cDmmDataSCModel ( 1, 1, NUM_DMM_DATA_CTX , m_contextModels + m_numContextModels, m_numContextModels) 115 115 #endif 116 #if LGE_EDGE_INTRA 116 #if LGE_EDGE_INTRA_A0070 117 117 , m_cEdgeIntraSCModel ( 1, 1, NUM_EDGE_INTRA_CTX , m_contextModels + m_numContextModels, m_numContextModels) 118 118 #if LGE_EDGE_INTRA_DELTA_DC … … 205 205 m_cDmmDataSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DMM_DATA ); 206 206 #endif 207 #if LGE_EDGE_INTRA 207 #if LGE_EDGE_INTRA_A0070 208 208 m_cEdgeIntraSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_EDGE_INTRA ); 209 209 #if LGE_EDGE_INTRA_DELTA_DC … … 957 957 } 958 958 959 #if LGE_EDGE_INTRA 959 #if LGE_EDGE_INTRA_A0070 960 960 Void TEncSbac::xCodeEdgeIntraInfo( TComDataCU* pcCU, UInt uiPartIdx ) 961 961 { … … 1038 1038 if( pcCU->getSlice()->getSPS()->getUseDMM() && pcCU->getWidth( uiAbsPartIdx ) <= DMM_WEDGEMODEL_MAX_SIZE ) 1039 1039 { 1040 #if LGE_EDGE_INTRA 1040 #if LGE_EDGE_INTRA_A0070 1041 1041 m_pcBinIf->encodeBin( uiDir >= NUM_INTRA_MODE && uiDir < EDGE_INTRA_IDX, m_cDmmFlagSCModel.get(0, 0, 0) ); 1042 1042 #else … … 1044 1044 #endif 1045 1045 } 1046 #if LGE_EDGE_INTRA 1046 #if LGE_EDGE_INTRA_A0070 1047 1047 if( uiDir >= NUM_INTRA_MODE && uiDir < EDGE_INTRA_IDX ) 1048 1048 #else … … 1081 1081 } 1082 1082 else 1083 #if LGE_EDGE_INTRA 1083 #if LGE_EDGE_INTRA_A0070 1084 1084 if ( uiDir >= EDGE_INTRA_IDX) 1085 1085 { … … 1116 1116 Int iIntraIdx = pcCU->getIntraSizeIdx(uiAbsPartIdx); 1117 1117 #endif 1118 #if LGE_EDGE_INTRA 1118 #if LGE_EDGE_INTRA_A0070 1119 1119 Bool bCodeEdgeIntra = false; 1120 1120 if( pcCU->getSlice()->getSPS()->isDepth() ) … … 1182 1182 #if LOGI_INTRA_NAME_3MPM 1183 1183 m_pcBinIf->encodeBinsEP( uiDir, 5 ); 1184 #if LGE_EDGE_INTRA 1184 #if LGE_EDGE_INTRA_A0070 1185 1185 if (bCodeEdgeIntra) 1186 1186 if (uiDir == 31) m_pcBinIf->encodeBinsEP(0,1); … … 2524 2524 } 2525 2525 2526 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX || (LGE_EDGE_INTRA && LGE_EDGE_INTRA_DELTA_DC)2526 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX || (LGE_EDGE_INTRA_A0070 && LGE_EDGE_INTRA_DELTA_DC) 2527 2527 Void TEncSbac::xWriteExGolombLevel( UInt uiSymbol, ContextModel& rcSCModel ) 2528 2528 {
Note: See TracChangeset for help on using the changeset viewer.