Changeset 458 in SHVCSoftware for branches


Ignore:
Timestamp:
11 Nov 2013, 21:59:32 (11 years ago)
Author:
qualcomm
Message:

Fix to align all_ref_layer_active_flag according to JCT-VC N1008v3. Related to ticket [JCTVCSHM software] #5.

Location:
branches/SHM-4.0-dev/source
Files:
4 edited

Legend:

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

    r454 r458  
    10191019#endif
    10201020#if ILP_SSH_SIG
     1021#if ILP_SSH_SIG_FIX
     1022    vps->setIlpSshSignalingEnabledFlag(false);
     1023#else
    10211024    vps->setIlpSshSignalingEnabledFlag(true);
     1025#endif
    10221026#endif
    10231027#if VPS_EXTN_PROFILE_INFO
  • branches/SHM-4.0-dev/source/Lib/TLibCommon/TypeDef.h

    r456 r458  
    6565
    6666#define ILP_SSH_SIG                      1      ///< JCTVC-N0195 proposal 2, JCTVC-N0118: add presence flag in VPS ext to condition inter-layer prediction signaling in slice segment header
     67#if ILP_SSH_SIG
     68#define ILP_SSH_SIG_FIX                  1
     69#endif
    6770#define SPL_FLG_CHK                      1      ///< JCTVC-N0195 proposal 5, JCTVC-N0085: constrain sum of lengths to be less than or equal to 6
    6871#define ILP_NUM_REF_CHK                  1      ///< JCTVC-N0195 proposal 1, JCTVC-N0081, JCTVC-N0154, JCTVC-N0217: a condition on signaling inter_layer_pred_layer_idc[ i ], to avoid sending when NumDirectRefLayers equals NumActiveRefLayerPics, and instead infer values
  • branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r455 r458  
    17151715    rpcSlice->setActiveNumILRRefIdx(0);
    17161716#if ILP_SSH_SIG
     1717#if ILP_SSH_SIG_FIX
     1718    if((sps->getLayerId() > 0) && !(rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (rpcSlice->getNumILRRefIdx() > 0) )
     1719#else
    17171720    if((sps->getLayerId() > 0) && rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (rpcSlice->getNumILRRefIdx() > 0) )
     1721#endif
    17181722#else
    17191723    if((sps->getLayerId() > 0)  &&  (rpcSlice->getNumILRRefIdx() > 0) )
     
    17681772    }
    17691773#if ILP_SSH_SIG
     1774#if ILP_SSH_SIG_FIX
     1775    else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == true )
     1776#else
    17701777    else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == false )
     1778#endif
    17711779    {
    17721780      rpcSlice->setInterLayerPredEnabledFlag(true);
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r455 r458  
    13661366#if JCTVC_M0458_INTERLAYER_RPS_SIG
    13671367#if ILP_SSH_SIG
     1368#if ILP_SSH_SIG_FIX
     1369    if((pcSlice->getSPS()->getLayerId() > 0) && !(pcSlice->getVPS()->getIlpSshSignalingEnabledFlag()) && (pcSlice->getNumILRRefIdx() > 0) )
     1370#else
    13681371    if((pcSlice->getSPS()->getLayerId() > 0) && pcSlice->getVPS()->getIlpSshSignalingEnabledFlag() && (pcSlice->getNumILRRefIdx() > 0) )
     1372#endif
    13691373#else
    13701374    if((pcSlice->getSPS()->getLayerId() > 0)  &&  (pcSlice->getNumILRRefIdx() > 0) )
Note: See TracChangeset for help on using the changeset viewer.