Changeset 154 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
7 May 2013, 00:03:47 (12 years ago)
Author:
seregin
Message:

set and check for avc_base_layer_flag

File:
1 edited

Legend:

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

    r138 r154  
    11091109    startCUAddrSliceSegmentIdx++;
    11101110#if AVC_BASE
    1111     if( m_layerId == 0 )
     1111    if( m_layerId == 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() )
    11121112    {
    11131113      pcPic->getPicYuvOrg()->copyToPic( pcPic->getPicYuvRec() );
     
    12251225      OutputNALUnit nalu(NAL_UNIT_VPS, 0, m_layerId);
    12261226#if AVC_BASE
    1227       if( m_layerId == 1 )
     1227      if( ( m_layerId == 1 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) )
    12281228#else
    12291229      if( m_layerId == 0 )
Note: See TracChangeset for help on using the changeset viewer.