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:

committato da
Gerrit - the friendly Code Review server

parent
281ce51f5f
commit
72699f7278
@@ -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,
|
||||
};
|
||||
|
||||
|
@@ -182,6 +182,7 @@ static const struct msm_vidc_cap_name cap_name_arr[] = {
|
||||
{META_ENC_QP_METADATA, "META_ENC_QP_METADATA" },
|
||||
{META_ROI_INFO, "META_ROI_INFO" },
|
||||
{META_DEC_QP_METADATA, "META_DEC_QP_METADATA" },
|
||||
{COMPLEXITY, "COMPLEXITY" },
|
||||
{INST_CAP_MAX, "INST_CAP_MAX" },
|
||||
};
|
||||
|
||||
|
Fai riferimento in un nuovo problema
Block a user