gstreamer/sys
Aurélien Zanelli 600027a1ee v4l2bufferpool: fix import_userptr() in single-planar API when n_planes > 1
In the V4L2 single-planar API, when format is semi-planar/planar,
drivers expect the planes to be contiguous in memory.
So this commit change the way we handle semi-planar/planar format
(n_planes > 1) when we use the single-planar API (group->n_mem == 1).

To check that planes are contiguous and have expected size, ie: no
padding. We test the fact that plane 'i' start address + plane 'i'
expected size equals to plane 'i + 1' start address. If not, we return
in error.

Math are done in bufferpool rather than in allocator because the
former is aware of video info.

https://bugzilla.gnome.org/show_bug.cgi?id=738013
2015-02-25 14:25:01 -05:00
..
directsound directsoundsink: WAVEFORMATEX is unsigned for 8 bit integers, and signed for others 2013-08-21 16:41:21 +02:00
oss oss: simplify probed caps before returning them 2014-06-13 09:52:03 +01:00
oss4 oss4: remove dead mixer code 2014-05-02 09:41:19 +01:00
osxaudio osxaudiosrc: iOS resampling causes stuttering 2015-02-24 16:21:11 +05:30
osxvideo osxvideosink: Disable hack for NSApp iteration with a special #define 2015-01-10 15:54:22 +01:00
sunaudio Don't use setlocale in plugins() 2013-09-01 21:18:38 +01:00
v4l2 v4l2bufferpool: fix import_userptr() in single-planar API when n_planes > 1 2015-02-25 14:25:01 -05:00
waveform gst: Add better support for static plugins 2013-04-15 15:54:11 +02:00
ximage ximagesrc: remove pointless g_return_val_if_fail() 2015-02-23 20:06:25 +00:00
Makefile.am v4l2: Fix typo V4L_DIR intead of V4L2_DIR 2014-03-15 18:41:16 +01:00