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

Added Q416 fourcc for 16-bit YUV 4:4:4 planar format #735

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

thesword53
Copy link
Contributor

Needed to support YUV 4:4:4 10 and 12 bits HEVC decoding for https://github.com/elFarto/nvidia-vaapi-driver.
Nvidia proprietary driver uses planar YUV 4:4:4 for 16 bits surfaces according to cuviddec.h.

Copy link
Contributor

@XinfengZhang XinfengZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have no concern about VA_FOURCC('Q', '4', '1' '6')
but there are usage to define a planar 444 16 bit?

@thesword53
Copy link
Contributor Author

but there are usage to define a planar 444 16 bit?

nvidia-vaapi-driver is a VAAPI implementation on top of NVDEC (Nvidia proprietary hardware decode API) and it requires planar YUV444 16 bits surface to decode HEVC YUV444 10 and 12 bits videos and there is no fourcc in va.h for yuv444p16 but only one for packed YUVA 444 16 bits.

have no concern about VA_FOURCC('Q', '4', '1' '6')

Q416 fourcc is inspired from DRM_FORMAT_Q410 drm_fourcc.h (10 bits planar YUV 444) in linux kernel headers.

@XinfengZhang XinfengZhang merged commit 11dab04 into intel:master Sep 13, 2023
13 checks passed
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.

2 participants