diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-12-03 03:44:25 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-05 06:50:14 -0500 |
commit | f6cc192fbf0892047f28626f2a989400453fd699 (patch) | |
tree | 1f91aebaa6c67084e88f56b041ea33ec4a4ac7c0 /samples | |
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 <maxime.ripard@bootlin.com>
Tested-by: Adam Ford <aford173@gmail.com> #imx6dq
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions