Changeset 953 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
5 Jan 2015, 11:34:55 (11 years ago)
Author:
qualcomm
Message:

Fixes for conformance testing and non-output layers.

  • Value of PicOutputFlag of non-output layers was not being computed correctly. Fixed under MACRO FIX_NON_OUTPUT_LAYER
  • Some fixes for conformance testing under macro FIX_CONF_MODE.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r952 r953  
    127127  m_confModeFlag = false;
    128128#endif
     129#if FIX_NON_OUTPUT_LAYER
     130  m_isOutputLayerFlag = false;
     131#endif
    129132}
    130133
     
    569572  // Execute Deblock + Cleanup
    570573  m_cGopDecoder.filterPicture(pcPic);
     574
     575#if FIX_NON_OUTPUT_LAYER
     576  if( this->getLayerDec(pcPic->getLayerId())->m_isOutputLayerFlag == false )
     577  {
     578    pcPic->setOutputMark( false );
     579  }
     580#endif
    571581
    572582  TComSlice::sortPicList( m_cListPic ); // sorting for application output
     
    29132923  CommonDecoderParams* params = this->getCommonDecoderParams();
    29142924
     2925#if !FIX_CONF_MODE
    29152926  assert( params->getTargetLayerId() < vps->getMaxLayers() );
     2927#endif
    29162928
    29172929  if( params->getValueCheckedFlag() )
     
    30163028  Int targetLsIdx = vps->getOutputLayerSetIdx( targetOlsIdx );
    30173029  params->setTargetLayerId( vps->getLayerSetLayerIdList( targetLsIdx, vps->getNumLayersInIdList(targetLsIdx)-1 ) );
     3030#endif
     3031#if FIX_NON_OUTPUT_LAYER
     3032  // Check if the current layer is an output layer
     3033  for(Int i = 0; i < vps->getNumLayersInIdList( targetLsIdx ); i++)
     3034  {
     3035    if( vps->getOutputLayerFlag( targetOlsIdx, i ) )
     3036    {
     3037      this->getLayerDec( vps->getLayerSetLayerIdList( targetLsIdx, i ) )->m_isOutputLayerFlag = true;
     3038    }
     3039  }
    30183040#endif
    30193041}
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r924 r953  
    171171  std::vector<TComPic>   m_confListPic;         //  Dynamic buffer for storing pictures for conformance purposes
    172172#endif
     173#if FIX_NON_OUTPUT_LAYER
     174  Bool m_isOutputLayerFlag;
     175#endif
    173176public:
    174177#if POC_RESET_RESTRICTIONS
Note: See TracChangeset for help on using the changeset viewer.