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


Ignore:
Timestamp:
27 Feb 2015, 19:52:41 (10 years ago)
Author:
seregin
Message:

fix for the ticket #69

File:
1 edited

Legend:

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

    r1029 r1035  
    13461346#if R0209_GENERIC_PHASE
    13471347        // conformance check: when ScaledRefRegionWidthInSamplesY is equal to RefLayerRegionWidthInSamplesY, PhaseHorY shall be equal to 0, when ScaledRefRegionWidthInSamplesC is equal to RefLayerRegionWidthInSamplesC, PhaseHorC shall be equal to 0, when ScaledRefRegionHeightInSamplesY is equal to RefLayerRegionHeightInSamplesY, PhaseVerY shall be equal to 0, and when ScaledRefRegionHeightInSamplesC is equal to RefLayerRegionHeightInSamplesC, PhaseVerC shall be equal to 0.
    1348         Int phaseHorLuma   = pcSlice->getPPS()->getPhaseHorLuma(refLayerIdc);
    1349         Int phaseVerLuma   = pcSlice->getPPS()->getPhaseVerLuma(refLayerIdc);
    1350         Int phaseHorChroma = pcSlice->getPPS()->getPhaseHorChroma(refLayerIdc);
    1351         Int phaseVerChroma = pcSlice->getPPS()->getPhaseVerChroma(refLayerIdc);
     1348        Bool phaseSetPresentFlag;
     1349        Int phaseHorLuma, phaseVerLuma, phaseHorChroma, phaseVerChroma;
     1350        pcSlice->getPPS()->getResamplingPhase( refLayerId, phaseSetPresentFlag, phaseHorLuma, phaseVerLuma, phaseHorChroma, phaseVerChroma );
     1351
    13521352        assert( ( (widthEL  != widthBL)  || (phaseHorLuma == 0 && phaseHorChroma == 0) )
    13531353             && ( (heightEL != heightBL) || (phaseVerLuma == 0 && phaseVerChroma == 0) ) );
Note: See TracChangeset for help on using the changeset viewer.