Changeset 593 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
- Timestamp:
- 2 Feb 2014, 04:51:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
r584 r593 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 3, ITU/ISO/IEC6 * Copyright (c) 2010-2014, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 404 404 #endif 405 405 #endif 406 #if !HM_CLEANUP_SAO407 rpcPic->getPicSym()->allocSaoParam(&m_cSAO);408 #endif409 406 m_cListPic.pushBack( rpcPic ); 410 407 … … 485 482 #endif 486 483 #endif 487 #endif488 #if !HM_CLEANUP_SAO489 rpcPic->getPicSym()->allocSaoParam(&m_cSAO);490 484 #endif 491 485 } … … 784 778 #if REPN_FORMAT_IN_VPS 785 779 #if AUXILIARY_PICTURES 786 #if HM_CLEANUP_SAO787 780 m_cSAO.create( m_apcSlicePilot->getPicWidthInLumaSamples(), m_apcSlicePilot->getPicHeightInLumaSamples(), sps->getChromaFormatIdc(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth() ); 788 781 #else 789 m_cSAO.create( m_apcSlicePilot->getPicWidthInLumaSamples(), m_apcSlicePilot->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight() );790 #endif791 #else792 #if HM_CLEANUP_SAO793 782 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 800 785 m_cSAO.create( sps->getPicWidthInLumaSamples(), sps->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight(), sps->getMaxCUDepth() ); 801 #else802 m_cSAO.create( sps->getPicWidthInLumaSamples(), sps->getPicHeightInLumaSamples(), sps->getMaxCUWidth(), sps->getMaxCUHeight() );803 #endif804 786 #endif 805 787 m_cLoopFilter.create( sps->getMaxCUDepth() ); … … 817 799 { 818 800 TComPic*& pcPic = m_pcPic; 801 #if SVC_EXTENSION 819 802 #if NO_CLRAS_OUTPUT_FLAG 820 803 Bool bFirstSliceInSeq; 821 804 #endif 822 #if SVC_EXTENSION823 805 m_apcSlicePilot->setVPS( m_parameterSetManagerDecoder.getPrefetchedVPS(0) ); 824 806 #if OUTPUT_LAYER_SET_INDEX … … 831 813 #endif 832 814 m_apcSlicePilot->initSlice( nalu.m_layerId ); 833 #else 815 #else //SVC_EXTENSION 834 816 m_apcSlicePilot->initSlice(); 835 817 #endif … … 839 821 m_uiSliceIdx = 0; 840 822 } 823 else 824 { 825 m_apcSlicePilot->copySliceInfo( pcPic->getPicSym()->getSlice(m_uiSliceIdx-1) ); 826 } 841 827 m_apcSlicePilot->setSliceIdx(m_uiSliceIdx); 842 if (!m_bFirstSliceInPicture)843 {844 m_apcSlicePilot->copySliceInfo( pcPic->getPicSym()->getSlice(m_uiSliceIdx-1) );845 }846 828 847 829 m_apcSlicePilot->setNalUnitType(nalu.m_nalUnitType); … … 857 839 858 840 #if SVC_EXTENSION 859 m_apcSlicePilot->setSliceIdx( m_uiSliceIdx ); // it should be removed if HM will reflect it in above860 841 #if VPS_EXTN_DIRECT_REF_LAYERS 861 842 setRefLayerParams(m_apcSlicePilot->getVPS()); … … 1875 1856 return false; 1876 1857 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 1877 1903 default: 1878 1904 assert (0); … … 1954 1980 } 1955 1981 1982 #if SVC_EXTENSION 1956 1983 #if VPS_EXTN_DIRECT_REF_LAYERS 1957 1984 TDecTop* TDecTop::getRefLayerDec( UInt refLayerIdc ) … … 1968 1995 1969 1996 #if VPS_EXTN_DIRECT_REF_LAYERS 1970 1971 1997 Void TDecTop::setRefLayerParams( TComVPS* vps ) 1972 1998 { … … 2137 2163 } 2138 2164 #endif 2165 #endif //SVC_EXTENSION 2139 2166 //! \}
Note: See TracChangeset for help on using the changeset viewer.