[Bug 110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 16 04:41:34 UTC 2019


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

            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 at lists.freedesktop.org
          Reporter: julien.isorce at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

vaDeriveImage reports wrong stride.

Indeed Mesa's vlVaDeriveImage always sets the stride to w * 4 for RGBA format
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/image.c#n259 

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/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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190416/583bca12/attachment.html>


More information about the dri-devel mailing list