Skip to contentSkip to conversation

YUV422 support not advertised for VAProfileJPEGBaseline decoding

Bug 109783 [email protected] 1 participant 3 messages Feb 25, 2019 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

Andres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|unspecified |18.2

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #1 from GitLab Migration User <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel