Changeset 452 in SHVCSoftware
- Timestamp:
- 8 Nov 2013, 07:19:47 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/Lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TypeDef.h
r451 r452 78 78 #define VPS_MOVE_DIR_DEPENDENCY_FLAG 1 ///< JCTVC-M0268: Move the syntax element direct_dependency_flag to follow the syntax element dimension_id 79 79 #define VPS_PROFILE_OUTPUT_LAYERS 1 ///< JCTVC-M0268: Signal profile information and output layer information as in Sec. 3 of M0268v2 80 #define SPS_SUB_LAYER_INFO 1 ///< JCTVC-M0268: Do not signal sps_max_sub_layers_minus1 and sps_temporal_id_nesting_flag for nuh_layer_id greater than 081 80 #define M0457_PREDICTION_INDICATIONS 1 82 81 #define M0040_ADAPTIVE_RESOLUTION_CHANGE 1 -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r451 r452 536 536 } 537 537 538 #if S PS_SUB_LAYER_INFO538 #if SVC_EXTENSION 539 539 Void TDecCavlc::parseSPS(TComSPS* pcSPS, ParameterSetManagerDecoder *parameterSetManager) 540 540 #else … … 548 548 UInt uiCode; 549 549 READ_CODE( 4, uiCode, "sps_video_parameter_set_id"); pcSPS->setVPSId ( uiCode ); 550 #if S PS_SUB_LAYER_INFO550 #if SVC_EXTENSION 551 551 if(pcSPS->getLayerId() == 0) 552 552 { … … 556 556 557 557 READ_FLAG( uiCode, "sps_temporal_id_nesting_flag" ); pcSPS->setTemporalIdNestingFlag ( uiCode > 0 ? true : false ); 558 #if S PS_SUB_LAYER_INFO558 #if SVC_EXTENSION 559 559 } 560 560 else … … 563 563 pcSPS->setTemporalIdNestingFlag( parameterSetManager->getPrefetchedVPS(pcSPS->getVPSId())->getTemporalNestingFlag() ); 564 564 } 565 #endif566 565 #if IL_SL_SIGNALLING_N0371 567 566 pcSPS->setVPS( parameterSetManager->getPrefetchedVPS(pcSPS->getVPSId()) ); 568 567 pcSPS->setSPS( pcSPS->getLayerId(), pcSPS ); 569 568 #endif 569 #endif 570 570 if ( pcSPS->getMaxTLayers() == 1 ) 571 571 { 572 572 // sps_temporal_id_nesting_flag must be 1 when sps_max_sub_layers_minus1 is 0 573 #if S PS_SUB_LAYER_INFO573 #if SVC_EXTENSION 574 574 assert( pcSPS->getTemporalIdNestingFlag() == true ); 575 575 #else -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r442 r452 72 72 Void parseQtRootCbf ( UInt uiAbsPartIdx, UInt& uiQtRootCbf ); 73 73 Void parseVPS ( TComVPS* pcVPS ); 74 #if SPS_EXTENSION 74 75 #if VPS_EXTNS 75 76 Void parseVPSExtension ( TComVPS* pcVPS ); … … 82 83 Void parseRepFormat ( RepFormat *repFormat ); 83 84 #endif 84 #if SPS_SUB_LAYER_INFO85 85 Void parseSPS ( TComSPS* pcSPS, ParameterSetManagerDecoder *parameterSetManager ); 86 #else 86 Void parseSPSExtension ( TComSPS* pcSPS ); 87 #else //SVC_EXTENSION 87 88 Void parseSPS ( TComSPS* pcSPS ); 88 #endif 89 #if SPS_EXTENSION 90 Void parseSPSExtension ( TComSPS* pcSPS ); 91 #endif 89 #endif //SVC_EXTENSION 92 90 Void parsePPS ( TComPPS* pcPPS); 93 91 Void parseVUI ( TComVUI* pcVUI, TComSPS* pcSPS ); -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecEntropy.h
r345 r452 66 66 67 67 virtual Void parseVPS ( TComVPS* pcVPS ) = 0; 68 #if S PS_SUB_LAYER_INFO68 #if SVC_EXTENSION 69 69 virtual Void parseSPS ( TComSPS* pcSPS, ParameterSetManagerDecoder *parameterSetManager ) = 0; 70 70 #else … … 134 134 Void resetEntropy ( TComSlice* p) { m_pcEntropyDecoderIf->resetEntropy(p); } 135 135 Void decodeVPS ( TComVPS* pcVPS ) { m_pcEntropyDecoderIf->parseVPS(pcVPS); } 136 #if S PS_SUB_LAYER_INFO136 #if SVC_EXTENSION 137 137 Void decodeSPS ( TComSPS* pcSPS, ParameterSetManagerDecoder *parameterSetManager ) { m_pcEntropyDecoderIf->parseSPS(pcSPS, parameterSetManager); } 138 138 #else -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecSbac.h
r345 r452 76 76 Void setBitstream ( TComInputBitstream* p ) { m_pcBitstream = p; m_pcTDecBinIf->init( p ); } 77 77 Void parseVPS ( TComVPS* /*pcVPS*/ ) {} 78 #if S PS_SUB_LAYER_INFO78 #if SVC_EXTENSION 79 79 Void parseSPS ( TComSPS* /*pcSPS*/, ParameterSetManagerDecoder * /*parameterSetManager*/ ) {} 80 80 #else -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
r448 r452 1378 1378 #if SVC_EXTENSION 1379 1379 sps->setLayerId(m_layerId); 1380 #endif1381 1382 #if SPS_SUB_LAYER_INFO1383 1380 m_cEntropyDecoder.decodeSPS( sps, &m_parameterSetManagerDecoder[0] ); 1384 #else1385 m_cEntropyDecoder.decodeSPS( sps );1386 #endif1387 #if SVC_EXTENSION1388 1381 m_parameterSetManagerDecoder[m_layerId].storePrefetchedSPS(sps); 1389 #else1390 m_parameterSetManagerDecoder.storePrefetchedSPS(sps);1391 #endif1392 #if SVC_EXTENSION1393 1382 #if !REPN_FORMAT_IN_VPS // ILRP can only be initialized at activation 1394 1383 if(m_numLayer>0) … … 1397 1386 } 1398 1387 #endif 1399 #endif 1388 #else //SVC_EXTENSION 1389 m_cEntropyDecoder.decodeSPS( sps ); 1390 m_parameterSetManagerDecoder.storePrefetchedSPS(sps); 1391 #endif //SVC_EXTENSION 1400 1392 } 1401 1393 -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r451 r452 448 448 #endif 449 449 WRITE_CODE( pcSPS->getVPSId (), 4, "sps_video_parameter_set_id" ); 450 #if S PS_SUB_LAYER_INFO450 #if SVC_EXTENSION 451 451 if(pcSPS->getLayerId() == 0) 452 452 { … … 454 454 WRITE_CODE( pcSPS->getMaxTLayers() - 1, 3, "sps_max_sub_layers_minus1" ); 455 455 WRITE_FLAG( pcSPS->getTemporalIdNestingFlag() ? 1 : 0, "sps_temporal_id_nesting_flag" ); 456 #if S PS_SUB_LAYER_INFO456 #if SVC_EXTENSION 457 457 } 458 458 #endif
Note: See TracChangeset for help on using the changeset viewer.