Changeset 938 in SHVCSoftware
- Timestamp:
- 26 Dec 2014, 20:41:37 (10 years ago)
- Location:
- branches/SHM-upgrade/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp
r936 r938 403 403 if( pcPPS->getInferScalingListFlag() ) 404 404 { 405 READ_ UVLC(uiCode, "pps_scaling_list_ref_layer_id" );405 READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" ); 406 406 pcPPS->setScalingListRefLayerId( uiCode ); 407 407 // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive … … 885 885 if( pcSPS->getInferScalingListFlag() ) 886 886 { 887 READ_ UVLC(uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode );888 889 // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive887 READ_CODE( 6, uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode ); 888 889 // The value of sps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive 890 890 assert( pcSPS->getScalingListRefLayerId() <= 62 ); 891 891 -
branches/SHM-upgrade/source/Lib/TLibEncoder/TEncCavlc.cpp
r918 r938 312 312 // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive 313 313 assert( pcPPS->getScalingListRefLayerId() <= 62 ); 314 WRITE_ UVLC( pcPPS->getScalingListRefLayerId(), "pps_scaling_list_ref_layer_id" );314 WRITE_CODE( pcPPS->getScalingListRefLayerId(), 6, "pps_scaling_list_ref_layer_id" ); 315 315 } 316 316 #endif … … 674 674 assert( pcSPS->getScalingListRefLayerId() <= 62 ); 675 675 676 WRITE_ UVLC( pcSPS->getScalingListRefLayerId(), "sps_scaling_list_ref_layer_id" );676 WRITE_CODE( pcSPS->getScalingListRefLayerId(), 6, "sps_scaling_list_ref_layer_id" ); 677 677 } 678 678 else
Note: See TracChangeset for help on using the changeset viewer.