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


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/TLibEncoder/TEncTop.cpp

    r898 r901  
    820820          Bool sameBitDepths = ( g_bitDepthYLayer[m_layerId] == g_bitDepthYLayer[refLayerId] ) && ( g_bitDepthCLayer[m_layerId] == g_bitDepthCLayer[refLayerId] );
    821821
     822#if REF_IDX_MFM
     823          if( m_iSourceWidth == pcEncTopBase->getSourceWidth() && m_iSourceHeight == pcEncTopBase->getSourceHeight() && equalOffsets && zeroPhase )
     824          {
     825            pcEPic->setEqualPictureSizeAndOffsetFlag( i, true );
     826          }
     827
     828          if( !pcEPic->equalPictureSizeAndOffsetFlag(i) || !sameBitDepths
     829#else
    822830          if( m_iSourceWidth != pcEncTopBase->getSourceWidth() || m_iSourceHeight != pcEncTopBase->getSourceHeight() || !sameBitDepths
    823831#if REF_REGION_OFFSET && RESAMPLING_FIX
     
    828836#else
    829837            || !zeroOffsets
     838#endif
    830839#endif
    831840#if Q0048_CGS_3D_ASYMLUT
Note: See TracChangeset for help on using the changeset viewer.