Changeset 439 in SHVCSoftware for branches


Ignore:
Timestamp:
17 Oct 2013, 11:52:24 (11 years ago)
Author:
nokia
Message:

add syntax for JCTVC-N0065

Location:
branches/SHM-3.1-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h

    r435 r439  
    158158#define M0043_LAYERS_PRESENT_SEI         0      ///< JCTVC-M0043: add layers present SEI. Macro shall be equal to 0 according to the JCTVC-N0174 discussion. The code is to be removed.
    159159#define N0383_IL_CONSTRAINED_TILE_SETS_SEI  1
     160#define N0065_LAYER_POC_ALIGNMENT        1
    160161#else
    161162#define SYNTAX_OUTPUT                    0
  • branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r431 r439  
    16101610      rpcSlice->setRPS(rps);
    16111611    }
     1612#if N0065_LAYER_POC_ALIGNMENT
     1613    if( rpcSlice->getLayerId() > 0 || !rpcSlice->getIdrPicFlag() )
     1614#else
    16121615    else
     1616#endif
    16131617    {
    16141618      READ_CODE(sps->getBitsForPOC(), uiCode, "pic_order_cnt_lsb");
     
    16401644      rpcSlice->setPOC              (iPOCmsb+iPOClsb);
    16411645
     1646#if N0065_LAYER_POC_ALIGNMENT
     1647      if( !rpcSlice->getIdrPicFlag() )
     1648      {
     1649#endif
    16421650      TComReferencePictureSet* rps;
    16431651      rps = rpcSlice->getLocalRPS();
     
    17711779        rpcSlice->setEnableTMVPFlag(false);
    17721780      }
     1781#if N0065_LAYER_POC_ALIGNMENT
     1782    }
     1783#endif
    17731784    }
    17741785
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r431 r439  
    12751275    //   colour_plane_id                                      u(2)
    12761276
     1277#if N0065_LAYER_POC_ALIGNMENT
     1278    if( pcSlice->getLayerId() > 0 || !pcSlice->getIdrPicFlag() )
     1279#else
    12771280    if( !pcSlice->getIdrPicFlag() )
     1281#endif
    12781282    {
    12791283#if POC_RESET_FLAG
     
    12911295#endif
    12921296      WRITE_CODE( picOrderCntLSB, pcSlice->getSPS()->getBitsForPOC(), "pic_order_cnt_lsb");
     1297
     1298#if N0065_LAYER_POC_ALIGNMENT
     1299      if( !pcSlice->getIdrPicFlag() )
     1300      {
     1301#endif
    12931302      TComReferencePictureSet* rps = pcSlice->getRPS();
    12941303     
     
    14051414        WRITE_FLAG( pcSlice->getEnableTMVPFlag() ? 1 : 0, "slice_temporal_mvp_enable_flag" );
    14061415      }
     1416#if N0065_LAYER_POC_ALIGNMENT
     1417      }
     1418#endif
    14071419    }
    14081420
Note: See TracChangeset for help on using the changeset viewer.