mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +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> (cherry picked from commit88dacc3d80)
This commit is contained in:
parent
24589d8247
commit
288a68903e
2 changed files with 2 additions and 2 deletions
|
|
@ -1264,7 +1264,7 @@
|
|||
"description": "radv/video: set TemporalId correctly",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "967e4e09dee81b93cfb30195ab5e1878aca9dbd0",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -940,7 +940,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