Changeset 114 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib
- Timestamp:
- 5 Apr 2013, 10:18:38 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder/TDecCAVLC.cpp
r112 r114 729 729 READ_CODE( 4, uiCode, "vps_video_parameter_set_id" ); pcVPS->setVPSId( uiCode ); 730 730 READ_CODE( 2, uiCode, "vps_reserved_three_2bits" ); assert(uiCode == 3); 731 #if VPS_RENAME 732 READ_CODE( 6, uiCode, "vps_max_layers_minus1" ); pcVPS->setMaxLayers( uiCode + 1); 733 #else 731 734 READ_CODE( 6, uiCode, "vps_reserved_zero_6bits" ); assert(uiCode == 0); 735 #endif 732 736 READ_CODE( 3, uiCode, "vps_max_sub_layers_minus1" ); pcVPS->setMaxTLayers( uiCode + 1 ); 733 737 READ_FLAG( uiCode, "vps_temporal_id_nesting_flag" ); pcVPS->setTemporalNestingFlag( uiCode ? true:false ); -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncCavlc.cpp
r112 r114 566 566 WRITE_CODE( pcVPS->getVPSId(), 4, "vps_video_parameter_set_id" ); 567 567 WRITE_CODE( 3, 2, "vps_reserved_three_2bits" ); 568 #if VPS_RENAME 569 WRITE_CODE( pcVPS->getMaxLayers() - 1, 6, "vps_max_layers_minus1" ); 570 #else 568 571 WRITE_CODE( 0, 6, "vps_reserved_zero_6bits" ); 572 #endif 569 573 WRITE_CODE( pcVPS->getMaxTLayers() - 1, 3, "vps_max_sub_layers_minus1" ); 570 574 WRITE_FLAG( pcVPS->getTemporalNestingFlag(), "vps_temporal_id_nesting_flag" );
Note: See TracChangeset for help on using the changeset viewer.