mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 13:50:11 +01:00
vulkan/video: Fix coding AV1 seq_choose_screen_content_tools = 1
Fixes:724655bfc6("vulkan/video: add support for AV1 encoding to runtime") Reviewed-by: Hyunjun Ko <zzoon@igalia.com> Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com> (cherry picked from commit22803f0d50) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
parent
1cbce7ea76
commit
51a21fa57e
2 changed files with 2 additions and 2 deletions
|
|
@ -454,7 +454,7 @@
|
|||
"description": "vulkan/video: Fix coding AV1 seq_choose_screen_content_tools = 1",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "724655bfc6b70deec343a963d8728d1bd641db44",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -3167,7 +3167,7 @@ vk_video_encode_av1_seq_hdr(const struct vk_video_session_parameters *params,
|
|||
|
||||
if (seq_hdr->seq_force_screen_content_tools > 0) {
|
||||
if (seq_hdr->seq_force_integer_mv == 2 /* SELECT_INTEGER_MV */)
|
||||
vl_bitstream_put_bits(&enc, 1, seq_hdr->seq_force_integer_mv); /* seq_choose_integer_mv = 1 */
|
||||
vl_bitstream_put_bits(&enc, 1, 1); /* seq_choose_integer_mv = 1 */
|
||||
else {
|
||||
vl_bitstream_put_bits(&enc, 1, 0); /* seq_choose_integer_mv = 0 */
|
||||
vl_bitstream_put_bits(&enc, 1, seq_hdr->seq_force_integer_mv);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue