Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video encode: support more DPB image formats and usage limitations #489

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

clemy
Copy link

@clemy clemy commented Sep 12, 2024

This allows to use all image formats for DPB images. The video encode tests are not accessing the images, so they can support any image format.
Further, as the test cases do not access the images, only the usage flag VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR is necessary. I am not aware that implementations must support VK_IMAGE_USAGE_TRANSFER_SRC_BIT, but maybe I am wrong here?

Affects:
dEQP-VK.video.encode.*

The test cases do not need DPB images to support
VK_IMAGE_USAGE_TRANSFER_SRC_BIT. This change reduces
the usage flags to the necessary minimum.

Affects:
dEQP-VK.video.encode.*
The encoder test cases are not dependent on the DPB
image format as they do not access the images. Still
they required support for VK_FORMAT_G8_B8R8_2PLANE_420_UNORM.
This change allows any image format requested by
the implementation. It also changes some places were
imageFormat was used instead of dpbImageFormat.

Affects:
dEQP-VK.video.encode.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant