Ignore:
Timestamp:
26 Jan 2015, 17:11:15 (10 years ago)
Author:
nokia
Message:

Implementation of JCTVC-R0235 - Processing of bitstreams without an available base layer

File:
1 edited

Legend:

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

    r1001 r1005  
    18131813        //If OpTid of the output operation point is equal to vps_max_sub_layer_minus1, the conformance is indicated by general_profile_idc being equal to 7 or general_profile_compatibility_flag[ 7 ] being equal to 1
    18141814        //The following assert may be updated / upgraded to take care of general_profile_compatibility_flag.
     1815#if R0235_SMALLEST_LAYER_ID
     1816        // The assertion below is not valid for independent non-base layers
     1817        if (vps->getNumAddLayerSets() == 0)
     1818        {
     1819#endif
    18151820        if (j > 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j) != 0 && vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j - 1) != 0)
    18161821        {
     
    18191824                 vps->getPTL(vps->getProfileLevelTierIdx(i, j))->getGeneralPTL()->getProfileCompatibilityFlag(vps->getPTL(vps->getProfileLevelTierIdx(i, j - 1))->getGeneralPTL()->getProfileIdc())  );
    18201825        }
     1826#if R0235_SMALLEST_LAYER_ID
     1827        }
     1828#endif
    18211829#endif
    18221830      }
     
    34203428        for(Int kk = 0; kk < rpcSlice->getVPS()->getNumLayersInIdList(layerSetIdxForOutputLayerSet); kk++)
    34213429        {
     3430#if R0235_SMALLEST_LAYER_ID
     3431          if(vps->getNecessaryLayerFlag(ii, kk) && rpcSlice->getLayerId()==rpcSlice->getVPS()->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, kk))
     3432#else
    34223433          if(rpcSlice->getLayerId()==rpcSlice->getVPS()->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, kk))
     3434#endif
    34233435          {
    34243436            chkAssert=1;
Note: See TracChangeset for help on using the changeset viewer.