Changeset 77 in 3DVCSoftware for trunk/source/Lib/TLibExtractor/TExtrTop.cpp


Ignore:
Timestamp:
14 Jun 2012, 16:38:29 (12 years ago)
Author:
tech
Message:

Merged with branch/HTM-3.0Samsung REV74 including:

  • restricted residual prediction m24766
  • Inter-view residual prediction m24938
  • VPS concept m24714,m24878, m24945,m24896, m2491
  • reference list modification, restriction on IDR m24876, m24874
  • depth based motion parameter prediction m24829

Fixed bugs:

  • interview prediction
  • VSO

Added:

  • xcode project
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibExtractor/TExtrTop.cpp

    r56 r77  
    5555Bool TExtrTop::extract( InputNALUnit& nalu, std::set<UInt>& rsuiExtractLayerIds )
    5656{
     57#if VIDYO_VPS_INTEGRATION
     58        //extraction now has to be done using layer_id
     59  UInt uiLayerId = nalu.m_layerId;
     60#else
    5761  UInt uiLayerId = xGetLayerId( nalu.m_viewId, nalu.m_isDepth );
    58 
     62#endif
    5963  // Initialize entropy decoder
    6064  m_cEntropyDecoder.setEntropyDecoder( &m_cCavlcDecoder );
    6165  m_cEntropyDecoder.setBitstream     ( nalu.m_Bitstream );
    6266 
     67#if VIDYO_VPS_INTEGRATION
     68  if ( nalu.m_nalUnitType == NAL_UNIT_VPS )
     69  {
     70    // a hack for now assuming there's only one VPS in the bitstream
     71    m_cEntropyDecoder.decodeVPS( &m_cVPS );
     72     
     73  }
     74#endif
     75
    6376  if ( nalu.m_nalUnitType == NAL_UNIT_SPS )
    6477  {
     
    6982#endif
    7083#if HHI_MPI
     84#if VIDYO_VPS_INTEGRATION
     85     m_cEntropyDecoder.decodeSPS( &cSPS, m_cVPS.getDepthFlag(uiLayerId) );
     86#else
    7187     m_cEntropyDecoder.decodeSPS( &cSPS, nalu.m_isDepth );
     88#endif
    7289#else
    7390     m_cEntropyDecoder.decodeSPS( &cSPS );
Note: See TracChangeset for help on using the changeset viewer.