
Remove dependency between min quality, CAC and quality boost. Accept quality boost value from client and if client did not set then enable max quality boost upto 4k@60fps and disable after that. Change-Id: I0685065b8dee8754aff2cf5f176a2f40e9e080dd Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
32 sor
840 B
C
32 sor
840 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MSM_VIDC_IRIS3_H_
|
|
#define _MSM_VIDC_IRIS3_H_
|
|
|
|
#include "msm_vidc_core.h"
|
|
|
|
#if defined(CONFIG_MSM_VIDC_IRIS3)
|
|
int msm_vidc_init_iris3(struct msm_vidc_core *core);
|
|
int msm_vidc_deinit_iris3(struct msm_vidc_core *core);
|
|
int msm_vidc_adjust_bitrate_boost_iris3(void *instance, struct v4l2_ctrl *ctrl);
|
|
#else
|
|
static inline int msm_vidc_init_iris3(struct msm_vidc_core *core)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
static inline int msm_vidc_deinit_iris3(struct msm_vidc_core *core)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
static inline int msm_vidc_adjust_bitrate_boost_iris3(void *instance, struct v4l2_ctrl *ctrl)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
#endif
|
|
|
|
#endif // _MSM_VIDC_IRIS3_H_
|