Ignore:
Timestamp:
30 Jan 2013, 16:29:21 (11 years ago)
Author:
hisilicon-htm
Message:

JCT3V-C0154

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-5.1-dev1-Hisilicon/source/Lib/TLibCommon/TComPrediction.cpp

    r226 r240  
    19191919  UInt  uiWedgeStride   = pcWedgelet->getStride();
    19201920
     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
    19211933  if( bAbove )
    19221934  {
     1935#if HS_REFERENCE_SUBSAMPLE
     1936    for( Int k = 0; k < pcWedgelet->getWidth(); k+=subSamplePix )
     1937#else
    19231938    for( Int k = 0; k < pcWedgelet->getWidth(); k++ )
     1939#endif
    19241940    {
    19251941      if( true == pabWedgePattern[k] )
     
    19371953  if( bLeft )
    19381954  {
     1955#if HS_REFERENCE_SUBSAMPLE
     1956    for( Int k = 0; k < pcWedgelet->getHeight(); k+=subSamplePix )
     1957#else
    19391958    for( Int k = 0; k < pcWedgelet->getHeight(); k++ )
     1959#endif
    19401960    {
    19411961      if( true == pabWedgePattern[k*uiWedgeStride] )
Note: See TracChangeset for help on using the changeset viewer.