summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Tony Huang <tonyychuang@google.com> 2023-08-24 09:01:44 +0000
committer Tony Huang <tonyychuang@google.com> 2023-08-31 03:25:31 +0000
commit00886f49e9244b7b32d86a7d41951ab487a54e2f (patch)
tree17b481bf9f588cee783dd640cec9c35207ee254f /libs/ultrahdr/jpegencoderhelper.cpp
parent0cc8a385469b6df28068652c599ef075c48e87da (diff)
VRR: Allowlist for small area detection
Add a allowlist mechanism for suppress frame rate when small area. In this patch, we will keep a array list to record pkg name which want to apply the small area detection for suppressing frame rate and its threshold value of small area ratio. In framewokr, we will check the all pkg uid by pkg name from package manager and call a native function which include uid and threshold. In SF native, it get the threshold of uid and we will save them as a map, and it will used to check should it apply small area detection and what threshold it should use. Bug: 281720315 Test: atest SmallAreaDetectionMappingsTest Test: atest LayerHistoryTest Merged-In: Iaf6c0090f9db499fc5ed097b2d3c6d9d871d4812 Change-Id: Iaf6c0090f9db499fc5ed097b2d3c6d9d871d4812
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions