Ignore:
Timestamp:
18 Jun 2013, 14:06:13 (12 years ago)
Author:
nokia
Message:

JCTVC-M0457: Co-located picture signaling

File:
1 edited

Legend:

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

    r290 r291  
    548548  WRITE_FLAG( pcSPS->getTMVPFlagsPresent()  ? 1 : 0,           "sps_temporal_mvp_enable_flag" );
    549549#if REF_IDX_MFM
     550#if !M0457_COL_PICTURE_SIGNALING
    550551  if( pcSPS->getLayerId() > 0 )
    551552  {
    552553    WRITE_FLAG( pcSPS->getMFMEnabledFlag() ? 1 : 0,          "sps_enh_mfm_enable_flag" );
    553554  }
     555#endif
    554556#endif
    555557  WRITE_FLAG( pcSPS->getUseStrongIntraSmoothing(),             "sps_strong_intra_smoothing_enable_flag" );
     
    12191221    if ( pcSlice->getEnableTMVPFlag() )
    12201222    {
     1223#if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     1224      if ( !pcSlice->getIdrPicFlag() && pcSlice->getLayerId() > 0 && pcSlice->getNumMotionPredRefLayers() > 0 )
     1225      {
     1226        WRITE_FLAG( 1, "alt_collocated_indication_flag" );
     1227        if (pcSlice->getNumMotionPredRefLayers() > 1)
     1228        {
     1229          WRITE_UVLC(0, "collocated_ref_layer_idx");
     1230        }
     1231      }
     1232      else
     1233      {
     1234#endif
    12211235      if ( pcSlice->getSliceType() == B_SLICE )
    12221236      {
     
    12301244        WRITE_UVLC( pcSlice->getColRefIdx(), "collocated_ref_idx" );
    12311245      }
     1246#if REF_IDX_FRAMEWORK && M0457_COL_PICTURE_SIGNALING
     1247      }
     1248#endif
    12321249    }
    12331250    if ( (pcSlice->getPPS()->getUseWP() && pcSlice->getSliceType()==P_SLICE) || (pcSlice->getPPS()->getWPBiPred() && pcSlice->getSliceType()==B_SLICE) )
Note: See TracChangeset for help on using the changeset viewer.