diff options
author | Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> | 2016-04-16 11:12:20 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-06 21:40:04 +0300 |
commit | 92021e074afe25a607e24ec8f28d3daebca5d434 (patch) | |
tree | 6c9b6fdd400d4197ef0961150aca4b58d5677c71 /drivers/media/i2c/smiapp/smiapp.h | |
parent | 806f8ffa8a0fa9a6f0481c5648c27aa51d10fdc6 (diff) | |
download | linux-92021e074afe25a607e24ec8f28d3daebca5d434.tar.xz |
[media] smiapp: provide g_skip_top_lines method in sensor ops
Some sensors (like the one in Nokia N900) provide metadata in the first
couple of lines. Make that information information available to the
pipeline.
Use u16 instead, this is a 16-bit value.
Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c/smiapp/smiapp.h')
-rw-r--r-- | drivers/media/i2c/smiapp/smiapp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/smiapp/smiapp.h b/drivers/media/i2c/smiapp/smiapp.h index f6af0cc4a256..2174f89a00db 100644 --- a/drivers/media/i2c/smiapp/smiapp.h +++ b/drivers/media/i2c/smiapp/smiapp.h @@ -217,6 +217,7 @@ 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 */ int power_count; |