From ec09d678cb892273de4ac2f0cf726a4e94031b49 Mon Sep 17 00:00:00 2001 From: David Chen Date: Thu, 30 Nov 2023 09:21:27 +0000 Subject: [PATCH] Add zoom boost in powerhint for F10 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: 305613607 Change-Id: Ia2a6a452cf2ac7b8ee7a1bd53e5085582d79a2be --- powerhint.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/powerhint.json b/powerhint.json index 95b7535..fbcc819 100644 --- a/powerhint.json +++ b/powerhint.json @@ -319,7 +319,7 @@ "Values": [ "0", "1" - ], + ] }, { "Name": "DisplayWakeup", @@ -1053,6 +1053,18 @@ "Duration": 1000, "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",