mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
vulkan_av1: add workaround for NVIDIA drivers tested on broken CTS
The first release of the CTS for AV1 decoding had incorrect offsets for the OrderHints values. The CTS will be fixed, and eventually, the drivers will be updated to the proper spec-conforming behaviour, but we still need to add a workaround as this will take months. Only NVIDIA use these values at all, so limit the workaround to only NVIDIA. Also, other vendors don't tend to provide accurate CTS information.
This commit is contained in:
parent
3cca8dfbd8
commit
db09f1a5d8
3 changed files with 28 additions and 4 deletions
|
|
@ -72,6 +72,10 @@ typedef struct FFVulkanDecodeContext {
|
|||
int external_fg; /* Oddity #2 - hardware can't apply film grain */
|
||||
uint32_t frame_id_alloc_mask; /* For AV1 only */
|
||||
|
||||
/* Workaround for NVIDIA drivers tested with CTS version 1.3.8 for AV1.
|
||||
* The tests were incorrect as the OrderHints were offset by 1. */
|
||||
int quirk_av1_offset;
|
||||
|
||||
/* Thread-local state below */
|
||||
struct HEVCHeaderSet *hevc_headers;
|
||||
size_t hevc_headers_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue