Changeset 308 in SHVCSoftware for branches/SHM-2.1-dev/source


Ignore:
Timestamp:
19 Jul 2013, 19:51:20 (11 years ago)
Author:
seregin
Message:

fix for the MFMEnabledFlag setting by checking the NumMotionPredRefLayers

File:
1 edited

Legend:

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

    r302 r308  
    111111#if REF_IDX_MFM
    112112#if AVC_BASE
     113#if M0457_PREDICTION_INDICATIONS
     114    m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_avcBaseLayerFlag ? AVC_SYNTAX : true ) && m_acLayerCfg[layer].getNumMotionPredRefLayers());
     115#else
    113116    m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_avcBaseLayerFlag ? AVC_SYNTAX : true ));
     117#endif
     118#else
     119#if M0457_PREDICTION_INDICATIONS
     120    m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : ( m_acLayerCfg[layer].getNumMotionPredRefLayers() > 0 ) );
    114121#else
    115122    m_acTEncTop[layer].setMFMEnabledFlag(layer == 0 ? false : true);
     123#endif
    116124#endif
    117125#if M0457_IL_SAMPLE_PRED_ONLY_FLAG
Note: See TracChangeset for help on using the changeset viewer.