diff options
| author | Eugen Hristev <[email protected]> | 2019-11-25 09:32:54 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-12-16 10:16:25 +0100 |
| commit | 374d968ac7440d128f93128e7f13f2ab035b0dcc (patch) | |
| tree | c3f6bb75de3baeb0ba9d6215e7305d458ee08307 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | da3a55b5a948e0226c2811d001df40c8ba6b4ac1 (diff) | |
media: atmel: atmel-isc-base: 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 ISC 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 ISC width/height as try_crop, otherwise
provide the first size height/width from the sensor.
Signed-off-by: Eugen Hristev <[email protected]>
[[email protected]: changed {0} to {}]
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions