Changeset 764 in SHVCSoftware


Ignore:
Timestamp:
30 Apr 2014, 01:22:55 (11 years ago)
Author:
seregin
Message:

remove macro VPS_NUH_LAYER_ID

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

Legend:

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

    r763 r764  
    105105#endif
    106106#define MFM_ENCCONSTRAINT                1      ///< JCTVC-O0216: Encoder constraint for motion field mapping
    107 #define VPS_NUH_LAYER_ID                 1      ///< JCTVC-N0085: Assert that the nuh_layer_id of VPS NAL unit should be 0
    108107#define POC_RESET_FLAG                   1      ///< JCTVC-N0244: POC reset flag for  layer pictures.
    109108#define POC_RESET_IDC                    1      ///< JCTVC-P0041: Include poc_reset_idc and related derivation - eventually will replace POC_RESET_FLAG
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r759 r764  
    20202020  {
    20212021    case NAL_UNIT_VPS:
    2022 #if VPS_NUH_LAYER_ID
     2022#if SVC_EXTENSION
    20232023      assert( nalu.m_layerId == 0 ); // Non-conforming bitstream. The value of nuh_layer_id of VPS NAL unit shall be equal to 0.
    20242024#endif
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r758 r764  
    20842084    {
    20852085#if SVC_EXTENSION
    2086 #if VPS_NUH_LAYER_ID
    2087       OutputNALUnit nalu(NAL_UNIT_VPS, 0, 0        ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0.
    2088 #else
    2089       OutputNALUnit nalu(NAL_UNIT_VPS, 0, m_layerId);
    2090 #endif
     2086      OutputNALUnit nalu( NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0.
    20912087#if AVC_BASE
    20922088      if( ( m_layerId == 1 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) )
Note: See TracChangeset for help on using the changeset viewer.