diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 16:46:42 +0200 |
---|---|---|
committer | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 16:46:42 +0200 |
commit | 5eccdb2f169fdba3dcf0eef1f8c87a8232fa3cf0 (patch) | |
tree | abfab16f87654a6f456e30aa20ac2dee5a4fb190 /linux/drivers/media/video/ivtv/ivtv-gpio.h | |
parent | bbbc50159e8cab3ba46fe1491657840d91490829 (diff) | |
download | mediapointer-dvb-s2-5eccdb2f169fdba3dcf0eef1f8c87a8232fa3cf0.tar.gz mediapointer-dvb-s2-5eccdb2f169fdba3dcf0eef1f8c87a8232fa3cf0.tar.bz2 |
mt9t031: improve rectangle placement in invalid S_CROP
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
1. soc-camera always requests a valid rectangle, when calling .s_fmt(), no need
to check and adjust
2. in .s_crop(), if the rectangle exceeds sensor limits, push it to the
respective border instead of centering
3. take into account left and top borders when checking
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Priority: low
---
drivers/media/video/mt9t031.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-gpio.h')
0 files changed, 0 insertions, 0 deletions