Changeset 737 in SHVCSoftware for branches


Ignore:
Timestamp:
25 Apr 2014, 00:27:14 (11 years ago)
Author:
seregin
Message:

fix reading width and height from rep format for AVC BL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComSlice.cpp

    r734 r737  
    20322032  if ( layerId == 0 )
    20332033  {
    2034     retVal = sps->getPicWidthInLumaSamples();
     2034    if( vps->getAvcBaseLayerFlag() )
     2035    {
     2036      retVal = vps->getVpsRepFormat(layerId)->getPicWidthVpsInLumaSamples();
     2037    }
     2038    else
     2039    {
     2040      retVal = sps->getPicWidthInLumaSamples();
     2041    }
    20352042  }
    20362043  else
     
    20582065  if( layerId == 0 )
    20592066  {
    2060     retVal = sps->getPicHeightInLumaSamples();
     2067    if( vps->getAvcBaseLayerFlag() )
     2068    {
     2069      retVal = vps->getVpsRepFormat(layerId)->getPicHeightVpsInLumaSamples();
     2070    }
     2071    else
     2072    {
     2073      retVal = sps->getPicHeightInLumaSamples();
     2074    }
    20612075  }
    20622076  else
Note: See TracChangeset for help on using the changeset viewer.