Ignore:
Timestamp:
12 Nov 2013, 16:01:31 (11 years ago)
Author:
qualcomm
Message:

Calculation of VPS extension offset (MACRO: VPS_EXTN_OFFSET_CALC)

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r460 r461  
    16831683      OutputNALUnit nalu(NAL_UNIT_VPS);
    16841684#endif
     1685#if VPS_EXTN_OFFSET_CALC
     1686      OutputNALUnit tempNalu(NAL_UNIT_VPS, 0, 0        ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0.
     1687      m_pcEntropyCoder->setBitstream(&tempNalu.m_Bitstream);
     1688      m_pcEntropyCoder->encodeVPS(m_pcEncTop->getVPS());  // Use to calculate the VPS extension offset
     1689#endif
    16851690      m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream);
    16861691      m_pcEntropyCoder->encodeVPS(m_pcEncTop->getVPS());
Note: See TracChangeset for help on using the changeset viewer.