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


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

macro cleanup: CROSS_LAYER_BLA_FLAG_FIX

File:
1 edited

Legend:

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

    r1105 r1108  
    955955  {
    956956#if SVC_EXTENSION
    957 #if CROSS_LAYER_BLA_FLAG_FIX
    958957    Int iBits = 0;
    959958    if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    960 #else
    961     if (pcSlice->getPPS()->getNumExtraSliceHeaderBits()>0)
    962 #endif
    963959    {
    964960      assert(!!"discardable_flag");
     
    974970#endif
    975971      WRITE_FLAG(pcSlice->getDiscardableFlag(), "discardable_flag");
    976 #if CROSS_LAYER_BLA_FLAG_FIX
    977972      iBits++;
    978 #endif
    979     }
    980 #if CROSS_LAYER_BLA_FLAG_FIX
     973    }
     974
    981975    if( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits )
    982976    {
     
    985979      iBits++;
    986980    }
     981
    987982    for (; iBits < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); iBits++)
    988 #else
    989     for (Int i = 1; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++)
    990 #endif
    991983    {
    992984      assert(!!"slice_reserved_undetermined_flag[]");
Note: See TracChangeset for help on using the changeset viewer.