linux/drivers/media/platform/soc_camera
Koji Matsuoka 8bc4793bd0 [media] soc-camera: fix rectangle adjustment in cropping
update_subrect() adjusts the sub-rectangle to be inside a base area.
It checks width and height to not exceed those of the area, then it
checks the low border (left or top) to lie within the area, then the
high border (right or bottom) to lie there too. This latter check has
a bug, which is fixed by this patch.

Signed-off-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
[g.liakhovetski@gmx.de: dropped supposedly wrong hunks]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-03-23 14:45:59 -03:00
..
atmel-isi.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
atmel-isi.h [media] atmel-isi: add code to setup correct resolution for preview path 2015-11-17 15:29:39 -02:00
Kconfig [media] v4l: soc-camera: Remove videobuf1 support 2017-03-22 11:27:24 -03:00
Makefile [media] soc-camera/rcar-vin: remove obsolete driver 2016-09-19 16:29:54 -03:00
sh_mobile_ceu_camera.c [media] sh_mobile_ceu_camera: use module_platform_driver 2017-03-23 14:40:09 -03:00
soc_camera_platform.c [media] media: platform: soc_camera_platform : constify v4l2_subdev_* structures 2017-01-30 14:47:21 -02:00
soc_camera.c [media] v4l: soc-camera: Remove videobuf1 support 2017-03-22 11:27:24 -03:00
soc_mediabus.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
soc_scale_crop.c [media] soc-camera: fix rectangle adjustment in cropping 2017-03-23 14:45:59 -03:00
soc_scale_crop.h [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00