The spec states that the range of values for them is −2^14 to 2^14 − 1, inclusive.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -317,15 +317,15 @@ typedef struct HEVCPPS { · 316 unmodified lines | ||
| 317 | 317 | uint8_t num_ref_loc_offsets; |
| 318 | 318 | uint8_t ref_loc_offset_layer_id[64]; |
| 319 | 319 | uint8_t scaled_ref_layer_offset_present_flag[64]; |
| 320 | − int8_t scaled_ref_layer_left_offset[64]; | |
| 321 | − int8_t scaled_ref_layer_top_offset[64]; | |
| 322 | − int8_t scaled_ref_layer_right_offset[64]; | |
| 323 | − int8_t scaled_ref_layer_bottom_offset[64]; | |
| 320 | + int16_t scaled_ref_layer_left_offset[64]; | |
| 321 | + int16_t scaled_ref_layer_top_offset[64]; | |
| 322 | + int16_t scaled_ref_layer_right_offset[64]; | |
| 323 | + int16_t scaled_ref_layer_bottom_offset[64]; | |
| 324 | 324 | uint8_t ref_region_offset_present_flag[64]; |
| 325 | − int8_t ref_region_left_offset[64]; | |
| 326 | − int8_t ref_region_top_offset[64]; | |
| 327 | − int8_t ref_region_right_offset[64]; | |
| 328 | − int8_t ref_region_bottom_offset[64]; | |
| 325 | + int16_t ref_region_left_offset[64]; | |
| 326 | + int16_t ref_region_top_offset[64]; | |
| 327 | + int16_t ref_region_right_offset[64]; | |
| 328 | + int16_t ref_region_bottom_offset[64]; | |
| 329 | 329 | uint8_t resample_phase_set_present_flag[64]; |
| 330 | 330 | uint16_t phase_hor_luma[64]; |
| 331 | 331 | uint16_t phase_ver_luma[64]; |