Changeset 408 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
4 Oct 2013, 02:16:14 (11 years ago)
Author:
qualcomm
Message:

N0085: nuh_layer_id value of VPS NALU (MACRO: VPS_NUH_LAYER_ID)

Added assert statement in the decoder to ensure that the value of nuh_layer_id of VPS NAL unit shall be equal to 0. In the encoder, the value of nuh_layer_id of VPS would always be 0.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r399 r408  
    13431343    {
    13441344#if SVC_EXTENSION
     1345#if VPS_NUH_LAYER_ID
     1346      OutputNALUnit nalu(NAL_UNIT_VPS, 0, 0        ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0.
     1347#else
    13451348      OutputNALUnit nalu(NAL_UNIT_VPS, 0, m_layerId);
     1349#endif
    13461350#if AVC_BASE
    13471351      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.