Changeset 1512 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
15 Dec 2015, 19:47:27 (9 years ago)
Author:
seregin
Message:

rename isSpatialEnhLayer to requireResampling for clarity since the difference may be in bitdepth only

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1502 r1512  
    16521652          m_Enc3DAsymLUTPicUpdate.addRefLayerId( pcSlice->getVPS()->getRefLayerId(m_layerId, refLayerIdc) );
    16531653
    1654           if( pcSlice->getPic()->getPosScalingFactor(refLayerIdc, 0) < POS_SCALING_FACTOR_1X || pcSlice->getPic()->getPosScalingFactor(refLayerIdc, 1) < POS_SCALING_FACTOR_1X ) //if(pcPic->isSpatialEnhLayer(refLayerIdc))
     1654          if( pcSlice->getPic()->getPosScalingFactor(refLayerIdc, 0) < POS_SCALING_FACTOR_1X || pcSlice->getPic()->getPosScalingFactor(refLayerIdc, 1) < POS_SCALING_FACTOR_1X ) //if(pcPic->requireResampling(refLayerIdc))
    16551655          {
    16561656            //downsampling
     
    16811681#endif
    16821682
    1683         if( pcPic->isSpatialEnhLayer(refLayerIdc) )
     1683        if( pcPic->requireResampling(refLayerIdc) )
    16841684        {
    16851685          // check for the sample prediction picture type
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1503 r1512  
    741741            )
    742742          {
    743             pcEPic->setSpatialEnhLayerFlag( i, true );
     743            pcEPic->setRequireResamplingFlag( i, true );
    744744
    745745            //only for scalable extension
     
    786786            )
    787787          {
    788             rpcPic->setSpatialEnhLayerFlag( i, true );
     788            rpcPic->setRequireResamplingFlag( i, true );
    789789
    790790            //only for scalable extension
Note: See TracChangeset for help on using the changeset viewer.