Changeset 1145 in SHVCSoftware
- Timestamp:
- 7 Jul 2015, 23:44:14 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1139 r1145 775 775 UInt m_treePartitionLayerIdList[MAX_LAYERS][MAX_LAYERS]; 776 776 #endif 777 #if SPS_DPB_PARAMS778 777 Int m_TolsIdx; 779 #endif780 778 #if VPS_DPB_SIZE_TABLE 781 779 Bool m_subLayerFlagInfoPresentFlag [MAX_VPS_OP_LAYER_SETS_PLUS1]; -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1144 r1145 182 182 #endif 183 183 #endif 184 #define SPS_DPB_PARAMS 1 ///< JCTVC-P0155 signaling & inferrence for sps dpb parameters for nuh_layer_id > 0185 184 #define DPB_PARAMS_MAXTLAYERS 1 ///< JCTVC-P0156 DPB parameters up to maximum temporal sub-layers in the layer set 186 185 #define NUM_OL_FLAGS 1 ///< JCTVC-P0156 output_layer_flag[ i ][ j ] is signalled for j equal to 0 to NumLayersInIdList[ lsIdx ] inclusive -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r1029 r1145 76 76 Void parseQtRootCbf ( UInt uiAbsPartIdx, UInt& uiQtRootCbf ); 77 77 Void parseVPS ( TComVPS* pcVPS ); 78 Void parseSPS ( TComSPS* pcSPS ); 78 79 #if !SVC_EXTENSION 79 Void parseSPS ( TComSPS* pcSPS );80 80 Void parsePPS ( TComPPS* pcPPS ); 81 81 #endif … … 141 141 Void parseVpsVuiBspHrdParams( TComVPS *vps ); 142 142 #endif 143 #if SPS_DPB_PARAMS144 Void parseSPS ( TComSPS* pcSPS ); // it should be removed after macro clean up145 #else146 Void parseSPS ( TComSPS* pcSPS, ParameterSetManagerDecoder *parameterSetManager );147 #endif148 143 Void parseSPSExtension ( TComSPS* pcSPS ); 149 144 #if Q0048_CGS_3D_ASYMLUT -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1139 r1145 484 484 } 485 485 486 #if SVC_EXTENSION 486 487 #if SCALINGLIST_INFERRING 487 488 // scaling list settings and checks … … 578 579 #endif 579 580 580 #if SPS_DPB_PARAMS581 581 if( m_layerId > 0 ) 582 582 { … … 629 629 #endif 630 630 } 631 #endif632 631 633 632 #if R0227_REP_FORMAT_CONSTRAINT //Conformance checking for rep format -- rep format of current picture of current layer shall never be greater rep format defined in VPS for the current layer … … 651 650 } 652 651 #endif 652 #endif //SVC_EXTENSION 653 653 654 654 m_apcSlicePilot->setPPS(pps); … … 2004 2004 } 2005 2005 2006 #if SVC_EXTENSION2007 2006 Void TDecTop::xDecodeSPS() 2008 2007 { … … 2011 2010 sps->setForceDecodeBitDepth(m_forceDecodeBitDepth); 2012 2011 #endif 2012 #if SVC_EXTENSION 2013 2013 sps->setLayerId(m_layerId); 2014 #if SPS_DPB_PARAMS 2015 m_cEntropyDecoder.decodeSPS( sps ); // it should be removed after macro clean up 2016 #else 2017 m_cEntropyDecoder.decodeSPS( sps, &m_parameterSetManagerDecoder ); 2018 #endif 2014 #endif 2015 m_cEntropyDecoder.decodeSPS( sps ); 2019 2016 m_parameterSetManagerDecoder.storePrefetchedSPS(sps); 2020 #if !REPN_FORMAT_IN_VPS // ILRP can only be initialized at activation 2021 if(m_numLayer>0) 2022 { 2023 xInitILRP(sps); 2024 } 2025 #endif 2026 } 2027 2028 Void TDecTop::xDecodePPS( 2017 } 2018 2029 2019 #if Q0048_CGS_3D_ASYMLUT 2030 TCom3DAsymLUT * pc3DAsymLUT 2031 #endif 2032 ) 2020 Void TDecTop::xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT ) 2021 #else 2022 Void TDecTop::xDecodePPS() 2023 #endif 2033 2024 { 2034 2025 TComPPS* pps = new TComPPS(); … … 2037 2028 pps->setLayerId( m_layerId ); 2038 2029 #endif 2039 2040 m_cEntropyDecoder.decodePPS( pps2041 2030 #if Q0048_CGS_3D_ASYMLUT 2042 , pc3DAsymLUT , m_layerId 2043 #endif 2044 ); 2031 m_cEntropyDecoder.decodePPS( pps, pc3DAsymLUT, m_layerId ); 2032 #else 2033 m_cEntropyDecoder.decodePPS( pps ); 2034 #endif 2045 2035 m_parameterSetManagerDecoder.storePrefetchedPPS( pps ); 2046 2036 } 2047 #else2048 Void TDecTop::xDecodeSPS()2049 {2050 TComSPS* sps = new TComSPS();2051 #if O0043_BEST_EFFORT_DECODING2052 sps->setForceDecodeBitDepth(m_forceDecodeBitDepth);2053 #endif2054 m_cEntropyDecoder.decodeSPS( sps );2055 m_parameterSetManagerDecoder.storePrefetchedSPS(sps);2056 }2057 2058 Void TDecTop::xDecodePPS()2059 {2060 TComPPS* pps = new TComPPS();2061 m_cEntropyDecoder.decodePPS( pps );2062 m_parameterSetManagerDecoder.storePrefetchedPPS( pps );2063 }2064 #endif //SVC_EXTENSION2065 2037 2066 2038 Void TDecTop::xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType ) -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r1131 r1145 301 301 Void xDecodeVPS(); 302 302 Void xDecodeSPS(); 303 Void xDecodePPS(304 303 #if Q0048_CGS_3D_ASYMLUT 305 TCom3DAsymLUT * pc3DAsymLUT 306 #endif 307 ); 304 Void xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT ); 305 #else 306 Void xDecodePPS(); 307 #endif 308 308 Void xDecodeSEI( TComInputBitstream* bs, const NalUnitType nalUnitType ); 309 309
Note: See TracChangeset for help on using the changeset viewer.