diff options
| author | Hans Verkuil <[email protected]> | 2014-06-12 10:54:16 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-07-17 13:38:44 +0000 |
| commit | d9a2547150245f34a050f744ea46542c44792652 (patch) | |
| tree | b8d20d264d795e1bd8015fe84ce6402f87990e9b /drivers/media/v4l2-core/v4l2-subdev.c | |
| parent | [media] videodev2.h: add struct v4l2_query_ext_ctrl and VIDIOC_QUERY_EXT_CTRL (diff) | |
| download | kernel-d9a2547150245f34a050f744ea46542c44792652.tar.gz kernel-d9a2547150245f34a050f744ea46542c44792652.zip | |
[media] v4l2-ctrls: add support for compound types
This patch implements initial support for compound types.
The changes are fairly obvious: basic support for is_ptr types, the
type_is_int function is replaced by a is_int bitfield, and
v4l2_query_ext_ctrl is added.
Note that this patch does not yet add support for N-dimensional
arrays, that comes later. So v4l2_query_ext_ctrl just sets elems to
1 and nr_of_dims and dims[] are all zero.
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions
