mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-07 06:08:16 +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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40374>
This commit is contained in:
parent
44bed00b8b
commit
0450e4ff65
1 changed files with 1 additions and 1 deletions
|
|
@ -983,7 +983,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