Ignore:
Timestamp:
2 Jul 2015, 21:00:14 (9 years ago)
Author:
seregin
Message:

cleanup macros: POC_RESET_RPS, PREVTID0_POC_RESET, POC_RESET_FLAG

File:
1 edited

Legend:

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

    r1092 r1093  
    12421242  {
    12431243#if SVC_EXTENSION
    1244 #if POC_RESET_FLAG
    1245     Int iBits = 0;
    1246     if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    1247     {
    1248       READ_FLAG(uiCode, "poc_reset_flag");      pcSlice->setPocResetFlag( uiCode ? true : false );
    1249       iBits++;
    1250     }
    1251     if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    1252     {
    1253 #if DISCARDABLE_PIC_RPS
    1254       READ_FLAG(uiCode, "discardable_flag"); pcSlice->setDiscardableFlag( uiCode ? true : false );
    1255 #else
    1256       READ_FLAG(uiCode, "discardable_flag"); // ignored
    1257 #endif
    1258       iBits++;
    1259     }
    1260 #if O0149_CROSS_LAYER_BLA_FLAG
    1261     if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    1262     {
    1263       READ_FLAG(uiCode, "cross_layer_bla_flag");  pcSlice->setCrossLayerBLAFlag( uiCode ? true : false );
    1264       iBits++;
    1265     }
    1266 #endif
    1267     for (; iBits < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); iBits++)
    1268     {
    1269       READ_FLAG(uiCode, "slice_reserved_undetermined_flag[]"); // ignored
    1270     }
    1271 #else
    12721244#if CROSS_LAYER_BLA_FLAG_FIX
    12731245    Int iBits = 0;
     
    13061278      READ_FLAG(uiCode, "slice_reserved_undetermined_flag[]"); // ignored
    13071279    }
    1308 #endif
    13091280#else //SVC_EXTENSION
    13101281    for (Int i = 0; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++)
Note: See TracChangeset for help on using the changeset viewer.