Commit 174d6a39 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

[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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent b2a06aec
...@@ -234,15 +234,18 @@ struct v4l2_subdev_audio_ops { ...@@ -234,15 +234,18 @@ struct v4l2_subdev_audio_ops {
/* Indicates the @length field specifies maximum data length. */ /* Indicates the @length field specifies maximum data length. */
#define V4L2_MBUS_FRAME_DESC_FL_LEN_MAX (1U << 0) #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) #define V4L2_MBUS_FRAME_DESC_FL_BLOB (1U << 1)
/** /**
* struct v4l2_mbus_frame_desc_entry - media bus frame description structure * struct v4l2_mbus_frame_desc_entry - media bus frame description structure
* @flags: V4L2_MBUS_FRAME_DESC_FL_* flags * @flags: V4L2_MBUS_FRAME_DESC_FL_* flags
* @pixelcode: media bus pixel code, valid if FRAME_DESC_FL_BLOB is not set * @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 * @length: number of octets per frame, valid if V4L2_MBUS_FRAME_DESC_FL_BLOB
* formats * is set
*/ */
struct v4l2_mbus_frame_desc_entry { struct v4l2_mbus_frame_desc_entry {
u16 flags; u16 flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment