aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEugen Hristev <[email protected]>2019-11-29 15:10:43 +0100
committerMauro Carvalho Chehab <[email protected]>2019-12-16 10:17:49 +0100
commitad85a9bb3ec42fc2fe86d19b7c52d2bd598548b5 (patch)
treefa1aa3cefe997bef5fb02c518106370949e30c06 /tools/perf/scripts/python
parente34eb98e5f70eb7c9a26cf16f0e64c5e1ff7ce30 (diff)
media: atmel: atmel-isi: initialize the try_crop for the pads in try_fmt
When requesting format from sensor, some sensors call the subdev_get_try_crop which for ISI was not properly initialized, and this causes errors in determining proper image resolutions. To accommodate for this, when trying a format (in try_fmt), first attempt to obtain the framesize for this format from sensor. In case this fails, use the maximum ISI width/height as try_crop, otherwise provide the first size height/width from the sensor. Signed-off-by: Eugen Hristev <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions