Ignore:
Timestamp:
9 May 2013, 22:48:02 (12 years ago)
Author:
qualcomm
Message:

Scaled reference layer offsets in SPS (MACRO: SCALED_REF_LAYER_OFFSETS)

M0309: Signal scaled reference layer offsets in the SPS and use it for upsampling and MV prediction.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.0-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r174 r175  
    418418    m_acTEncTop[layer].setElRapSliceTypeB(layer == 0? 0 : m_elRapSliceBEnabled);
    419419#endif
     420#if SCALED_REF_LAYER_OFFSETS
     421    if( layer > 0 )
     422    {
     423      m_acTEncTop[layer].getScaledRefLayerWindow().setWindow( 2*m_scaledRefLayerLeftOffset, 2*m_scaledRefLayerRightOffset,
     424                                                  2*m_scaledRefLayerTopOffset, 2*m_scaledRefLayerBottomOffset); 
     425    }
     426#endif
    420427  }
    421428}
Note: See TracChangeset for help on using the changeset viewer.