summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2023-07-24 11:30:06 -0700
committer Ady Abraham <adyabr@google.com> 2023-07-25 01:02:44 +0000
commitbd44e8a59c4785f0389490615ffb8ddc4d763d64 (patch)
tree1b70e397f1fd1ce685cec98b8b42240b3ef3d4dd /libs/ultrahdr/jpegencoderhelper.cpp
parent28bb2a11de5dda5cccdf0f369449428662993bfb (diff)
SF: prefer >=60Hz for fractional frame rates
If a layer requests a fractional frame rate that the display doesn't naively support, favor at least 60Hz. This is done by explicitly checking for known frame rates. This change is needed to avoid selecting refresh rates such as 30Hz for 29.97fps content as it leads to frame drops. Test: SF unit tests Bug: 290839444 Bug: 292068399 Change-Id: I3dce623dd02b115323cb84f96e855d9010494a81
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions