aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2016-09-02 12:44:59 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-19 15:32:43 -0400
commitd6482537f666ab024925e5a126cfaeede34a3801 (patch)
tree1d443ee3e3e56d6c4395967b4711f7a81741fdae /tools
parent52a1b4e93518c7625fa9756637e54400637ad7ec (diff)
[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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions