linux-hardened/drivers/media/platform/rcar-vin
Niklas Söderlund d6482537f6 [media] media: rcar-vin: fix bug in scaling
It was not possible to scale beyond the image size of the video source
limitation. The output frame would be bigger but the captured image was
limited to the size of the video source.

The error was that the crop boundary was set after the requested frame
size and not the video source size. This patch breaks out the resetting
of the crop, compose and format to separate functions so the error wont
creep back.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-19 16:32:43 -03:00
..
Kconfig [media] rcar-vin: add dependency on MEDIA_CONTROLLER 2016-08-23 14:46:22 -03:00
Makefile [media] rcar-vin: add Renesas R-Car VIN driver 2016-06-16 07:42:32 -03:00
rcar-core.c [media] adv7180: rcar-vin: change mbus format to UYVY 2016-09-19 16:30:20 -03:00
rcar-dma.c [media] media: rcar-vin: make V4L2_FIELD_INTERLACED standard dependent 2016-09-19 16:31:20 -03:00
rcar-v4l2.c [media] media: rcar-vin: fix bug in scaling 2016-09-19 16:32:43 -03:00
rcar-vin.h [media] rcar-vin: move media bus information to struct rvin_graph_entity 2016-08-23 16:23:38 -03:00