diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2016-09-05 13:18:34 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-21 19:09:06 +0200 |
commit | 3fc34b7beb89472b61f919ec0f8699e2a3b46d94 (patch) | |
tree | dc62f3cbf48198a145440a642f79cc1360bc5cf1 /drivers/media/i2c/smiapp/smiapp.h | |
parent | [media] smiapp: Use SMIAPP_PADS when referring to number of pads (diff) | |
download | linux-3fc34b7beb89472b61f919ec0f8699e2a3b46d94.tar.xz linux-3fc34b7beb89472b61f919ec0f8699e2a3b46d94.zip |
[media] smiapp: Obtain frame layout from the frame descriptor
Besides the image data, SMIA++ compliant sensors also provide embedded
data in form of registers used to capture the image. Store this
information for later use in frame descriptor and routing.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/smiapp/smiapp.h')
-rw-r--r-- | drivers/media/i2c/smiapp/smiapp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp.h b/drivers/media/i2c/smiapp/smiapp.h index f9febe0a056d..d7b52a61af4f 100644 --- a/drivers/media/i2c/smiapp/smiapp.h +++ b/drivers/media/i2c/smiapp/smiapp.h @@ -213,7 +213,10 @@ struct smiapp_sensor { u8 hvflip_inv_mask; /* H/VFLIP inversion due to sensor orientation */ u8 frame_skip; - u16 image_start; /* Offset to first line after metadata lines */ + u16 embedded_start; /* embedded data start line */ + u16 embedded_end; + u16 image_start; /* image data start line */ + u16 visible_pixel_start; /* start pixel of the visible image */ int power_count; |