Changeset 34 in 3DVCSoftware for branches/0.3-nokia/source/Lib/TLibEncoder/TEncSearch.cpp
- Timestamp:
- 18 Mar 2012, 10:42:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset for help on using the changeset viewer.