Bug 109783 - YUV422 support not advertised for VAProfileJPEGBaseline decoding
Summary: YUV422 support not advertised for VAProfileJPEGBaseline decoding
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 18.2
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-25 22:57 UTC by Andres
Modified: 2019-09-25 18:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andres 2019-02-25 22:57:10 UTC
Hi. I'm trying to detect the VAAPI JPEG decoder capabilities using vaQueryConfigAttributes(). I'm getting VA_RT_FORMAT_YUV420 as the only value for VAConfigAttribRTFormat when the profile is VAProfileJPEGBaseline and the entrypoint is VAEntrypointVLD. However, based on [1], it seems that the JPEG decoder would be happy to decode YUV422 images (in fact, YUV422 decoding works when I call vaCreateSurfaces() with VA_RT_FORMAT_YUV422).

Note that when I use vaQuerySurfaceAttributes(), I only get NV12 for VASurfaceAttribPixelFormat, so YUV422 is also not advertised there.

Is this intended behavior?

[1] https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/gallium/state_trackers/va/picture.c#L607-610
Comment 1 GitLab Migration User 2019-09-25 18:49:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1375.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.