Changeset 251 in 3DVCSoftware for branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder
- Timestamp:
- 4 Feb 2013, 01:35:46 (12 years ago)
- Location:
- branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder/TEncSbac.cpp
r229 r251 1096 1096 1097 1097 if( uiDir == DMM_WEDGE_PREDTEX_D_IDX ) { xCodeWedgePredTexDeltaInfo ( pcCU, uiAbsPartIdx ); } 1098 #if LGE_DMM3_SIMP_C0044 1099 if( uiDir == DMM_WEDGE_PREDTEX_IDX ) { xCodeWedgePredTexInfo ( pcCU, uiAbsPartIdx ); } 1100 #endif 1098 1101 if( uiDir == DMM_CONTOUR_PREDTEX_D_IDX ) { xCodeContourPredTexDeltaInfo( pcCU, uiAbsPartIdx ); } 1099 1102 #endif … … 2671 2674 #endif 2672 2675 #if HHI_DMM_PRED_TEX 2676 #if LGE_DMM3_SIMP_C0044 2677 Void TEncSbac::xCodeWedgePredTexInfo( TComDataCU* pcCU, UInt uiAbsPartIdx ) 2678 { 2679 Int iIntraIdx = pcCU->getIntraSizeIdx(uiAbsPartIdx); 2680 Int iBits = g_aucWedgeTexPredBitsListIdx[iIntraIdx]; 2681 2682 UInt uiTabIdx = pcCU->getWedgePredTexIntraTabIdx( uiAbsPartIdx ); 2683 2684 for ( Int i = 0; i < iBits; i++ ) 2685 { 2686 m_pcBinIf->encodeBin( ( uiTabIdx >> i ) & 1, m_cDmmDataSCModel.get(0, 0, 3) ); 2687 } 2688 } 2689 #endif 2690 2673 2691 Void TEncSbac::xCodeWedgePredTexDeltaInfo( TComDataCU* pcCU, UInt uiAbsPartIdx ) 2674 2692 { 2693 #if LGE_DMM3_SIMP_C0044 2694 xCodeWedgePredTexInfo( pcCU, uiAbsPartIdx ); 2695 #endif 2675 2696 Int iDeltaDC1 = pcCU->getWedgePredTexDeltaDC1( uiAbsPartIdx ); 2676 2697 Int iDeltaDC2 = pcCU->getWedgePredTexDeltaDC2( uiAbsPartIdx ); -
branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder/TEncSbac.h
r210 r251 178 178 #endif 179 179 #if HHI_DMM_PRED_TEX 180 #if LGE_DMM3_SIMP_C0044 181 Void xCodeWedgePredTexInfo ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 182 #endif 180 183 Void xCodeWedgePredTexDeltaInfo ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 181 184 Void xCodeContourPredTexDeltaInfo( TComDataCU* pcCU, UInt uiAbsPartIdx ); -
branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder/TEncSearch.cpp
r242 r251 2252 2252 Int iTexDeltaDC1 = 0; 2253 2253 Int iTexDeltaDC2 = 0; 2254 #if LGE_DMM3_SIMP_C0044 2255 UInt uiTexIntraIdx = 0; 2256 findWedgeTexMinDist( pcCU, uiPartOffset, piOrg, piPred, uiStride, uiWidth, uiHeight, uiTexTabIdx, iTexDeltaDC1, iTexDeltaDC2, bAboveAvail, bLeftAvail, uiTexIntraIdx); 2257 pcCU->setWedgePredTexIntraTabIdxSubParts( uiTexIntraIdx, uiPartOffset, uiDepth + uiInitTrDepth ); 2258 #else 2254 2259 findWedgeTexMinDist( pcCU, uiPartOffset, piOrg, piPred, uiStride, uiWidth, uiHeight, uiTexTabIdx, iTexDeltaDC1, iTexDeltaDC2, bAboveAvail, bLeftAvail ); 2260 #endif 2255 2261 pcCU->setWedgePredTexTabIdxSubParts ( uiTexTabIdx, uiPartOffset, uiDepth + uiInitTrDepth ); 2256 2262 pcCU->setWedgePredTexDeltaDC1SubParts( iTexDeltaDC1, uiPartOffset, uiDepth + uiInitTrDepth ); … … 7161 7167 Int& riDeltaDC2, 7162 7168 Bool bAboveAvail, 7163 Bool bLeftAvail ) 7169 Bool bLeftAvail 7170 #if LGE_DMM3_SIMP_C0044 7171 ,UInt& ruiIntraTabIdx 7172 #endif 7173 ) 7164 7174 { 7165 7175 assert( uiWidth >= DMM_WEDGEMODEL_MIN_SIZE && uiWidth <= DMM_WEDGEMODEL_MAX_SIZE ); 7166 7176 WedgeList* pacWedgeList = &g_aacWedgeLists[(g_aucConvertToBit[uiWidth])]; 7167 7177 7178 #if LGE_DMM3_SIMP_C0044 7179 ruiTabIdx = getBestWedgeFromTex( pcCU, uiAbsPtIdx, uiWidth, uiHeight, piOrig, uiStride, ruiIntraTabIdx ); 7180 #else 7168 7181 ruiTabIdx = getBestWedgeFromTex( pcCU, uiAbsPtIdx, uiWidth, uiHeight ); 7182 #endif 7169 7183 7170 7184 TComWedgelet* pcBestWedgelet = &(pacWedgeList->at(ruiTabIdx)); -
branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder/TEncSearch.h
r210 r251 435 435 Int& riDeltaDC2, 436 436 Bool bAboveAvail, 437 Bool bLeftAvail ); 437 Bool bLeftAvail 438 #if LGE_DMM3_SIMP_C0044 439 ,UInt& ruiIntraTabIdx 440 #endif 441 ); 438 442 Void findContourPredTex ( TComDataCU* pcCU, 439 443 UInt uiAbsPtIdx,
Note: See TracChangeset for help on using the changeset viewer.