From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200) Date: Tue, 16 Apr 2019 04:41:34 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1555609011==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C36F89007 for ; Tue, 16 Apr 2019 04:41:34 +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 --===============1555609011== Content-Type: multipart/alternative; boundary="15553896940.E5e3E63.23895" Content-Transfer-Encoding: 7bit --15553896940.E5e3E63.23895 Date: Tue, 16 Apr 2019 04:41:34 +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=3D110443 Bug ID: 110443 Summary: vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200) 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: julien.isorce@gmail.com QA Contact: dri-devel@lists.freedesktop.org vaDeriveImage reports wrong stride. Indeed Mesa's vlVaDeriveImage always sets the stride to w * 4 for RGBA form= at https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/i= mage.c#n259=20 This results in wrong video output, see https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/100 Is there a way to know the pipe_resource's stride https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/i= mage.c#n283 without exporting it to dmabuf (through whandle.stride) and without mapping= it (drv->pipe->transfer_map / pipe_transfer.stride) ? --=20 You are receiving this mail because: You are the assignee for the bug.= --15553896940.E5e3E63.23895 Date: Tue, 16 Apr 2019 04:41:34 +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 110443
Summary vaapi/vpp: wrong output for non 64-bytes align width (ex: 120= 0)
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 julien.isorce@gmail.com
QA Contact dri-devel@lists.freedesktop.org

vaDeriveImage reports wrong stride.

Indeed Mesa's vlVaDeriveImage always sets the stride to w * 4 for RGBA form=
at
https://cgit.freedesktop.org/mesa/mesa/tree/src/gal=
lium/state_trackers/va/image.c#n259=20

This results in wrong video output, see
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/100

Is there a way to know the pipe_resource's stride
https://cgit.freedesktop.org/mesa/mesa/tree/src/gal=
lium/state_trackers/va/image.c#n283
without exporting it to dmabuf (through whandle.stride) and without mapping=
 it
(drv->pipe->transfer_map / pipe_transfer.stride) ?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15553896940.E5e3E63.23895-- --===============1555609011== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1555609011==--