From patchwork Tue Jul 21 07:45:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 245423 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2687683ilg; Tue, 21 Jul 2020 00:47:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKdTeRhXc7aRXBylHRKO9zI8EsJYpF7ftAs4JTp6Pp7B+b7w73xjVMHQ07Nvyxtstp4wr4 X-Received: by 2002:a17:906:454d:: with SMTP id s13mr23544362ejq.319.1595317655434; Tue, 21 Jul 2020 00:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595317655; cv=none; d=google.com; s=arc-20160816; b=DTjoF8mkDR7N/mc0/9o4PE4JG6qD+L3PDiCeVgHNA+UKFeTfMDFeNSxQD8g0UuYGS3 SvlFMpSoe1RvhxCafhlIe9f3F3GlUPGkGoJzOd9+jz7KshTXh+1/EctjzKFaxRxXP4H5 Js8ofouInyZPfHd/ugg9lFDOk1xSxWSI8JENgXN4xJI5ZoC6oDpcLXhMPH8rfsw541hv x/CkRnkqSgXH0I3gJvd8+THy6//PcGjhq4w6A9VTLehRMefF4BEIqLLacCeEle70hEHE v0MQo8w+df6gXdX4k0fgLL70JX4KVFMBk6UHtwSxv65oa98XxFp5y11pLI0g9xbjWqGg kJTg== 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=u3nXJRiSdppGTtPj2ppffsfRJMywt07Ft1M0Vjk21zc=; b=zNBPDIUljVA4lROcljxDwaXDSoCu56ImcofEsTa2NcKXOXYOTf0RPDQwk5iJkI+RZ4 U6aGo1KY/JoKTzec7YwLdl1nlx/0Dp0zExO3dcDtTlQYl0Yre6yn8vtDY+yk/cQvVzLz eoG0FdvaKSaDRZzMHLV58tDrHnwSD0hmcijKqXGkAKKGg5NUVs98rPpvKxWs18mX2Z7a ohloXBllPpnlHduUh4hi2lQgkqIlPBW1CLDBOkOiab2/e12ukTV4ICRPwB2xXyBEX3rz 2gHDEp5dNKRneZW4Zr6KBsrRnIKjrF9eMW4b5dMrAX2x12pluqSDzSRxIc4ZW03CrpRe 02qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YxKBrfQ1; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 o1si11612760edq.365.2020.07.21.00.47.35; Tue, 21 Jul 2020 00:47:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=YxKBrfQ1; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727086AbgGUHre (ORCPT + 15 others); Tue, 21 Jul 2020 03:47:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726607AbgGUHrd (ORCPT ); Tue, 21 Jul 2020 03:47:33 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 479DEC0619D7 for ; Tue, 21 Jul 2020 00:47:33 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id z24so22989599ljn.8 for ; Tue, 21 Jul 2020 00:47:33 -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=u3nXJRiSdppGTtPj2ppffsfRJMywt07Ft1M0Vjk21zc=; b=YxKBrfQ1VUCxq106/ImDl/osIy9f5cCVJPpaJSz6duopNcJ5cMjnp3+7ajb8vE06Fb oSfrS/y0P+KgjEEVnhaPqrBToNHJTSNfK/Ej8ZqGbNrSjvURVqcdwVVINTfvDNp9pbya d0ni5oGuM0QpweP64/dk/1phaqWFIVSiQ+iaibeJa3sfumYFAfL1X7Z0dSGyy2nNz+1A Km1kp1bQrupLOacS1kdRMnTT7ueOin38M5b5tYuJoWU0wPoTjEzSVUZXazuXt6etedV+ 9VxW9/mksXP7zR04PmR0EbpYdvsXHWofyAgc9AVHV2vL6G525qOuLB2UVy2jRYS5mcr/ N8ug== 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=u3nXJRiSdppGTtPj2ppffsfRJMywt07Ft1M0Vjk21zc=; b=XuvlbiVz+m0HmvnZlGbArjLd98LhtmnqNlt04Ip7LT5Nnw2QVNkHotXTF9PWuP3n6D wZxXyJi25fgXLcMsHPuSRBbk0Lf4kz2jdB3oGmQ2AZv96VThI1cm6QE4z3+cd+E//0kn qWC2AZz9DJVjpkT1ICwwuU/QbSI+T4wgfHdaePKFfBWFI0XF8IR8EwsRCBgUxckQvCe1 Egz+5xVJFxlK+Za90HmUt8ep/FYyySmFp5IQTHn/1RV3QcVDmATJ8bbhNTaNZKu8h9wY GJOr2b1Jp6EX5PoraNys+3tmOot2ro2Tq7knAQqbM0+ibRD9Z0YrULfkfKMMM3Rkqv9G vC0g== X-Gm-Message-State: AOAM531Xvp4owzT6qKyLl9ozdPXWokZ46zT0fi5I56x7V0sewE7agEFW e/FdnDw1w41rN7CoIhqvRfed2w== X-Received: by 2002:a05:651c:50d:: with SMTP id o13mr13083297ljp.181.1595317651371; Tue, 21 Jul 2020 00:47:31 -0700 (PDT) Received: from localhost.localdomain ([195.24.90.54]) by smtp.gmail.com with ESMTPSA id d2sm4045334ljg.6.2020.07.21.00.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 00:47:30 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Mauro Carvalho Chehab , Kyungmin Park , Kamil Debski , Jeongtae Park , Andrzej Hajda , Ezequiel Garcia , Maheshwar Ajja , Nicolas Dufresne , Stanimir Varbanov Subject: [PATCH v2 0/6] Add new controls for CQ and Frame-skip Date: Tue, 21 Jul 2020 10:45:32 +0300 Message-Id: <20200721074538.505-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hello, Here is v2 with following changes: * 3/6 Added references for VBV size and h264 CPB size - requested by Nicolas * 4/6 Fixed compile warning Previous version can be found at [1]. regards, Stan [1] https://lkml.org/lkml/2020/7/20/619 Maheshwar Ajja (1): media: v4l2-ctrls: Add encoder constant quality control Stanimir Varbanov (5): venus: venc: Add support for constant quality control media: v4l2-ctrl: Add frame-skip std encoder control venus: venc: Add support for frame-skip mode v4l2 control media: s5p-mfc: Use standard frame skip mode control media: docs: Deprecate mfc frame skip control .../media/v4l/ext-ctrls-codec.rst | 53 +++++++++++++++++++ drivers/media/platform/qcom/venus/core.h | 2 + drivers/media/platform/qcom/venus/hfi_cmds.c | 37 ++++++++++++- .../media/platform/qcom/venus/hfi_helper.h | 10 +++- drivers/media/platform/qcom/venus/venc.c | 20 +++++-- .../media/platform/qcom/venus/venc_ctrls.c | 18 ++++++- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c | 6 +++ drivers/media/v4l2-core/v4l2-ctrls.c | 12 +++++ include/uapi/linux/v4l2-controls.h | 8 +++ 9 files changed, 160 insertions(+), 6 deletions(-) -- 2.17.1