summaryrefslogtreecommitdiff
path: root/3c5a666f9d2eea0e0f7e9a8a0eb8bbfd7687ca13
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2022-11-30 13:31:09 +0000
committerDaniel Scally <dan.scally@ideasonboard.com>2022-11-30 13:48:26 +0000
commitd2427718c9e91870ceddc032bcfce51def667596 (patch)
tree28ae003b2d6d515aab650a376b948f068b2563e0 /3c5a666f9d2eea0e0f7e9a8a0eb8bbfd7687ca13
parent1c18c451f3a48507e876cfdb03c0a6f2187f62cb (diff)
lib/jpg-source: Constrain fps
As written the fps output by the jpg-source is unconstrained; it will simply fill buffers as quickly as the USB subsysem can handle them. This is not particularly realistic and also means that the frame rates configured (and thus expected) by the host are not being adhered to. Use the new timer infrastructure to slow down the buffer fill operation such that the frame rates seen match those configured by the host. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Diffstat (limited to '3c5a666f9d2eea0e0f7e9a8a0eb8bbfd7687ca13')
0 files changed, 0 insertions, 0 deletions