Ignore:
Timestamp:
2 Mar 2014, 03:30:00 (10 years ago)
Author:
qualcomm
Message:

JCTVC-P0130: Discardable pictures shall not be present in RPS (Macro: H_MV_HLS_7_MISC_P0130_20)

Added assert statements to ensure that discardable pictures are not present in the temporal RPS and inter-layer RPS.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.0-dev0/source/Lib/TLibCommon/TComSlice.cpp

    r857 r859  
    13301330
    13311331    }
     1332#if H_MV_HLS_7_MISC_P0130_20
     1333    if( isReference ) // Current picture is in the temporal RPS
     1334    {
     1335      assert( rpcPic->getSlice(0)->getDiscardableFlag() == 0 ); // Temporal RPS shall not contain picture with discardable_flag equal to 1
     1336    }
     1337#endif
    13321338    // mark the picture as "unused for reference" if it is not in
    13331339    // the Reference Picture Set
     
    29612967    // Consider to check here:
    29622968    // "If the current picture is a RADL picture, there shall be no entry in the RefPicSetInterLayer0 and RefPicSetInterLayer1 that is a RASL picture. "   
    2963 #if H_MV_HLS7_GEN
    2964     // "There shall be no picture that has discardable_flag equal to 1 in RefPicSetInterLayer0 or RefPicSetInterLayer1".   
     2969#if H_MV_HLS_7_MISC_P0130_20
     2970    assert( picRef->getSlice(0)->getDiscardableFlag() == false ); // "There shall be no picture that has discardable_flag equal to 1 in RefPicSetInterLayer0 or RefPicSetInterLayer1".       
    29652971#endif
    29662972  }
Note: See TracChangeset for help on using the changeset viewer.