Changeset 859 in 3DVCSoftware for branches/HTM-10.0-dev0/source/Lib/TLibCommon


Ignore:
Timestamp:
2 Mar 2014, 03:30:00 (11 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@…>

Location:
branches/HTM-10.0-dev0/source/Lib/TLibCommon
Files:
2 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  }
  • branches/HTM-10.0-dev0/source/Lib/TLibCommon/TypeDef.h

    r858 r859  
    340340// #define H_MV_HLS_7_POC_P0041_FIXES        0 // (POC/P0041/Fixes) For each non-IRAP picture that has discardable_flag equal to 1 to have NUT value indicating that it is a sub-layer non-reference picture.
    341341// #define H_MV_HLS_7_SEI_P0204_26           0 // (SEI/P0204/sub-bitstream SEI) #26 Add sub-bitstream property SEI message. Decision: Adopt
    342 // #define H_MV_HLS_7_MISC_P0130_20          0 // (MISC/P0130/discardable not in inter-layer RPS) #20 Add constraint restricting pictures marked as discardable from being present in the temporal or inter-layer RPS,
     342#define H_MV_HLS_7_MISC_P0130_20          1 // (MISC/P0130/discardable not in inter-layer RPS) #20 Add constraint restricting pictures marked as discardable from being present in the temporal or inter-layer RPS,
    343343
    344344
Note: See TracChangeset for help on using the changeset viewer.