diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 16:46:17 +0200 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 16:46:17 +0200 |
commit | 67b6fcc4c0404e94f16820566585bb0ff9891b89 (patch) | |
tree | fb03b2da0105a0f0e21a9f2f4231d278743dde20 /linux/include | |
parent | cf579adf1e145c22f0c7178612e4781cc8b089cc (diff) | |
download | mediapointer-dvb-s2-67b6fcc4c0404e94f16820566585bb0ff9891b89.tar.gz mediapointer-dvb-s2-67b6fcc4c0404e94f16820566585bb0ff9891b89.tar.bz2 |
soc-camera: use struct v4l2_rect in struct soc_camera_device
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Switch to using struct v4l2_rect in struct soc_camera_device for uniformity and
simplicity.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Priority: low
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/soc_camera.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/linux/include/media/soc_camera.h b/linux/include/media/soc_camera.h index 2d116bbbc..f623c010a 100644 --- a/linux/include/media/soc_camera.h +++ b/linux/include/media/soc_camera.h @@ -22,16 +22,10 @@ struct soc_camera_device { struct list_head list; struct device dev; struct device *pdev; /* Platform device */ - unsigned short width; /* Current window */ - unsigned short height; /* sizes */ - unsigned short x_min; /* Camera capabilities */ - unsigned short y_min; - unsigned short x_current; /* Current window location */ - unsigned short y_current; + struct v4l2_rect rect_current; /* Current window */ + struct v4l2_rect rect_max; /* Maximum window */ unsigned short width_min; - unsigned short width_max; unsigned short height_min; - unsigned short height_max; unsigned short y_skip_top; /* Lines to skip at the top */ unsigned short gain; unsigned short exposure; |