[Bug 109783] YUV422 support not advertised for VAProfileJPEGBaseline decoding

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 25 22:57:10 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109783

            Bug ID: 109783
           Summary: YUV422 support not advertised for
                    VAProfileJPEGBaseline decoding
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: andrescj at chromium.org
        QA Contact: dri-devel at lists.freedesktop.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190225/937f5120/attachment.html>


More information about the dri-devel mailing list