Hans Verkuil
df9ecb0cad
[media] vb2: drop v4l2_format argument from queue_setup
...
The queue_setup callback has a void pointer that is just for V4L2
and is the pointer to the v4l2_format struct that was passed to
VIDIOC_CREATE_BUFS. The idea was that drivers would use the information
from that struct to buffers suitable for the requested format.
After the vb2 split series this pointer is now a void pointer,
which is ugly, and the reality is that all existing drivers will
effectively just look at the sizeimage field of v4l2_format.
To make this more generic the queue_setup callback is changed:
the void pointer is dropped, instead if the *num_planes argument
is 0, then use the current format size, if it is non-zero, then
it contains the number of requested planes and the sizes array
contains the requested sizes. If either is unsupported, then return
-EINVAL, otherwise use the requested size(s).
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-12-18 13:48:19 -02:00
..
2015-06-09 17:47:35 -03:00
2015-08-11 12:58:20 -03:00
2015-08-11 07:10:04 -03:00
2012-09-23 20:10:27 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2014-11-04 18:20:35 -02:00
2015-08-11 12:58:20 -03:00
2014-09-21 19:39:47 -03:00
2014-08-21 15:25:30 -05:00
2015-06-09 17:47:35 -03:00
2014-08-21 15:25:30 -05:00
2015-08-11 15:41:27 -03:00
2015-08-11 14:54:17 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-08-11 12:58:20 -03:00
2015-08-07 14:01:39 +02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-05-18 16:33:55 -03:00
2015-08-22 14:52:58 -03:00
2015-04-28 09:26:02 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-08-11 15:06:51 -03:00
2015-08-11 15:37:10 -03:00
2015-08-11 15:06:51 -03:00
2015-05-01 06:09:10 -03:00
2015-04-08 15:02:07 -03:00
2015-06-05 11:26:31 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-28 09:30:33 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2013-04-22 16:58:16 -03:00
2015-10-03 11:44:32 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2013-03-21 10:26:50 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-08-11 15:56:27 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-08-16 13:30:25 -03:00
2015-10-22 15:48:22 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-04-08 15:02:07 -03:00
2013-11-08 09:45:38 -02:00
2015-04-08 15:02:07 -03:00
2012-12-21 14:27:02 -02:00
2015-04-08 15:02:07 -03:00
2015-12-03 15:27:39 -02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2014-12-22 17:52:20 -02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:05:12 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-08-11 14:59:05 -03:00
2015-10-22 15:48:22 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-12-04 10:38:59 -02:00
2015-06-10 11:08:50 -03:00
2015-10-22 15:48:28 -02:00
2015-06-10 11:10:27 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-08-11 15:06:51 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-04-28 09:26:02 -03:00
2015-04-08 06:54:41 -03:00
2015-03-03 13:07:55 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-08-11 12:58:20 -03:00
2015-02-03 16:30:26 -02:00
2015-06-09 17:47:35 -03:00
2015-12-18 13:48:19 -02:00
2015-05-18 15:59:13 -03:00
2015-08-11 12:58:20 -03:00
2015-05-18 15:55:52 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-08-22 14:52:58 -03:00
2015-04-28 09:26:02 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2014-09-23 16:13:33 -03:00
2015-12-03 12:21:27 -02:00
2015-04-08 15:05:12 -03:00
2015-06-09 17:47:35 -03:00
2015-10-22 15:48:25 -02:00
2015-05-12 13:16:37 -03:00
2014-09-02 15:06:49 -03:00
2015-08-11 12:58:20 -03:00
2014-09-02 15:06:49 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-02-03 18:16:18 -02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-11-17 06:45:05 -02:00
2015-11-17 06:45:05 -02:00
2015-11-17 06:45:05 -02:00
2015-11-17 06:41:53 -02:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 21:09:51 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-08-11 15:55:52 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2013-01-06 11:08:44 -02:00
2015-05-01 06:13:23 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2013-11-08 09:45:38 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2014-09-23 17:04:00 -03:00
2015-11-17 06:44:31 -02:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-11-17 06:43:59 -02:00
2015-11-17 06:43:59 -02:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-08-11 07:34:58 -03:00
2015-08-11 19:19:30 -03:00
2015-08-11 07:10:53 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2014-07-04 15:33:46 -03:00
2014-07-22 21:00:54 -03:00
2015-04-08 15:02:07 -03:00
2015-12-04 10:38:59 -02:00
2015-08-11 12:58:20 -03:00
2015-06-10 11:12:25 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00
2015-04-08 15:02:07 -03:00
2014-09-26 06:50:59 -03:00
2015-04-08 15:02:07 -03:00
2015-06-09 17:47:35 -03:00
2015-04-08 15:02:07 -03:00