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:
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) ?