Ticket #749: VPS_BUGFIX_749.patch
File VPS_BUGFIX_749.patch, 1.5 KB (added by adarsh, 11 years ago) |
---|
-
TLibCommon/TypeDef.h
42 42 43 43 //! \ingroup TLibCommon 44 44 //! \{ 45 46 #define VPS_BUGFIX 1 ///< Fix VPS-related bugs reported in Ticket #749 45 47 #define SPS_AMVP_CLEANUP 1 ///< remove old AMVP related code for alignment with draft text 46 48 #define SUPPORT_FOR_VUI 1 ///< new: add support for VUI and hrd_parameters 47 49 #define TARGET_DECLAYERID_SET 1 ///< J0074: targetDecLayerIdSet for sub-bitstream extraction process -
TLibEncoder/TEncCavlc.cpp
569 569 { 570 570 #if VPS_SYNTAX_CHANGES 571 571 WRITE_CODE( pcVPS->getVPSId(), 4, "video_parameter_set_id" ); 572 #if VPS_BUGFIX 573 WRITE_FLAG( pcVPS->getTemporalNestingFlag(), "vps_temporal_id_nesting_flag" ); 574 #else 572 575 WRITE_FLAG( pcVPS->getTemporalNestingFlag() - 1, "vps_temporal_id_nesting_flag" ); 576 #endif 573 577 WRITE_CODE( 0, 2, "vps_reserved_zero_2bits" ); 574 578 WRITE_CODE( 0, 6, "vps_reserved_zero_6bits" ); 575 579 WRITE_CODE( pcVPS->getMaxTLayers() - 1, 3, "vps_max_sub_layers_minus1" );