Changeset 196 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibCommon


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@…>

Location:
branches/SHM-2.1-dev/source/Lib/TLibCommon
Files:
2 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);
  • branches/SHM-2.1-dev/source/Lib/TLibCommon/TypeDef.h

    r195 r196  
    7272#define JCTVC_M0259_LAMBDAREFINEMENT     1      ///< JCTVC-M0259: lambda refinement (encoder only optimization)
    7373#define RESTR_CHK                        1      ///< JCTVC-M0208 proposal 1
     74#define ILP_RAP                          1      ///< JCTVC-M0208 proposal 3
    7475
    7576#define REF_IDX_FRAMEWORK                1      ///< inter-layer reference framework
Note: See TracChangeset for help on using the changeset viewer.