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


Ignore:
Timestamp:
28 Aug 2014, 00:57:07 (11 years ago)
Author:
qualcomm
Message:

Removal of avc_base_layer_flag. This flag was in the earlier version of spec but have been replaced by two other flags vps_base_layer_internal_flag and vps_base_layer_available_flag
(MACRO: VPS_AVC_BL_FLAG_REMOVAL)

From: Hendry (fhendry@…)

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

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

    r872 r874  
    931931#if VPS_EXTN_MASK_AND_DIM_INFO
    932932  UInt i = 0, j = 0;
    933 
     933#if !VPS_AVC_BL_FLAG_REMOVAL
    934934  WRITE_FLAG( vps->getAvcBaseLayerFlag(),              "avc_base_layer_flag" );
     935#endif
    935936#if !P0307_REMOVE_VPS_VUI_OFFSET
    936937#if O0109_MOVE_VPS_VUI_FLAG
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r873 r874  
    993993      // inferring of the scaling list can be moved to the config file
    994994      UInt refLayerId = 0;
     995#if VPS_AVC_BL_FLAG_REMOVAL
     996      if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
     997#else
    995998      if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
     999#endif
    9961000      {
    9971001        m_pcEncTop->getSPS()->setInferScalingListFlag( true );
     
    10231027      // inferring of the scaling list can be moved to the config file
    10241028      UInt refLayerId = 0;
     1029#if VPS_AVC_BL_FLAG_REMOVAL
     1030      if( m_layerId > 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
     1031#else
    10251032      if( m_layerId > 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() && m_pcEncTop->getVPS()->getRecursiveRefLayerFlag( m_layerId, refLayerId ) )
     1033#endif
    10261034      {
    10271035        m_pcEncTop->getSPS()->setInferScalingListFlag( true );
     
    21102118    startCUAddrSliceSegmentIdx++;
    21112119#if AVC_BASE
     2120#if VPS_AVC_BL_FLAG_REMOVAL
     2121    if( m_layerId == 0 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() )
     2122#else
    21122123    if( m_layerId == 0 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() )
     2124#endif
    21132125    {
    21142126      pcPic->getPicYuvOrg()->copyToPic( pcPic->getPicYuvRec() );
     
    22232235      OutputNALUnit nalu( NAL_UNIT_VPS, 0, 0 ); // The value of nuh_layer_id of VPS NAL unit shall be equal to 0.
    22242236#if AVC_BASE
     2237#if VPS_AVC_BL_FLAG_REMOVAL
     2238      if( ( m_layerId == 1 && m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getNonHEVCBaseLayerFlag() ) )
     2239#else
    22252240      if( ( m_layerId == 1 && m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) || ( m_layerId == 0 && !m_pcEncTop->getVPS()->getAvcBaseLayerFlag() ) )
     2241#endif
    22262242#else
    22272243      if( m_layerId == 0 )
Note: See TracChangeset for help on using the changeset viewer.