Changeset 559 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
27 Jan 2014, 17:15:16 (11 years ago)
Author:
seregin
Message:

delete M0457_IL_SAMPLE_PRED_ONLY_FLAG macro and related code

Location:
branches/SHM-5.0-dev/source/Lib/TLibEncoder
Files:
4 edited

Legend:

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

    r556 r559  
    16711671      }
    16721672    }     
    1673 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG
    1674     if( pcSlice->getNumSamplePredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() > 0 )
    1675     {
    1676       WRITE_FLAG( pcSlice->getInterLayerSamplePredOnlyFlag(), "inter_layer_sample_pred_only_flag" );
    1677     }
    1678 #endif
    16791673#endif
    16801674
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r540 r559  
    462462        testInter = false;
    463463      }
    464 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG
    465       if( pcSlice->getInterLayerSamplePredOnlyFlag() )
    466       {
    467         testInter = false;
    468       }
    469 #endif
    470464    }
    471465#endif
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r558 r559  
    696696#endif
    697697#endif
    698     }
    699 #endif
    700 
    701 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG
    702     pcSlice->setNumSamplePredRefLayers( m_pcEncTop->getNumSamplePredRefLayers() );
    703     pcSlice->setInterLayerSamplePredOnlyFlag( 0 );
    704     if( pcSlice->getNumSamplePredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() > 0 )
    705     {
    706       if( m_pcEncTop->getIlSampleOnlyPred() > 0 )
    707       {
    708         pcSlice->setInterLayerSamplePredOnlyFlag( true );
    709       }
    710698    }
    711699#endif
     
    13061294    }
    13071295
    1308 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG
    1309     if (pcSlice->getSliceType() == B_SLICE && m_pcEncTop->getIlSampleOnlyPred() == 0)
    1310 #else
    13111296    if (pcSlice->getSliceType() == B_SLICE)
    1312 #endif
    13131297    {
    13141298#if !SVC_EXTENSION
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncTop.h

    r540 r559  
    137137  Bool                    m_bMFMEnabledFlag;
    138138#endif
    139 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG
    140   Int                     m_ilSampleOnlyPred;
    141 #endif
    142139  UInt                    m_numScaledRefLayerOffsets;
    143140#if O0098_SCALED_REF_LAYER_ID
     
    237234  Bool      getMFMEnabledFlag()                   {return m_bMFMEnabledFlag;}   
    238235#endif
    239 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG
    240   Void      setIlSampleOnlyPred( Int i )          { m_ilSampleOnlyPred = i;    }
    241   Int       getIlSampleOnlyPred()                 { return m_ilSampleOnlyPred; }
    242 #endif
    243236#if AVC_SYNTAX
    244237  Void      setBLSyntaxFile( fstream* pFile ) { m_pBLSyntaxFile = pFile; }
Note: See TracChangeset for help on using the changeset viewer.