[Bug 785029] kmssink: Add dumb buffer support for driver pitch with multi planar formats

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 25 13:01:49 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=785029

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #356355|0                           |1
        is obsolete|                            |

--- Comment #12 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Created attachment 356356
  --> https://bugzilla.gnome.org/attachment.cgi?id=356356&action=edit
kmsallocator: add driver pitch support for planar formats

We used to to handle the driver pitch only for single plan video format.
Add support for multi planes format by re-using the extrapolate function
from the v4l2 element.
Also use this pitch to calculate the proper offsets.

Prevent DRM drivers to pick a slow path if the pitches/offsets don't
match the ones it reported.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list