Power: Add multimedia hints
Add hints for video encode and decode use cases. These hints are sent when the relevant use case starts and ends. Clients can also send metadata along with the hint to provide context to the power HAL so that it can make more informed decisions about how to tweak system-level parameters. Bug: 9325608 Change-Id: I4731acbe50a7401a95ec9231c4e1a4795098fcd4 Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
parent
73dba5e043
commit
501fc0f182
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,6 @@ __BEGIN_DECLS
|
|||
#define POWER_MODULE_API_VERSION_0_1 HARDWARE_MODULE_API_VERSION(0, 1)
|
||||
#define POWER_MODULE_API_VERSION_0_2 HARDWARE_MODULE_API_VERSION(0, 2)
|
||||
|
||||
|
||||
/**
|
||||
* The id of this module
|
||||
*/
|
||||
|
@ -41,6 +40,8 @@ __BEGIN_DECLS
|
|||
typedef enum {
|
||||
POWER_HINT_VSYNC = 0x00000001,
|
||||
POWER_HINT_INTERACTION = 0x00000002,
|
||||
POWER_HINT_VIDEO_ENCODE = 0x00000003,
|
||||
POWER_HINT_VIDEO_DECODE = 0x00000004
|
||||
} power_hint_t;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue