diff options
author | David Chen <kuanwenchen@google.com> | 2023-12-05 06:58:02 +0000 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-12-12 00:10:29 +0000 |
commit | 14a391f57f931590de11a6e223d6ca73a830c628 (patch) | |
tree | 074b9eecaba731a724bc61c0e73fbbc9cc8ffc4c | |
parent | 50443cde3972718a78902cb230d7d59df20b7c9a (diff) | |
download | pantah-14a391f57f931590de11a6e223d6ca73a830c628.tar.gz |
Add zoom boost in powerhint for C10 and P10
This patch is meant to reduce frame drop rate in 60FPS video recording with zoom in/out.
The boost will be triggered at 60FPS video recording while zoom ratio change (for each request that contain zoom ratio control in metadata), and will last for 15 frames.
Test: gca_smoke_test
Bug: 315102326
Change-Id: Iaa3e468b4732bea50f97b0e9678305a6a6f41263
-rw-r--r-- | powerhint-cheetah-a0.json | 12 | ||||
-rw-r--r-- | powerhint-cheetah.json | 14 | ||||
-rw-r--r-- | powerhint-panther-a0.json | 12 | ||||
-rw-r--r-- | powerhint-panther.json | 14 |
4 files changed, 50 insertions, 2 deletions
diff --git a/powerhint-cheetah-a0.json b/powerhint-cheetah-a0.json index c98446c..0f8c182 100644 --- a/powerhint-cheetah-a0.json +++ b/powerhint-cheetah-a0.json @@ -1008,6 +1008,18 @@ "Value": "664000" }, { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_POLL", + "Duration": 100, + "Value": "0" + }, + { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "Node": "TAPreferHighCap", "Duration": 3000, diff --git a/powerhint-cheetah.json b/powerhint-cheetah.json index 6a209c1..101b43e 100644 --- a/powerhint-cheetah.json +++ b/powerhint-cheetah.json @@ -362,7 +362,7 @@ "Values": [ "0", "1" - ], + ] }, { "Name": "DisplayWakeup", @@ -1132,6 +1132,18 @@ "Value": "664000" }, { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_POLL", + "Duration": 100, + "Value": "0" + }, + { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1", "Node": "TAPreferHighCap", "Duration": 3000, diff --git a/powerhint-panther-a0.json b/powerhint-panther-a0.json index 5737a14..5a89a89 100644 --- a/powerhint-panther-a0.json +++ b/powerhint-panther-a0.json @@ -997,6 +997,18 @@ "Value": "664000" }, { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_POLL", + "Duration": 100, + "Value": "0" + }, + { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "Node": "TAPreferHighCap", "Duration": 3000, diff --git a/powerhint-panther.json b/powerhint-panther.json index 2141e41..a067b1a 100644 --- a/powerhint-panther.json +++ b/powerhint-panther.json @@ -342,7 +342,7 @@ "Values": [ "0", "1" - ], + ] }, { "Name": "DisplayWakeup", @@ -1090,6 +1090,18 @@ "Value": "664000" }, { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "CDPreferIdle", + "Duration": 100, + "Value": "1" + }, + { + "PowerHint": "CAMERA_ZOOMING_BOOST", + "Node": "PMU_POLL", + "Duration": 100, + "Value": "0" + }, + { "PowerHint": "GCA_CAMERA_SHOT_BIGCPU", "Node": "TAPreferHighCap", "Duration": 3000, |