Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp940682rdb; Tue, 30 Jan 2024 03:24:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEDqeWJKP8D6H7iraXJy3F6U+1i9DeRgeN0RVUFduBKg2xMbRH/UcXsRRx6BdUO1TCA8hTj X-Received: by 2002:aa7:d987:0:b0:55e:f980:4666 with SMTP id u7-20020aa7d987000000b0055ef9804666mr1139236eds.9.1706613883249; Tue, 30 Jan 2024 03:24:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706613883; cv=pass; d=google.com; s=arc-20160816; b=mb3BZ32457R5+K6abDLJEghL5ueY7hgVHK20e3rVDb5kP8N42g4HplkY/xpCdD29sC lr35afeqmkA+XF/2ANCDVvgP6ZUgijV99/YZERhaHb1BKv95wpt9uQ5P8mXlZ52qaZpB iXtw/AssiYsuudRp0NvHAeiz3vNF2Sbe+K9gpxEZmLSWe26RHH3rfR4vbU2I69Jaduzy B0KwOeokw7nrU3sWT47ywHfuQ6hRorBFLz7if5G4D8gsm+nANpWJveRj1EAAjglYdBsf fjNSsvsKJz6/SNtYROkzUXbf/Zyn/NxTEC3DfiA2qN7hRFTAaXSYdS2Ywxfp4PLTHjXo h6tQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=zJmbk1Vqksggc73frfFlV2kdKy6n+PP3JCr/btLA9JM=; fh=RUIHxiPuysnITYgi1zfYboGnIViDNq7v9yrNqYwC7bs=; b=VQX9BIE8joWHjUX2G4JynWZvh8Knnawaq4GT9v3RByFu5Ziuaw3+JU6JcnvHjK1Bf+ IFAeP4wsTxVzefx9eRVREej9qLSq7ZzOLSMpNcUtth+1pPl2w8Xebg3bSFsXrdNQWqd7 9dlFJdKfJdY1E00eCH8zGnXxVKH54Jdmowvgx7Dpdj/S9ajmxglwDgbhsOat0PmkQBeH jGCAv3FiLhVmQyxSJlWnYY8f+EMOqyoauCRmXAMPKMuhpf90VIRMpY9DU39Dp5+3ARhw rrxu5qB07laDxlO4cfCiMit3KMfORn8IZPDJs+Rkz6OwQqezfa2h2LaNQsOeKgW9EvH5 LFWA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ht80Dq2P; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-44503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44503-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dn1-20020a05640222e100b005590009900asi4344165edb.548.2024.01.30.03.24.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 03:24:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ht80Dq2P; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-44503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44503-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 061A01F2162A for ; Tue, 30 Jan 2024 11:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD1E666B38; Tue, 30 Jan 2024 11:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ht80Dq2P" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7ABE959B7C; Tue, 30 Jan 2024 11:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706613870; cv=none; b=LDHDtvlkowByyIqJkvhOJ8diAvpEmJL0ruK/65JRujHUA4eKFw8Lpv55SQ+qcMEWBabd9HjcFrrk2EJUQPHqEQ1jumtyUjHK4jLzRYWn39Xzh9I/1jOXR57VLd6joDoTbZiyDpqQSauXOBAk+dSltuvPrzezJwgp8xjzoZbTl/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706613870; c=relaxed/simple; bh=55twkulurKEhU3/5jQyrocYphXr36C8mLB2dQCIalOg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=iL45w1r8kd49gmpEUK+Mipf/KKcQorkwpRqzHr882Eh2SG4oFciAhz522iJ73PYG5ks2Jtzhj1s5R0D0PXDw+ZBlOx8rgq0dhVwPWHil+7xncbjC6H9YK1cQ+6ffqfA/OmxkVizNGtF3WMvEr5gGeVaBShCCJ3YdelqPLBsTvRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ht80Dq2P; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40U9Ruu7008388; Tue, 30 Jan 2024 11:24:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=zJmbk1V qksggc73frfFlV2kdKy6n+PP3JCr/btLA9JM=; b=ht80Dq2PHWzH6usw9uCqFfL oeyuGoWC5EA+sg9JaOCTJwrsXCdz2sXIUVXxt/CV0Kuu2odi9ROnqnL+J5PRWN89 aAGo1VWchJrTCw7FKpz+homnggPwWPDK1v5GBjBCtpGsHOuM1dvww58vhk0TS/CK UmWn95E6xl5gxMZcOuTickhHEpRQu4/n2kytXx02m/i98oyF092R2OFCH9bi59sK v99/mxQGMsbGnQg4KkyagccLjPtk9wV8VeBYk3qMqgIwoAH8B8d9OTOKMj4MjqUd HQoebTC9a2xvRzYJPBHnfbBPi+5jw8lG/qrd5r7btXVvUIa8AKMnwFF2Sam0Bxg= = Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vxsc20u54-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 11:24:23 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40UBOMcA020870 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Jan 2024 11:24:22 GMT Received: from hu-sachinku-hyd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 30 Jan 2024 03:24:18 -0800 From: Sachin Kumar Garg To: , Mauro Carvalho Chehab , Stanimir Varbanov , Vikash Garodia , Andy Gross , Bjorn Andersson , Konrad Dybcio CC: Bryan O'Donoghue , , , Subject: [PATCH v2 0/2] add MBR type rate control for encoder Date: Tue, 30 Jan 2024 16:53:58 +0530 Message-ID: <20240130112400.2636143-1-quic_sachinku@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: rYOHJIX_EUsV0uMZhC82x6jx-D5jJ2lk X-Proofpoint-ORIG-GUID: rYOHJIX_EUsV0uMZhC82x6jx-D5jJ2lk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-30_05,2024-01-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 adultscore=0 mlxlogscore=408 phishscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 spamscore=0 mlxscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401300083 This series adds the support for MBR rate control type in the venus driver. This rate control type will limit the frame level maximum bitrate as per the target bitrate. It will improve the video quality of low motion video at ultra low bit-rates. Sachin Kumar Garg (2): media: v4l2-ctrls: add encoder maximum bitrate control media: venus: add new rate control type MBR for encoder Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 2 ++ drivers/media/platform/qcom/venus/hfi_cmds.c | 7 +++++++ drivers/media/platform/qcom/venus/hfi_helper.h | 1 + drivers/media/platform/qcom/venus/venc.c | 2 ++ drivers/media/platform/qcom/venus/venc_ctrls.c | 5 +++-- drivers/media/v4l2-core/v4l2-ctrls-defs.c | 1 + include/uapi/linux/v4l2-controls.h | 1 + 7 files changed, 17 insertions(+), 2 deletions(-) -- 2.34.1