1
0

video: driver: set Max QB to 25 upto 4k@60 fps

Set max QB to 25 upto 4k@60 fps.

Change-Id: Iad23e86c5b67323cde691db8523a2a99500ace3c
Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
Este cometimento está contido em:
Mahesh Kumar Sharma
2022-04-18 22:36:59 -07:00
cometido por Gerrit - the friendly Code Review server
ascendente f2dbcd6258
cometimento e323f28384

Ver ficheiro

@@ -1,7 +1,7 @@
// 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.
* Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "msm_vidc_iris3.h"
@@ -1190,7 +1190,7 @@ int msm_vidc_adjust_bitrate_boost_iris3(void* instance, struct v4l2_ctrl *ctrl)
if (capability->cap[BITRATE_BOOST].flags & CAP_FLAG_CLIENT_SET) {
/* accept client set bitrate boost value as is */
} else {
if (res_is_less_than_or_equal_to(width, height, 3840, 2160) &&
if (res_is_less_than_or_equal_to(width, height, 4096, 2176) &&
frame_rate <= 60)
adjusted_value = MAX_BITRATE_BOOST;
else