[Bug 779146] dmabuf: be able to negotiate tiled surfaces

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 18 22:01:27 UTC 2018


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

--- Comment #44 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Would be nice to point to documentation that explains what the strides means,
the state of stride is terrible right now in DRM, here's what we implement in
Gst:

  - If dumb buffer, strides means bit-per-pixel * width / 8
  - Otherwise it's the stride of the first plane
  - If it's tiled, it will follow alignment and rules, and represent the stride
if the the image was made linear

I don't want to carry this horror in Gst. I'm sure random driver create random
rules they prefer to stick with in a creative way.

The problem is that it's not clear that for N plane we have N strides, the
content of the stride is not our problem of course, if drivers don't agree (and
that will happen all the time of course) it's driver bug, as long as we can
pass this information, but for this we need to store it some not so nasty
structure.

-- 
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