Ignore:
Timestamp:
2 Feb 2014, 04:51:29 (11 years ago)
Author:
seregin
Message:

update to HM-13.0

File:
1 edited

Legend:

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

    r584 r593  
    44 * granted under this license. 
    55 *
    6  * Copyright (c) 2010-2013, ITU/ISO/IEC
     6 * Copyright (c) 2010-2014, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    404404#endif
    405405#endif
    406 #if !HM_CLEANUP_SAO
    407     rpcPic->getPicSym()->allocSaoParam(&m_cSAO);
    408 #endif
    409406    m_cListPic.pushBack( rpcPic );
    410407   
     
    485482#endif
    486483#endif
    487 #endif
    488 #if !HM_CLEANUP_SAO
    489   rpcPic->getPicSym()->allocSaoParam(&m_cSAO);
    490484#endif
    491485}
     
    784778#if REPN_FORMAT_IN_VPS
    785779#if AUXILIARY_PICTURES
    786 #if HM_CLEANUP_SAO
    787780  m_cSAO.create( m_apcSlicePilot->getPicWidthInLumaSamples(), m_apcSlicePilot->getPicHeightInLumaSamples(), sps->getChromaFormatIdc(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth() );
    788781#else
    789   m_cSAO.create( m_apcSlicePilot->getPicWidthInLumaSamples(), m_apcSlicePilot->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight() );
    790 #endif
    791 #else
    792 #if HM_CLEANUP_SAO
    793782  m_cSAO.create( m_apcSlicePilot->getPicWidthInLumaSamples(), m_apcSlicePilot->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth() );
    794 #else
    795   m_cSAO.create( m_apcSlicePilot->getPicWidthInLumaSamples(), m_apcSlicePilot->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight() );
    796 #endif
    797 #endif
    798 #else
    799 #if HM_CLEANUP_SAO
     783#endif
     784#else
    800785  m_cSAO.create( sps->getPicWidthInLumaSamples(), sps->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth() );
    801 #else
    802   m_cSAO.create( sps->getPicWidthInLumaSamples(), sps->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight() );
    803 #endif
    804786#endif
    805787  m_cLoopFilter.create( sps->getMaxCUDepth() );
     
    817799{
    818800  TComPic*&   pcPic         = m_pcPic;
     801#if SVC_EXTENSION
    819802#if NO_CLRAS_OUTPUT_FLAG
    820803  Bool bFirstSliceInSeq;
    821804#endif
    822 #if SVC_EXTENSION
    823805  m_apcSlicePilot->setVPS( m_parameterSetManagerDecoder.getPrefetchedVPS(0) );
    824806#if OUTPUT_LAYER_SET_INDEX
     
    831813#endif
    832814  m_apcSlicePilot->initSlice( nalu.m_layerId );
    833 #else
     815#else //SVC_EXTENSION
    834816  m_apcSlicePilot->initSlice();
    835817#endif
     
    839821    m_uiSliceIdx     = 0;
    840822  }
     823  else
     824  {
     825    m_apcSlicePilot->copySliceInfo( pcPic->getPicSym()->getSlice(m_uiSliceIdx-1) );
     826  }
    841827  m_apcSlicePilot->setSliceIdx(m_uiSliceIdx);
    842   if (!m_bFirstSliceInPicture)
    843   {
    844     m_apcSlicePilot->copySliceInfo( pcPic->getPicSym()->getSlice(m_uiSliceIdx-1) );
    845   }
    846828
    847829  m_apcSlicePilot->setNalUnitType(nalu.m_nalUnitType);
     
    857839
    858840#if SVC_EXTENSION
    859   m_apcSlicePilot->setSliceIdx( m_uiSliceIdx ); // it should be removed if HM will reflect it in above
    860841#if VPS_EXTN_DIRECT_REF_LAYERS
    861842  setRefLayerParams(m_apcSlicePilot->getVPS());
     
    18751856      return false;
    18761857     
     1858     
     1859    case NAL_UNIT_RESERVED_VCL_N10:
     1860    case NAL_UNIT_RESERVED_VCL_R11:
     1861    case NAL_UNIT_RESERVED_VCL_N12:
     1862    case NAL_UNIT_RESERVED_VCL_R13:
     1863    case NAL_UNIT_RESERVED_VCL_N14:
     1864    case NAL_UNIT_RESERVED_VCL_R15:
     1865     
     1866    case NAL_UNIT_RESERVED_IRAP_VCL22:
     1867    case NAL_UNIT_RESERVED_IRAP_VCL23:
     1868     
     1869    case NAL_UNIT_RESERVED_VCL24:
     1870    case NAL_UNIT_RESERVED_VCL25:
     1871    case NAL_UNIT_RESERVED_VCL26:
     1872    case NAL_UNIT_RESERVED_VCL27:
     1873    case NAL_UNIT_RESERVED_VCL28:
     1874    case NAL_UNIT_RESERVED_VCL29:
     1875    case NAL_UNIT_RESERVED_VCL30:
     1876    case NAL_UNIT_RESERVED_VCL31:
     1877     
     1878    case NAL_UNIT_FILLER_DATA:
     1879    case NAL_UNIT_RESERVED_NVCL41:
     1880    case NAL_UNIT_RESERVED_NVCL42:
     1881    case NAL_UNIT_RESERVED_NVCL43:
     1882    case NAL_UNIT_RESERVED_NVCL44:
     1883    case NAL_UNIT_RESERVED_NVCL45:
     1884    case NAL_UNIT_RESERVED_NVCL46:
     1885    case NAL_UNIT_RESERVED_NVCL47:
     1886    case NAL_UNIT_UNSPECIFIED_48:
     1887    case NAL_UNIT_UNSPECIFIED_49:
     1888    case NAL_UNIT_UNSPECIFIED_50:
     1889    case NAL_UNIT_UNSPECIFIED_51:
     1890    case NAL_UNIT_UNSPECIFIED_52:
     1891    case NAL_UNIT_UNSPECIFIED_53:
     1892    case NAL_UNIT_UNSPECIFIED_54:
     1893    case NAL_UNIT_UNSPECIFIED_55:
     1894    case NAL_UNIT_UNSPECIFIED_56:
     1895    case NAL_UNIT_UNSPECIFIED_57:
     1896    case NAL_UNIT_UNSPECIFIED_58:
     1897    case NAL_UNIT_UNSPECIFIED_59:
     1898    case NAL_UNIT_UNSPECIFIED_60:
     1899    case NAL_UNIT_UNSPECIFIED_61:
     1900    case NAL_UNIT_UNSPECIFIED_62:
     1901    case NAL_UNIT_UNSPECIFIED_63:
     1902
    18771903    default:
    18781904      assert (0);
     
    19541980}
    19551981
     1982#if SVC_EXTENSION
    19561983#if VPS_EXTN_DIRECT_REF_LAYERS
    19571984TDecTop* TDecTop::getRefLayerDec( UInt refLayerIdc )
     
    19681995
    19691996#if VPS_EXTN_DIRECT_REF_LAYERS
    1970 
    19711997Void TDecTop::setRefLayerParams( TComVPS* vps )
    19721998{
     
    21372163}
    21382164#endif
     2165#endif //SVC_EXTENSION
    21392166//! \}
Note: See TracChangeset for help on using the changeset viewer.