summaryrefslogtreecommitdiff
path: root/src/android/jpeg
diff options
context:
space:
mode:
authorHan-Lin Chen <hanlinchen@chromium.org>2022-04-27 23:13:34 +0800
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-07-25 20:12:04 +0100
commit49e85fbe9c3bf59c99f7d764abc9a7294e8b5e91 (patch)
tree96d022884d8ebc387f6afa629288c4247f3d707a /src/android/jpeg
parentf32eb2689bd30b87120f9cc6bfbbc313572ff674 (diff)
android: camera_capabilities: Adjust minimum frame duration to match FPS
CTS calculates FPS with a rounding formula: See Camera2SurfaceViewTestCase.java:getSuitableFpsRangeForDuration() fps = floor(1e9 / minFrameDuration + 0.05f) The android adapter reports it as the AE target FPS. The patch adjusts the reported minimum frame duration to match the reported FPS. Signed-off-by: Han-Lin Chen <hanlinchen@chromium.org> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg')
0 files changed, 0 insertions, 0 deletions