Ignore:
Timestamp:
14 Apr 2014, 08:28:02 (11 years ago)
Author:
qualcomm
Message:

Integration of H0137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev3-Qualcomm/source/App/TAppEncoder/TAppEncTop.cpp

    r902 r915  
    178178    m_cTEncTop.setDWeight                      ( isDepth ? m_iDWeight             : 0     );
    179179#endif // H_3D_VSO
    180 #if H_3D_ARP
     180#if H_3D_ARP && !QC_IV_PRED_CONSTRAINT_H0137
    181181    //====== Advanced Inter-view Residual Prediction =========
    182182    m_cTEncTop.setUseAdvRP                     ( ( isDepth || 0==layerIdInVps ) ? 0 : m_uiUseAdvResPred );
     
    17961796
    17971797#if H_3D_ARP
     1798#if QC_IV_PRED_CONSTRAINT_H0137
     1799    vps.setUseAdvRP        ( layer, ( isDepth || isLayerZero || !vps.getNumDirectRefLayers(layer) ) ? 0 : m_uiUseAdvResPred );
     1800    vps.setARPStepNum      ( layer, ( isDepth || isLayerZero || !vps.getNumDirectRefLayers(layer) ) ? 1 : H_3D_ARP_WFNR     );
     1801#else
    17981802    vps.setUseAdvRP        ( layer, ( isDepth || isLayerZero ) ? 0 : m_uiUseAdvResPred );
    17991803    vps.setARPStepNum      ( layer, ( isDepth || isLayerZero ) ? 1 : H_3D_ARP_WFNR     );
     1804#endif
    18001805#endif 
    18011806#if H_3D_SPIVMP
     
    18151820
    18161821#if H_3D_IV_MERGE
     1822#if QC_IV_PRED_CONSTRAINT_H0137
     1823    if( !vps.getNumDirectRefLayers(layer) )
     1824    {
     1825      vps.setIvMvPredFlag    (layer, false);
     1826    }
     1827    else
     1828    {
     1829#endif
    18171830    if( isDepth )
    18181831    {
     
    18231836      vps.setIvMvPredFlag         ( layer, !isLayerZero && m_ivMvPredFlag[0] );
    18241837    }
     1838#if QC_IV_PRED_CONSTRAINT_H0137
     1839    }
     1840#endif
    18251841#endif
    18261842#if H_3D_NBDV_REF
     
    18281844#endif
    18291845#if H_3D_VSP
     1846#if QC_IV_PRED_CONSTRAINT_H0137
     1847    vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && vps.getNumDirectRefLayers(layer) && m_viewSynthesisPredFlag );         
     1848#else
    18301849    vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && m_viewSynthesisPredFlag );         
     1850#endif
    18311851#endif
    18321852#if H_3D_DBBP
Note: See TracChangeset for help on using the changeset viewer.