Ignore:
Timestamp:
9 May 2013, 17:40:26 (12 years ago)
Author:
qualcomm
Message:

JCTVC-M0458:signalling and derivation of inter-layer RPS. Author: krapaka@…

File:
1 edited

Legend:

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

    r169 r170  
    797797#endif
    798798#endif
     799#if JCTVC_M0458
     800      WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag");
     801#endif
    799802#if !VPS_MOVE_DIR_DEPENDENCY_FLAG
    800803#if VPS_EXTN_DIRECT_REF_LAYERS
     
    11631166    }
    11641167  }
     1168#if JCTVC_M0458   
     1169    if((pcSlice->getSPS()->getLayerId() > 0)  &&  (pcSlice->getNumILRRefIdx() > 0) )
     1170    {
     1171      WRITE_FLAG(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_enabled_flag");
     1172      if( pcSlice->getInterLayerPredEnabledFlag())
     1173      {
     1174        if(pcSlice->getNumILRRefIdx() > 1)
     1175        {
     1176          if( !pcSlice->getVPS()->getMaxOneActiveRefLayerFlag())
     1177          {
     1178            WRITE_UVLC(pcSlice->getNumInterLayerRefPics(),"num_inter_layer_ref_pics_minus1");                     
     1179          }       
     1180          for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
     1181            WRITE_UVLC(pcSlice->getInterLayerPredEnabledFlag(),"inter_layer_pred_layer_idc[i]");         
     1182        }
     1183      }
     1184    }     
     1185#endif
    11651186  if(pcSlice->getPPS()->getSliceHeaderExtensionPresentFlag())
    11661187  {
Note: See TracChangeset for help on using the changeset viewer.