diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2013-12-18 06:40:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-13 12:43:54 -0400 |
commit | 174d6a39b07f51212c23a8e30a0440598d18392c (patch) | |
tree | a5e68dc44fbf23993cd2266252251561f51e058f /include/media | |
parent | b2a06aecb24329e16edc3108b8192d65ace8da75 (diff) |
[media] v4l: V4L2_MBUS_FRAME_DESC_FL_BLOB is about 1D DMA
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>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-subdev.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index ee0ae769ca94..7653194e821a 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h | |||
@@ -234,15 +234,18 @@ struct v4l2_subdev_audio_ops { | |||
234 | 234 | ||
235 | /* Indicates the @length field specifies maximum data length. */ | 235 | /* Indicates the @length field specifies maximum data length. */ |
236 | #define V4L2_MBUS_FRAME_DESC_FL_LEN_MAX (1U << 0) | 236 | #define V4L2_MBUS_FRAME_DESC_FL_LEN_MAX (1U << 0) |
237 | /* Indicates user defined data format, i.e. non standard frame format. */ | 237 | /* |
238 | * Indicates that the format does not have line offsets, i.e. the | ||
239 | * receiver should use 1D DMA. | ||
240 | */ | ||
238 | #define V4L2_MBUS_FRAME_DESC_FL_BLOB (1U << 1) | 241 | #define V4L2_MBUS_FRAME_DESC_FL_BLOB (1U << 1) |
239 | 242 | ||
240 | /** | 243 | /** |
241 | * struct v4l2_mbus_frame_desc_entry - media bus frame description structure | 244 | * struct v4l2_mbus_frame_desc_entry - media bus frame description structure |
242 | * @flags: V4L2_MBUS_FRAME_DESC_FL_* flags | 245 | * @flags: V4L2_MBUS_FRAME_DESC_FL_* flags |
243 | * @pixelcode: media bus pixel code, valid if FRAME_DESC_FL_BLOB is not set | 246 | * @pixelcode: media bus pixel code, valid if FRAME_DESC_FL_BLOB is not set |
244 | * @length: number of octets per frame, valid for compressed or unspecified | 247 | * @length: number of octets per frame, valid if V4L2_MBUS_FRAME_DESC_FL_BLOB |
245 | * formats | 248 | * is set |
246 | */ | 249 | */ |
247 | struct v4l2_mbus_frame_desc_entry { | 250 | struct v4l2_mbus_frame_desc_entry { |
248 | u16 flags; | 251 | u16 flags; |