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


Ignore:
Timestamp:
6 Jul 2015, 21:03:54 (11 years ago)
Author:
seregin
Message:

macro cleanup: CROSS_LAYER_BLA_FLAG_FIX

File:
1 edited

Legend:

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

    r1107 r1108  
    12321232  {
    12331233#if SVC_EXTENSION
    1234 #if CROSS_LAYER_BLA_FLAG_FIX
    12351234    Int iBits = 0;
    12361235    if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    1237 #else
    1238     if(pcSlice->getPPS()->getNumExtraSliceHeaderBits()>0)
    1239 #endif
    12401236    {
    12411237      READ_FLAG(uiCode, "discardable_flag"); // ignored
     
    12511247      }
    12521248#endif
    1253 #if CROSS_LAYER_BLA_FLAG_FIX
    12541249      iBits++;
    1255 #endif
    1256     }
    1257 #if CROSS_LAYER_BLA_FLAG_FIX
     1250    }
     1251
    12581252    if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    12591253    {
     
    12611255      iBits++;
    12621256    }
     1257
    12631258    for ( ; iBits < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); iBits++)
    1264 #else
    1265     for (Int i = 1; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++)
    1266 #endif
    12671259    {
    12681260      READ_FLAG(uiCode, "slice_reserved_undetermined_flag[]"); // ignored
Note: See TracChangeset for help on using the changeset viewer.