diff options
| author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-11-10 12:28:28 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-11-14 14:51:18 -0500 |
| commit | 32b32ce84a02d5e3538941e71d2792ebbef8f795 (patch) | |
| tree | 1907a874e8524a3b8653507cc4b7bab82b3b8d6d /include/uapi/linux | |
| parent | 55b8cbf75fe714f283073048b560d30a0af13473 (diff) | |
[media] Make use of the new media_bus_format definitions
Replace references to the v4l2_mbus_pixelcode enum with the new
media_bus_format enum in all common headers.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/v4l2-subdev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/v4l2-subdev.h b/include/uapi/linux/v4l2-subdev.h index a619cdd300ac..e0a7e3da498a 100644 --- a/include/uapi/linux/v4l2-subdev.h +++ b/include/uapi/linux/v4l2-subdev.h | |||
| @@ -68,7 +68,7 @@ struct v4l2_subdev_crop { | |||
| 68 | * struct v4l2_subdev_mbus_code_enum - Media bus format enumeration | 68 | * struct v4l2_subdev_mbus_code_enum - Media bus format enumeration |
| 69 | * @pad: pad number, as reported by the media API | 69 | * @pad: pad number, as reported by the media API |
| 70 | * @index: format index during enumeration | 70 | * @index: format index during enumeration |
| 71 | * @code: format code (from enum v4l2_mbus_pixelcode) | 71 | * @code: format code (MEDIA_BUS_FMT_ definitions) |
| 72 | */ | 72 | */ |
| 73 | struct v4l2_subdev_mbus_code_enum { | 73 | struct v4l2_subdev_mbus_code_enum { |
| 74 | __u32 pad; | 74 | __u32 pad; |
| @@ -81,7 +81,7 @@ struct v4l2_subdev_mbus_code_enum { | |||
| 81 | * struct v4l2_subdev_frame_size_enum - Media bus format enumeration | 81 | * struct v4l2_subdev_frame_size_enum - Media bus format enumeration |
| 82 | * @pad: pad number, as reported by the media API | 82 | * @pad: pad number, as reported by the media API |
| 83 | * @index: format index during enumeration | 83 | * @index: format index during enumeration |
| 84 | * @code: format code (from enum v4l2_mbus_pixelcode) | 84 | * @code: format code (MEDIA_BUS_FMT_ definitions) |
| 85 | */ | 85 | */ |
| 86 | struct v4l2_subdev_frame_size_enum { | 86 | struct v4l2_subdev_frame_size_enum { |
| 87 | __u32 index; | 87 | __u32 index; |
| @@ -109,7 +109,7 @@ struct v4l2_subdev_frame_interval { | |||
| 109 | * struct v4l2_subdev_frame_interval_enum - Frame interval enumeration | 109 | * struct v4l2_subdev_frame_interval_enum - Frame interval enumeration |
| 110 | * @pad: pad number, as reported by the media API | 110 | * @pad: pad number, as reported by the media API |
| 111 | * @index: frame interval index during enumeration | 111 | * @index: frame interval index during enumeration |
| 112 | * @code: format code (from enum v4l2_mbus_pixelcode) | 112 | * @code: format code (MEDIA_BUS_FMT_ definitions) |
| 113 | * @width: frame width in pixels | 113 | * @width: frame width in pixels |
| 114 | * @height: frame height in pixels | 114 | * @height: frame height in pixels |
| 115 | * @interval: frame interval in seconds | 115 | * @interval: frame interval in seconds |
