Changeset 937 in SHVCSoftware
- Timestamp:
- 26 Dec 2014, 20:41:19 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r923 r937 305 305 if( pcPPS->getInferScalingListFlag() ) 306 306 { 307 READ_ UVLC(uiCode, "pps_scaling_list_ref_layer_id" ); pcPPS->setScalingListRefLayerId( uiCode );307 READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" ); pcPPS->setScalingListRefLayerId( uiCode ); 308 308 309 309 // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive … … 479 479 if( pcPPS->getInferScalingListFlag() ) 480 480 { 481 READ_ UVLC(uiCode, "pps_scaling_list_ref_layer_id" );481 READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" ); 482 482 pcPPS->setScalingListRefLayerId( uiCode ); 483 483 // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive … … 1043 1043 if( pcSPS->getInferScalingListFlag() ) 1044 1044 { 1045 READ_ UVLC(uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode );1046 1047 // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive1045 READ_CODE( 6, uiCode, "sps_scaling_list_ref_layer_id" ); pcSPS->setScalingListRefLayerId( uiCode ); 1046 1047 // The value of sps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive 1048 1048 assert( pcSPS->getScalingListRefLayerId() <= 62 ); 1049 1049 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r908 r937 237 237 assert( pcPPS->getScalingListRefLayerId() <= 62 ); 238 238 239 WRITE_ UVLC( pcPPS->getScalingListRefLayerId(), "pps_scaling_list_ref_layer_id" );239 WRITE_CODE( pcPPS->getScalingListRefLayerId(), 6, "pps_scaling_list_ref_layer_id" ); 240 240 } 241 241 else … … 355 355 // The value of pps_scaling_list_ref_layer_id shall be in the range of 0 to 62, inclusive 356 356 assert( pcPPS->getScalingListRefLayerId() <= 62 ); 357 WRITE_ UVLC( pcPPS->getScalingListRefLayerId(), "pps_scaling_list_ref_layer_id" );357 WRITE_CODE( pcPPS->getScalingListRefLayerId(), 6, "pps_scaling_list_ref_layer_id" ); 358 358 } 359 359 #endif … … 796 796 assert( pcSPS->getScalingListRefLayerId() <= 62 ); 797 797 798 WRITE_ UVLC( pcSPS->getScalingListRefLayerId(), "sps_scaling_list_ref_layer_id" );798 WRITE_CODE( pcSPS->getScalingListRefLayerId(), 6, "sps_scaling_list_ref_layer_id" ); 799 799 } 800 800 else
Note: See TracChangeset for help on using the changeset viewer.