diff options
| author | Maxime Ripard <[email protected]> | 2018-12-03 03:44:25 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-12-05 06:50:14 -0500 |
| commit | f6cc192fbf0892047f28626f2a989400453fd699 (patch) | |
| tree | 1f91aebaa6c67084e88f56b041ea33ec4a4ac7c0 /tools/perf/scripts/python | |
| parent | 5a3ad937bc784d44259860196ec987949348b83d (diff) | |
media: ov5640: Make the FPS clamping / rounding more extendable
The current code uses an algorithm to clamp the FPS values and round them
to the closest supported one that isn't really allows to be extended to
more than two values.
Rework it a bit to make it much easier to extend the amount of FPS options
we support.
Signed-off-by: Maxime Ripard <[email protected]>
Tested-by: Adam Ford <[email protected]> #imx6dq
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions