Ignore:
Timestamp:
28 Jan 2014, 00:05:18 (11 years ago)
Author:
qualcomm
Message:

JCTVC-P0130: Absence of discardable pictures in RPS (Macro: DISCARDABLE_PIC_RPS)

Added conditions/asserts to ensure that pictures that belong to the temporal RPS or the inter-layer RPS have discardable_flag equal to 0.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp

    r565 r569  
    475475      {
    476476        numInterLayerRPSPics++;
     477#if DISCARDABLE_PIC_RPS
     478        assert( ilpPic[i]->getSlice(0)->getDiscardableFlag() == 0 );    // Inter-layer RPS shall not contain picture with discardable_flag = 1.
     479#endif
    477480      }
    478481    }
     
    14261429
    14271430    }
     1431#if DISCARDABLE_PIC_RPS
     1432    if( isReference ) // Current picture is in the temporal RPS
     1433    {
     1434      assert( rpcPic->getSlice(0)->getDiscardableFlag() == 0 ); // Temporal RPS shall not contain picture with discardable_flag equal to 1
     1435    }
     1436#endif
    14281437    // mark the picture as "unused for reference" if it is not in
    14291438    // the Reference Picture Set
Note: See TracChangeset for help on using the changeset viewer.