Changeset 297 in SHVCSoftware for branches/SHM-2.1-dev/source/App/TAppEncoder


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/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r296 r297  
    7979  {
    8080    m_acLayerCfg[layer].setAppEncCfg(this);
     81#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
     82    m_ilSampleOnlyPred[layer] = 0;
     83#endif
    8184  }
    8285  memset( m_scalabilityMask, 0, sizeof(m_scalabilityMask) );
     
    520523  ("EnableElRapB,-use-rap-b",  m_elRapSliceBEnabled, 0, "Set ILP over base-layer I picture to B picture (default is P picture)")
    521524#endif 
     525#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
     526  ("IlSampleOnlyPred%d",       m_ilSampleOnlyPred, 0, MAX_LAYERS, "Set inter_layer_sample_pred_only_flag for all slices")
     527#endif
    522528#else 
    523529  ("InputFile,i",           cfg_InputFile,     string(""), "Original YUV input file name")
  • branches/SHM-2.1-dev/source/App/TAppEncoder/TAppEncCfg.h

    r296 r297  
    7272#if AVC_SYNTAX
    7373  Char*     m_BLSyntaxFile;                                   ///< input syntax file
     74#endif
     75#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
     76  Int       m_ilSampleOnlyPred[ MAX_LAYERS ];
    7477#endif
    7578#else
  • branches/SHM-2.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r296 r297  
    116116#else
    117117    m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : true);
     118#endif
     119#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
     120    m_acTEncTop[layer].setIlSampleOnlyPred( layer == 0 ? 0 : m_ilSampleOnlyPred[layer] );
    118121#endif
    119122#endif
Note: See TracChangeset for help on using the changeset viewer.