mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
radv/video: set TemporalId correctly
This is only relevant for hierarchical coding using sub-layers.
Fixes: 967e4e09de ("radv/video: add h265 encode support")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Colin Marc <hi@colinmarc.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31303>
This commit is contained in:
parent
2cf5ef37ba
commit
88dacc3d80
1 changed files with 1 additions and 1 deletions
|
|
@ -947,7 +947,7 @@ radv_enc_slice_header_hevc(struct radv_cmd_buffer *cmd_buffer, const VkVideoEnco
|
|||
radv_enc_code_fixed_bits(cmd_buffer, 0x0, 1);
|
||||
radv_enc_code_fixed_bits(cmd_buffer, nal_unit_type, 6);
|
||||
radv_enc_code_fixed_bits(cmd_buffer, 0x0, 6);
|
||||
radv_enc_code_fixed_bits(cmd_buffer, 0x1, 3);
|
||||
radv_enc_code_fixed_bits(cmd_buffer, pic->TemporalId + 1, 3);
|
||||
|
||||
radv_enc_flush_headers(cmd_buffer);
|
||||
instruction[inst_index] = RENCODE_HEADER_INSTRUCTION_COPY;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue