* [PATCH 0/2] Trivial in-kernel API documentation fixes
@ 2014-04-04 13:24 Sakari Ailus
2014-04-04 13:24 ` [PATCH 1/2] media: v4l: V4L2_MBUS_FRAME_DESC_FL_BLOB is about 1D DMA Sakari Ailus
2014-04-04 13:24 ` [PATCH 2/2] media: v4l: Remove documentation for nonexistend input field in v4l2_buffer Sakari Ailus
0 siblings, 2 replies; 3+ messages in thread
From: Sakari Ailus @ 2014-04-04 13:24 UTC (permalink / raw)
To: linux-media
Hi,
Two trivial fixes. The first one perhaps is worth a thought. This was anyway
my original intention. I'm not sure we'll ever want to have user defined
(i.e. undocumented) media bus formats anyway. Hopefully not at least. :-)
--
Kind regards,
Sakari
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] media: v4l: V4L2_MBUS_FRAME_DESC_FL_BLOB is about 1D DMA
2014-04-04 13:24 [PATCH 0/2] Trivial in-kernel API documentation fixes Sakari Ailus
@ 2014-04-04 13:24 ` Sakari Ailus
2014-04-04 13:24 ` [PATCH 2/2] media: v4l: Remove documentation for nonexistend input field in v4l2_buffer Sakari Ailus
1 sibling, 0 replies; 3+ messages in thread
From: Sakari Ailus @ 2014-04-04 13:24 UTC (permalink / raw)
To: linux-media
V4L2_MBUS_FRAME_DESC_FL_BLOB intends to say the receiver must use 1D DMA to
receive the image, as the format does not have line offsets. This typically
includes all compressed formats.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
---
include/media/v4l2-subdev.h | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index 28f4d8c..00f5d2b 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -234,15 +234,18 @@ struct v4l2_subdev_audio_ops {
/* Indicates the @length field specifies maximum data length. */
#define V4L2_MBUS_FRAME_DESC_FL_LEN_MAX (1U << 0)
-/* Indicates user defined data format, i.e. non standard frame format. */
+/*
+ * Indicates that the format does not have line offsets, i.e. the
+ * receiver should use 1D DMA.
+ */
#define V4L2_MBUS_FRAME_DESC_FL_BLOB (1U << 1)
/**
* struct v4l2_mbus_frame_desc_entry - media bus frame description structure
* @flags: V4L2_MBUS_FRAME_DESC_FL_* flags
* @pixelcode: media bus pixel code, valid if FRAME_DESC_FL_BLOB is not set
- * @length: number of octets per frame, valid for compressed or unspecified
- * formats
+ * @length: number of octets per frame, valid if V4L2_MBUS_FRAME_DESC_FL_BLOB
+ * is set
*/
struct v4l2_mbus_frame_desc_entry {
u16 flags;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] media: v4l: Remove documentation for nonexistend input field in v4l2_buffer
2014-04-04 13:24 [PATCH 0/2] Trivial in-kernel API documentation fixes Sakari Ailus
2014-04-04 13:24 ` [PATCH 1/2] media: v4l: V4L2_MBUS_FRAME_DESC_FL_BLOB is about 1D DMA Sakari Ailus
@ 2014-04-04 13:24 ` Sakari Ailus
1 sibling, 0 replies; 3+ messages in thread
From: Sakari Ailus @ 2014-04-04 13:24 UTC (permalink / raw)
To: linux-media
The input field in struct v4l2_buffer no longer exists but has been replaced
by a reserved field. Remove the field documentation.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
include/uapi/linux/videodev2.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h
index ea468ee..db4aebd 100644
--- a/include/uapi/linux/videodev2.h
+++ b/include/uapi/linux/videodev2.h
@@ -649,7 +649,6 @@ struct v4l2_plane {
* @length: size in bytes of the buffer (NOT its payload) for single-plane
* buffers (when type != *_MPLANE); number of elements in the
* planes array for multi-plane buffers
- * @input: input number from which the video data has has been captured
*
* Contains data exchanged by application and driver using one of the Streaming
* I/O methods.
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-04 13:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 13:24 [PATCH 0/2] Trivial in-kernel API documentation fixes Sakari Ailus
2014-04-04 13:24 ` [PATCH 1/2] media: v4l: V4L2_MBUS_FRAME_DESC_FL_BLOB is about 1D DMA Sakari Ailus
2014-04-04 13:24 ` [PATCH 2/2] media: v4l: Remove documentation for nonexistend input field in v4l2_buffer Sakari Ailus
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.