video: driver: Add encoder complexity to decide power mode

Client can choose to run an encode session to acheive maximum
performance rather than maximum quality.
Add the handling to configure video core accordingly for the
configured video session.
Such configuration is only applicable for non-realtime session.

Change-Id: Ife290b377c844e5b1d3be93b2509c787f8e05c59
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
This commit is contained in:
Vikash Garodia
2021-06-05 14:51:22 +05:30
committed by Gerrit - the friendly Code Review server
parent 281ce51f5f
commit 72699f7278
5 changed files with 17 additions and 0 deletions

View File

@@ -463,6 +463,7 @@ enum msm_vidc_inst_capability_type {
META_ENC_QP_METADATA,
META_ROI_INFO,
META_DEC_QP_METADATA,
COMPLEXITY,
INST_CAP_MAX,
};