mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
radv/video: Fix AV1 encode min tile size
Fixes:37e71a5cb2("radv/video: add support for AV1 encoding") Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> (cherry picked from commit0450e4ff65) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40488>
This commit is contained in:
parent
0bf2abc5d5
commit
9794a3970a
2 changed files with 2 additions and 2 deletions
|
|
@ -324,7 +324,7 @@
|
|||
"description": "radv/video: Fix AV1 encode min tile size",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "37e71a5cb24cd6053603ca64b67352e0c8e2fce8",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1120,7 +1120,7 @@ radv_GetPhysicalDeviceVideoCapabilitiesKHR(VkPhysicalDevice physicalDevice, cons
|
|||
enc_caps->encodeInputPictureGranularity = pCapabilities->pictureAccessGranularity;
|
||||
ext->maxTiles.width = 2;
|
||||
ext->maxTiles.height = 16;
|
||||
ext->minTileSize.width = 64;
|
||||
ext->minTileSize.width = pdev->enc_hw_ver >= RADV_VIDEO_ENC_HW_5 ? 256 : 128;
|
||||
ext->minTileSize.height = 64;
|
||||
ext->maxTileSize.width = 4096;
|
||||
ext->maxTileSize.height = 4096;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue