Ignore:
Timestamp:
5 Nov 2014, 11:34:26 (9 years ago)
Author:
tech
Message:

HHI_DEPENDENCY_SIGNALLING_I1_J0107: Integrated IdRefListLayers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev2-HHI/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1084 r1103  
    23502350    Bool interLayerPredLayerIdcPresentFlag = false;
    23512351    Int layerId       = rpcSlice->getLayerId();
     2352#if HHI_DEPENDENCY_SIGNALLING_I1_J0107
     2353#if H_3D
     2354    if( rpcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumRefListLayers( layerId ) > 0 )
     2355#else
    23522356    if( rpcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumDirectRefLayers( layerId ) > 0 )
     2357#endif
     2358#else
     2359    if( rpcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumDirectRefLayers( layerId ) > 0 )
     2360#endif
    23532361    {   
    23542362      READ_FLAG( uiCode, "inter_layer_pred_enabled_flag" ); rpcSlice->setInterLayerPredEnabledFlag( uiCode == 1 );
     2363#if HHI_DEPENDENCY_SIGNALLING_I1_J0107
     2364#if H_3D
     2365      if( rpcSlice->getInterLayerPredEnabledFlag() && vps->getNumRefListLayers( layerId ) > 1 )
     2366#else
    23552367      if( rpcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 )
     2368#endif
     2369#else
     2370      if( rpcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 )
     2371#endif
    23562372      {           
    23572373        if( !vps->getMaxOneActiveRefLayerFlag()) 
     
    23592375          READ_CODE( rpcSlice->getNumInterLayerRefPicsMinus1Len( ), uiCode, "num_inter_layer_ref_pics_minus1" ); rpcSlice->setNumInterLayerRefPicsMinus1( uiCode );
    23602376        }
     2377#if HHI_DEPENDENCY_SIGNALLING_I1_J0107
     2378#if H_3D
     2379        if ( rpcSlice->getNumActiveRefLayerPics() != vps->getNumRefListLayers( layerId ) )
     2380#else
    23612381        if ( rpcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) )
     2382#endif
     2383#else
     2384        if ( rpcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) )
     2385#endif
    23622386        {
    23632387          interLayerPredLayerIdcPresentFlag = true;
     
    25452569    }
    25462570#if H_3D_IC
     2571#if HHI_DEPENDENCY_SIGNALLING_I1_J0107
     2572    else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth() && vps->getNumRefListLayers( layerId ) > 0 )
     2573#else
    25472574    else if( rpcSlice->getViewIndex() && ( rpcSlice->getSliceType() == P_SLICE || rpcSlice->getSliceType() == B_SLICE ) && !rpcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 )
     2575#endif
    25482576    {
    25492577      UInt uiCodeTmp = 0;
Note: See TracChangeset for help on using the changeset viewer.