Commit 9037d130 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: Add stream to frame descriptor

The stream field identifies the stream this frame descriptor applies to in
routing configuration across a multiplexed link.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: default avatarJacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 34a315ce
...@@ -345,6 +345,7 @@ enum v4l2_mbus_frame_desc_flags { ...@@ -345,6 +345,7 @@ enum v4l2_mbus_frame_desc_flags {
* struct v4l2_mbus_frame_desc_entry - media bus frame description structure * struct v4l2_mbus_frame_desc_entry - media bus frame description structure
* *
* @flags: bitmask flags, as defined by &enum v4l2_mbus_frame_desc_flags. * @flags: bitmask flags, as defined by &enum v4l2_mbus_frame_desc_flags.
* @stream: stream in routing configuration
* @pixelcode: media bus pixel code, valid if @flags * @pixelcode: media bus pixel code, valid if @flags
* %FRAME_DESC_FL_BLOB is not set. * %FRAME_DESC_FL_BLOB is not set.
* @length: number of octets per frame, valid if @flags * @length: number of octets per frame, valid if @flags
...@@ -354,6 +355,7 @@ enum v4l2_mbus_frame_desc_flags { ...@@ -354,6 +355,7 @@ enum v4l2_mbus_frame_desc_flags {
*/ */
struct v4l2_mbus_frame_desc_entry { struct v4l2_mbus_frame_desc_entry {
enum v4l2_mbus_frame_desc_flags flags; enum v4l2_mbus_frame_desc_flags flags;
u32 stream;
u32 pixelcode; u32 pixelcode;
u32 length; u32 length;
union { union {
......
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