Changeset 813 in 3DVCSoftware for branches/HTM-9.3-dev3-Hisilicon/source/Lib/TLibEncoder
- Timestamp:
- 29 Jan 2014, 13:20:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev3-Hisilicon/source/Lib/TLibEncoder/TEncSearch.cpp
r799 r813 1891 1891 UInt uiHeight = pcCU ->getHeight ( 0 ); 1892 1892 #if QC_PKU_SDC_SPLIT_G0123 1893 #if HS_TSINGHUA_SDC_SPLIT_G0111 1894 #if QC_GENERIC_SDC_G0122 1895 TComWedgelet* dmm4SegmentationOrg = new TComWedgelet( uiWidth, uiHeight ); 1896 #endif 1897 #else 1893 1898 #if QC_GENERIC_SDC_G0122 1894 1899 TComWedgelet* dmm4Segmentation = new TComWedgelet( uiWidth, uiHeight ); 1900 #endif 1895 1901 #endif 1896 1902 #endif … … 1911 1917 if ( ( uiWidth >> pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize() ) > 1 ) 1912 1918 { 1913 if ( getDimType( uiLumaPredMode ) == DMM4_IDX )1914 {1915 dmm4Segmentation->destroy(); delete dmm4Segmentation;1916 ruiDist = MAX_INT;1917 return;1918 }1919 1919 numParts = uiWidth * uiWidth >> ( 2 * pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize() ); 1920 1920 sdcDepth = g_aucConvertToBit[uiWidth] + 2 - pcCU->getSlice()->getSPS()->getQuadtreeTULog2MaxSize(); … … 1977 1977 #endif 1978 1978 #endif 1979 #if HS_TSINGHUA_SDC_SPLIT_G0111 1980 #if QC_GENERIC_SDC_G0122 1981 TComWedgelet* dmm4Segmentation = new TComWedgelet( uiWidth, uiHeight ); 1982 #endif 1983 #endif 1979 1984 //===== get prediction signal ===== 1980 1985 #if H_3D_DIM … … 1998 2003 #endif 1999 2004 ); 2005 #if HS_TSINGHUA_SDC_SPLIT_G0111 2006 Bool* dmm4PatternSplit = dmm4Segmentation->getPattern(); 2007 Bool* dmm4PatternOrg = dmm4SegmentationOrg->getPattern(); 2008 for( UInt k = 0; k < (uiWidth*uiHeight); k++ ) 2009 { 2010 dmm4PatternOrg[k+(uiAbsPartIdx<<4)] = dmm4PatternSplit[k]; 2011 } 2012 #endif 2000 2013 } 2001 2014 else … … 2021 2034 } 2022 2035 uiAbsPartIdx += ( ( uiWidth * uiWidth ) >> 4 ); 2036 #if HS_TSINGHUA_SDC_SPLIT_G0111 2037 dmm4Segmentation->destroy(); delete dmm4Segmentation; 2038 #endif 2023 2039 } 2024 2040 uiAbsPartIdx = 0; … … 2058 2074 { 2059 2075 uiNumSegments = 2; 2076 #if HS_TSINGHUA_SDC_SPLIT_G0111 2077 pbMask = dmm4SegmentationOrg->getPattern(); 2078 uiMaskStride = dmm4SegmentationOrg->getStride(); 2079 #else 2060 2080 pbMask = dmm4Segmentation->getPattern(); 2061 2081 uiMaskStride = dmm4Segmentation->getStride(); 2082 #endif 2062 2083 } 2063 2084 #endif … … 2200 2221 dRDCost = m_pcRdCost->calcRdCost( uiBits, ruiDist ); 2201 2222 #if QC_GENERIC_SDC_G0122 2223 #if HS_TSINGHUA_SDC_SPLIT_G0111 2224 dmm4SegmentationOrg->destroy(); delete dmm4SegmentationOrg; 2225 #else 2202 2226 dmm4Segmentation->destroy(); delete dmm4Segmentation; 2227 #endif 2203 2228 #endif 2204 2229 }
Note: See TracChangeset for help on using the changeset viewer.