diff options
| author | Koji Matsuoka <[email protected]> | 2017-02-27 07:23:34 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-03-23 14:45:59 -0300 |
| commit | 8bc4793bd083158bd266157e85ea4762577a5be6 (patch) | |
| tree | 88fe7d4ab12ed99145d73040c2ecbe2aa11557c9 /tools/perf/scripts/python | |
| parent | 6713c88fd04733eb34438e78118c42bc5c7e0e05 (diff) | |
[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 <[email protected]>
Signed-off-by: Yoshihiro Kaneko <[email protected]>
[[email protected]: dropped supposedly wrong hunks]
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions