diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2013-02-18 09:25:43 -0500 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2013-04-22 16:30:53 -0400 |
commit | ff1bde1d81d3f28c9079e8c274748253eb93b8d8 (patch) | |
tree | 53afc648f9b59e1e77e9a227731f13d0b1a3c37a /GNUmakefile | |
parent | 6f883d0eb54ba8b0a1e7d45cd1ae77cd48178c08 (diff) | |
download | spice-ff1bde1d81d3f28c9079e8c274748253eb93b8d8.tar.gz spice-ff1bde1d81d3f28c9079e8c274748253eb93b8d8.tar.xz spice-ff1bde1d81d3f28c9079e8c274748253eb93b8d8.zip |
mjpeg_encoder: keep the average observed fps similar to the defined fps
The actual frames distribution does not necessarily fit the
condition "at least one frame every (1000/rate_contorl->fps)
milliseconds".
For keeping the average frame rate close to the defined fps, we
periodically measure the current average fps, and modify
rate_control->adjusted_fps accordingly. Then, we use
(1000/rate_control->adjusted_fps) as the interval between the
frames.
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions