Changeset 901 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
6 Oct 2014, 22:50:44 (11 years ago)
Author:
seregin
Message:

implementation for equalPictureSizeAndOffsetFlag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r884 r901  
    407407        Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] );
    408408
     409#if REF_IDX_MFM
     410        if( pcPicYuvRecBase->getWidth() == pcSlice->getPicWidthInLumaSamples() && pcPicYuvRecBase->getHeight() == pcSlice->getPicHeightInLumaSamples() && equalOffsets && zeroPhase )
     411        {
     412          rpcPic->setEqualPictureSizeAndOffsetFlag( i, true );
     413        }
     414
     415        if( !rpcPic->equalPictureSizeAndOffsetFlag(i) || !sameBitDepths
     416#else
    409417        if( pcPicYuvRecBase->getWidth() != pcSlice->getPicWidthInLumaSamples() || pcPicYuvRecBase->getHeight() != pcSlice->getPicHeightInLumaSamples() || !sameBitDepths
    410418#if REF_REGION_OFFSET && RESAMPLING_FIX
     
    415423#else
    416424          || !zeroOffsets
     425#endif
    417426#endif
    418427#if Q0048_CGS_3D_ASYMLUT
Note: See TracChangeset for help on using the changeset viewer.