Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2410957ybt; Tue, 16 Jun 2020 05:33:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1bDExfWLDym7XRf3JyzbaQnRrNBVetFrla0OmaXxYgMxyLei+/IN2Hu8UJBPZIVBTFJkG X-Received: by 2002:a17:906:509:: with SMTP id j9mr2431123eja.341.1592310833891; Tue, 16 Jun 2020 05:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592310833; cv=none; d=google.com; s=arc-20160816; b=RL5qCqShfEHN2HXrqDxSbheyKbDreuHa+BiIOzvUpHO1VeJwfaphCTQ7GWHidf+Iad R4fVrltSSTJHV6NGf0YMo2mOstfqhZQgYl98m2zq0U7A75Bthsimq0U1wweYJCQBpfii k3MnibKyt8yqq3MvjVVsnJ4xgZa0YntnX5rsrJrv/d3z4mMCToCRVMo8PFRt8KABdm5Z Vdy4kDX/gB57at/50OJ1IDzHAGT/sEHPBB/dK7hF2XtqWUR/jDYw9m96uurwDgFoNIW3 qAv0UDFiMIL7nUt5hPHnIl8D11KGcjCltLpHM+L44XeA/QhYMje9Im3Qgg6wnIDi6e4e 7ihA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=/1r7CkWYB3PvqDAm7Ot1fK+BdMOnYVR/V3utAsyrDz0=; b=lG3PWLYuani6kFe+xD4eVcNhfZa0PKrNMVu5wU8CXZxHRTkM0RJaVPrrI55EliCs5j /7+H9YwhhJb70AdVrDFWcaFQ6QMMbY8880DS3Qh2T6tpsPGMQZjsq3hVmCv1ex7eNGkD wu5mWH0M0NgtTaNi54s8HlSka8qHcqqy4Yh/S1jkn4VKVg07/cOExLoHc+/am0mGBv58 msuarXkLtZTit1qdNbNHlfbqiDN9I+oBJSajIoQi3QDKElM+vEk9In/KVDXYzCYqyY7V C+JQo9tbhupCizYNp8ZsxEa2KFjN4SCzxDueWJ/PqxSsj/XAcsXm66ZsuKWowbPrLN6i JClg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aOuc3PNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf23si10806529ejb.540.2020.06.16.05.33.30; Tue, 16 Jun 2020 05:33:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aOuc3PNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728674AbgFPMbd (ORCPT + 99 others); Tue, 16 Jun 2020 08:31:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgFPMbc (ORCPT ); Tue, 16 Jun 2020 08:31:32 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3543C08C5C2 for ; Tue, 16 Jun 2020 05:31:31 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id c35so14125468edf.5 for ; Tue, 16 Jun 2020 05:31:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/1r7CkWYB3PvqDAm7Ot1fK+BdMOnYVR/V3utAsyrDz0=; b=aOuc3PNIXOscLHviWkmoerLaHV3t0vKE4OF+G+AsWn4rC9b6olH2lm6AItsGUbKi/e Qzelbl0GduFV1NbJPGME4+loz08IxPVRkUH1xpD4JrgFlmHcaVGUwM2yAM3R52OLybtF AJVq5Eiv9mPIPfNpHuY0o242bSrKMv7yzzPZyBqYTSQ/LApa/njqHNMD2JXQb4wlJN3+ aTLfGbnILz6HCmPbJtPqHK2We/agFZqzcbUkP7Y+Gyy9po2YGEDFCH8f9RPe3aG2Ak8H oHX3AQbe7oQ/qyRukBnOKPINVdsAWs+xEbGe6RatIhDl69YPNnR4g1I3TY+BUWJxuJyJ 7wgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/1r7CkWYB3PvqDAm7Ot1fK+BdMOnYVR/V3utAsyrDz0=; b=bNFQo2EtPo4fdCiK6Jbf15t+/j/dTVn4FVUEFnLlejQFsEYnNFFRAUBCzRvRhkVLJ/ CcGTu2AlO1E7GXu688KhnQaxsuiYS4d9hCZbTT3Rqdcb2+Is3jlB+5gGvsxXtl7KFZFs Z81Yz3iZenzv2wO+7mipixhbcWhfhHBXdoMQm0AKRG1ffqCM0eJq7QUPBZHkY/6Bj6EY sQYBWrB7xhyaJ04d8RiiaS44ftdzwUc2Px9ETs7meTrHTt3VLccfMlbgklA24DQzfBSN bE2r0NhNuQCdpKAoCnFSVoOb5P0x4rNFDR6seX50n0x6jkc86QLR2j5LKGmiUPc0bJOY JIAQ== X-Gm-Message-State: AOAM532WfEX0/BdkZCIR4Y5meCKagfd53aP4DDiTD2nxfNIadspFzaE9 A956Py6IIda1JnBVrCP8dWsaCQ== X-Received: by 2002:aa7:c6c7:: with SMTP id b7mr2324483eds.213.1592310690397; Tue, 16 Jun 2020 05:31:30 -0700 (PDT) Received: from localhost.localdomain (212-5-158-38.ip.btc-net.bg. [212.5.158.38]) by smtp.gmail.com with ESMTPSA id p6sm11071983ejb.71.2020.06.16.05.31.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 05:31:29 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Hans Verkuil , Ezequiel Garcia , Maheshwar Ajja , Mauro Carvalho Chehab , Stanimir Varbanov Subject: [PATCH 0/4] Add two new v4l controls and implementation Date: Tue, 16 Jun 2020 15:29:57 +0300 Message-Id: <20200616123001.11321-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Here we add two more v4l controls: - V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY for encoders - V4L2_CID_MPEG_VIDEO_DECODE_INTRA_FRAMES_ONLY for decoders and the implementations in Venus driver. The original patch for CQ from Maheshwar has been rebased on top of current media/master and the comment from Hans has been taken into account. Comments are welcome. regards, Stan Maheshwar Ajja (1): media: v4l2-ctrls: Add encoder constant quality control Stanimir Varbanov (3): venus: venc: Add support for constant quality control v4l2-ctrl: Add control for intra only decode venus: vdec: Add support for decode intra frames only .../media/v4l/ext-ctrls-codec.rst | 19 +++++++ drivers/media/platform/qcom/venus/core.h | 2 + drivers/media/platform/qcom/venus/hfi_cmds.c | 49 ++++++++++++++++++- .../media/platform/qcom/venus/hfi_helper.h | 4 +- drivers/media/platform/qcom/venus/vdec.c | 7 +++ .../media/platform/qcom/venus/vdec_ctrls.c | 9 +++- drivers/media/platform/qcom/venus/venc.c | 4 +- .../media/platform/qcom/venus/venc_ctrls.c | 6 +++ drivers/media/v4l2-core/v4l2-ctrls.c | 4 ++ include/uapi/linux/v4l2-controls.h | 3 ++ 10 files changed, 103 insertions(+), 4 deletions(-) -- 2.17.1