Changeset 240 in 3DVCSoftware for branches/HTM-5.1-dev1-Hisilicon/source/Lib/TLibCommon
- Timestamp:
- 30 Jan 2013, 16:29:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev1-Hisilicon/source/Lib/TLibCommon/TComPrediction.cpp
r226 r240 1919 1919 UInt uiWedgeStride = pcWedgelet->getStride(); 1920 1920 1921 #if HS_REFERENCE_SUBSAMPLE 1922 Int subSamplePix; 1923 if ( pcWedgelet->getWidth() == 32 ) 1924 { 1925 subSamplePix = 2; 1926 } 1927 else 1928 { 1929 subSamplePix = 1; 1930 } 1931 #endif 1932 1921 1933 if( bAbove ) 1922 1934 { 1935 #if HS_REFERENCE_SUBSAMPLE 1936 for( Int k = 0; k < pcWedgelet->getWidth(); k+=subSamplePix ) 1937 #else 1923 1938 for( Int k = 0; k < pcWedgelet->getWidth(); k++ ) 1939 #endif 1924 1940 { 1925 1941 if( true == pabWedgePattern[k] ) … … 1937 1953 if( bLeft ) 1938 1954 { 1955 #if HS_REFERENCE_SUBSAMPLE 1956 for( Int k = 0; k < pcWedgelet->getHeight(); k+=subSamplePix ) 1957 #else 1939 1958 for( Int k = 0; k < pcWedgelet->getHeight(); k++ ) 1959 #endif 1940 1960 { 1941 1961 if( true == pabWedgePattern[k*uiWedgeStride] )
Note: See TracChangeset for help on using the changeset viewer.