From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109783] YUV422 support not advertised for VAProfileJPEGBaseline decoding Date: Mon, 25 Feb 2019 22:57:10 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1720577903==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 27CF889B70 for ; Mon, 25 Feb 2019 22:57:11 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1720577903== Content-Type: multipart/alternative; boundary="15511354311.6ac21632A.12487" Content-Transfer-Encoding: 7bit --15511354311.6ac21632A.12487 Date: Mon, 25 Feb 2019 22:57:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D109783 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@lists.freedesktop.org Reporter: andrescj@chromium.org QA Contact: dri-devel@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 wo= rks 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_trac= kers/va/picture.c#L607-610 --=20 You are receiving this mail because: You are the assignee for the bug.= --15511354311.6ac21632A.12487 Date: Mon, 25 Feb 2019 22:57:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 109783
Summary YUV422 support not advertised for VAProfileJPEGBaseline decod= ing
Product Mesa
Version unspecified
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter andrescj@chromium.org
QA Contact dri-devel@lists.freedesktop.org

Hi. I'm trying to detect the VAAPI JPEG decoder capabilities u=
sing
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 wo=
rks
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.
= --15511354311.6ac21632A.12487-- --===============1720577903== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1720577903==--