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:

committed by
Gerrit - the friendly Code Review server

parent
281ce51f5f
commit
72699f7278
@@ -134,6 +134,9 @@ enum v4l2_mpeg_vidc_blur_types {
|
||||
(V4L2_CID_MPEG_VIDC_BASE + 0x2D)
|
||||
#define V4L2_CID_MPEG_VIDC_METADATA_DEC_QP_METADATA \
|
||||
(V4L2_CID_MPEG_VIDC_BASE + 0x2E)
|
||||
/* Encoder Complexity control */
|
||||
#define V4L2_CID_MPEG_VIDC_VENC_COMPLEXITY \
|
||||
(V4L2_CID_MPEG_VIDC_BASE + 0x2F)
|
||||
|
||||
/* Deprecate below controls once availble in gki and gsi bionic header */
|
||||
#ifndef V4L2_CID_MPEG_VIDEO_BASELAYER_PRIORITY_ID
|
||||
|
Reference in New Issue
Block a user