diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-08-13 14:30:25 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2019-08-19 16:24:37 +0200 |
commit | 82c3e948cc0fe7e01b39d437f7a58b197ebb422d (patch) | |
tree | 6391b3f2a75346c119cbaf4b71ccc3cd8d9e79fb /drivers/ata/pata_it821x.c | |
parent | ca84b1b860407109b4b5f3802907f13bbef5d0fd (diff) |
gpu: ipu-v3: image-convert: fix output seam valid interval
This fixes a failure to determine any seam if the output size is
exactly 1024 multiplied by the number of tiles in a given direction.
In that case an empty interval out_start == out_end is being passed
to find_best_seam, which looks for a seam out_start <= x < out_end.
Also reduce the interval for all but the left column / top row, to
avoid returning position 0 as best fit.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/ata/pata_it821x.c')
0 files changed, 0 insertions, 0 deletions