[Bug 775564] v4l2 1.10 Regression: white pixels with camera on Raspberry Pi & gstgl

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jan 29 18:42:36 UTC 2017


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

--- Comment #11 from gohai <gottfried.haider at gmail.com> ---
Nicolas, are you planning on incorporating your patch into future 1.10.x
releases?

I've pointed the driver developers to the issue - here's the response that I've
got. (Believe the current behavior is around to stay.)

"It's not a bug. The GPU has a restriction that the height must be a multiple
of 16. Your height of 200 is not. The buffer size has to reflect the padded
height of a frame to 640x208, otherwise you'll corrupt the memory after your
image. 640*208 = 133120 which is the result you have seen.
I've not seen a mechanism within V4L2 to allow a driver to specify vertical
padding requirements except by requesting a bigger buffer than is required.
This doesn't work on formats such as V4L2_PIX_FMT_YUV420 where you want to
specify padding between the planes, so the GPU has to do some further munging
of the data on those formats."

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