Changeset 297 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
20 Jun 2013, 22:40:50 (12 years ago)
Author:
vidyo
Message:

Implementation of inter_layer_sample_pred_only_flag part of M0457. The code is disabled by default. Enable by setting M0457_IL_SAMPLE_PRED_ONLY_FLAG to 1.

Location:
branches/SHM-2.1-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r296 r297  
    14701470      }
    14711471    }
     1472#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
     1473    rpcSlice->setInterLayerSamplePredOnlyFlag( false );
     1474    if( rpcSlice->getNumSamplePredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() > 0 )
     1475    {
     1476      READ_FLAG( uiCode, "inter_layer_sample_pred_only_flag" );
     1477      rpcSlice->setInterLayerSamplePredOnlyFlag( uiCode > 0 );
     1478    }
     1479#endif
    14721480#else
    14731481    if( rpcSlice->getLayerId() > 0 )
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r296 r297  
    546546
    547547#if SVC_EXTENSION
     548#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
     549  m_apcSlicePilot->setNumSamplePredRefLayers( getNumSamplePredRefLayers() );
     550#endif
    548551  m_cEntropyDecoder.decodeSliceHeader (m_apcSlicePilot, &m_parameterSetManagerDecoder[m_layerId]);
    549552#else
Note: See TracChangeset for help on using the changeset viewer.