History

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

Boris BREZILLON committed 12 years ago

Commit 32b32ce1 parent 55b8cbf3 files · +5 −5Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/v4l2-subdev.h+3−3
@@ -68,7 +68,7 @@ struct v4l2_subdev_crop { · 67 unmodified lines
68 * struct v4l2_subdev_mbus_code_enum - Media bus format enumeration68 * struct v4l2_subdev_mbus_code_enum - Media bus format enumeration
69 * @pad: pad number, as reported by the media API69 * @pad: pad number, as reported by the media API
70 * @index: format index during enumeration70 * @index: format index during enumeration
71 * @code: format code (from enum v4l2_mbus_pixelcode)71 * @code: format code (MEDIA_BUS_FMT_ definitions)
72 */72 */
73struct v4l2_subdev_mbus_code_enum {73struct v4l2_subdev_mbus_code_enum {
74 __u32 pad;74 __u32 pad;
@@ -81,7 +81,7 @@ struct v4l2_subdev_mbus_code_enum { · 6 unmodified lines
81 * struct v4l2_subdev_frame_size_enum - Media bus format enumeration81 * struct v4l2_subdev_frame_size_enum - Media bus format enumeration
82 * @pad: pad number, as reported by the media API82 * @pad: pad number, as reported by the media API
83 * @index: format index during enumeration83 * @index: format index during enumeration
84 * @code: format code (from enum v4l2_mbus_pixelcode)84 * @code: format code (MEDIA_BUS_FMT_ definitions)
85 */85 */
86struct v4l2_subdev_frame_size_enum {86struct v4l2_subdev_frame_size_enum {
87 __u32 index;87 __u32 index;
@@ -109,7 +109,7 @@ struct v4l2_subdev_frame_interval { · 21 unmodified lines
109 * struct v4l2_subdev_frame_interval_enum - Frame interval enumeration109 * struct v4l2_subdev_frame_interval_enum - Frame interval enumeration
110 * @pad: pad number, as reported by the media API110 * @pad: pad number, as reported by the media API
111 * @index: frame interval index during enumeration111 * @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 pixels113 * @width: frame width in pixels
114 * @height: frame height in pixels114 * @height: frame height in pixels
115 * @interval: frame interval in seconds115 * @interval: frame interval in seconds