Ignore:
Timestamp:
14 May 2013, 18:56:16 (12 years ago)
Author:
sharp
Message:

JCTVC-M0208 proposal 3 – A restriction for CRA and BLA pictures with nuh_layer_id==0
From Sachin Deshpande <sdeshpande@…>

File:
1 edited

Legend:

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

    r191 r196  
    554554  {
    555555    // The variable NumPocTotalCurr is derived as specified in subclause 7.4.7.2. It is a requirement of bitstream conformance that the following applies to the value of NumPocTotalCurr:
     556#if ILP_RAP    // inter-layer prediction is allowed for BLA, CRA pictures of nuh_layer_id>0
     557    // – If the current picture is a BLA or CRA picture with nuh_layer_id equal to 0, the value of NumPocTotalCurr shall be equal to 0.
     558    // – Otherwise, when the current picture contains a P or B slice, the value of NumPocTotalCurr shall not be equal to 0.
     559    if (getRapPicFlag() && getLayerId()==0)
     560#else
    556561    // – If the current picture is a BLA or CRA picture, the value of NumPocTotalCurr shall be equal to 0.
    557562    // – Otherwise, when the current picture contains a P or B slice, the value of NumPocTotalCurr shall not be equal to 0.
    558563    if (getRapPicFlag())
     564#endif
    559565    {
    560566      assert(numPocTotalCurr == 0);
Note: See TracChangeset for help on using the changeset viewer.