Changeset 34 in 3DVCSoftware for branches/0.3-nokia/source/Lib/TLibEncoder
- Timestamp:
- 18 Mar 2012, 10:42:07 (13 years ago)
- Location:
- branches/0.3-nokia/source/Lib/TLibEncoder
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.3-nokia/source/Lib/TLibEncoder/TEncCfg.h
r21 r34 159 159 Bool m_bUseDMM; 160 160 #endif 161 #if HHI_DMM_PRED_TEX && FLEX_CODING_ORDER 162 Bool m_bUseDMM34; 163 #endif 161 164 #if HHI_MPI 162 165 Bool m_bUseMVI; … … 424 427 Bool getUseDMM() { return m_bUseDMM; } 425 428 #endif 426 429 #if HHI_DMM_PRED_TEX && FLEX_CODING_ORDER 430 Void setUseDMM34( Bool b) { m_bUseDMM34 = b; } 431 Bool getUseDMM34() { return m_bUseDMM34; } 432 #endif 427 433 #if LM_CHROMA 428 434 Bool getUseLMChroma () { return m_bUseLMChroma; } -
branches/0.3-nokia/source/Lib/TLibEncoder/TEncSbac.cpp
r5 r34 1126 1126 #endif 1127 1127 #if HHI_DMM_PRED_TEX 1128 #if FLEX_CODING_ORDER 1129 if ( !pcCU->getSlice()->getSPS()->getUseDMM34() ) 1130 { 1131 assert( uiDir != DMM_WEDGE_PREDTEX_D_IDX ); 1132 assert( uiDir != DMM_CONTOUR_PREDTEX_D_IDX ); 1133 } 1134 #endif 1128 1135 if( uiDir == DMM_WEDGE_PREDTEX_D_IDX ) { xCodeWedgePredTexDeltaInfo ( pcCU, uiAbsPartIdx ); } 1129 1136 if( uiDir == DMM_CONTOUR_PREDTEX_D_IDX ) { xCodeContourPredTexDeltaInfo( pcCU, uiAbsPartIdx ); } -
branches/0.3-nokia/source/Lib/TLibEncoder/TEncSearch.cpp
r5 r34 1926 1926 #endif 1927 1927 #if HHI_DMM_PRED_TEX 1928 #if FLEX_CODING_ORDER 1929 if ( pcCU->getSlice()->getSPS()->getUseDMM34() ) 1930 { 1931 #endif 1928 1932 TComYuv cTempYuv; cTempYuv.create( uiWidth, uiHeight ); cTempYuv.clear(); 1929 1933 Pel* piTempY = cTempYuv.getLumaAddr(); … … 1958 1962 uiRdModeList[ uiNewMaxMode++ ] = DMM_CONTOUR_PREDTEX_D_IDX; 1959 1963 } 1960 1961 1964 cTempYuv.destroy(); 1965 #if FLEX_CODING_ORDER 1966 } 1967 #endif 1962 1968 #endif 1963 1969 } … … 1988 1994 #else 1989 1995 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX 1996 #if HHI_DMM_PRED_TEX && FLEX_CODING_ORDER 1997 if( m_pcEncCfg->isDepthCoder() && !predIntraLumaDMMAvailable( uiOrgMode, uiWidth, uiHeight, pcCU->getSlice()->getSPS()->getUseDMM34() ) ) 1998 #else 1990 1999 if( m_pcEncCfg->isDepthCoder() && !predIntraLumaDMMAvailable( uiOrgMode, uiWidth, uiHeight ) ) 2000 #endif 1991 2001 continue; 1992 2002 #endif … … 2076 2086 #else 2077 2087 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX 2088 #if HHI_DMM_PRED_TEX && FLEX_CODING_ORDER 2089 if( m_pcEncCfg->isDepthCoder() && !predIntraLumaDMMAvailable( uiOrgMode, uiWidth, uiHeight, pcCU->getSlice()->getSPS()->getUseDMM34() ) ) 2090 #else 2078 2091 if( m_pcEncCfg->isDepthCoder() && !predIntraLumaDMMAvailable( uiOrgMode, uiWidth, uiHeight ) ) 2092 #endif 2079 2093 continue; 2080 2094 #endif … … 2719 2733 } 2720 2734 2735 #if HHI_DMM_PRED_TEX && FLEX_CODING_ORDER 2736 Bool TEncSearch::predIntraLumaDMMAvailable( UInt uiMode, UInt uiWidth, UInt uiHeight, Bool bDMMAvailable34 ) 2737 #else 2721 2738 Bool TEncSearch::predIntraLumaDMMAvailable( UInt uiMode, UInt uiWidth, UInt uiHeight ) 2739 #endif 2722 2740 { 2723 2741 if( uiMode <= MAX_MODE_ID_INTRA_DIR ) return true; … … 2747 2765 bDMMAvailable = false; 2748 2766 } 2767 #if FLEX_CODING_ORDER 2768 if ( !bDMMAvailable34 ) 2769 { 2770 bDMMAvailable = false; 2771 } 2772 #endif 2749 2773 } 2750 2774 -
branches/0.3-nokia/source/Lib/TLibEncoder/TEncSearch.h
r5 r34 207 207 Bool predIntraLumaDMMAvailable( UInt uiMode, 208 208 UInt uiWidth, 209 #if HHI_DMM_PRED_TEX && FLEX_CODING_ORDER 210 UInt uiHeight, 211 Bool bDMMAvailable34 ); 212 #else 209 213 UInt uiHeight ); 214 #endif 210 215 #endif 211 216 #if HHI_DMM_WEDGE_INTRA -
branches/0.3-nokia/source/Lib/TLibEncoder/TEncTop.cpp
r21 r34 287 287 288 288 bool bSomethingCoded = false ; 289 289 #if FLEX_CODING_ORDER 290 if (TEncTop::m_bPicWaitingForCoding ) 291 #else 290 292 if (m_bPicWaitingForCoding ) 293 #endif 291 294 { 292 295 std::map<Int, TComPic*>::iterator cIter = m_acInputPicMap.find( (Int)m_cSeqIter.getPoc() ); … … 615 618 #if HHI_DMM_WEDGE_INTRA || HHI_DMM_PRED_TEX 616 619 m_cSPS.setUseDMM( m_bUseDMM ); 620 #endif 621 #if HHI_DMM_PRED_TEX && FLEX_CODING_ORDER 622 m_cSPS.setUseDMM34( m_bUseDMM34 ); 617 623 #endif 618 624 #if HHI_MPI
Note: See TracChangeset for help on using the changeset viewer.