From patchwork Mon Nov 30 09:08:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 11939971 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F0CCC5519F for ; Mon, 30 Nov 2020 09:10:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 136022074A for ; Mon, 30 Nov 2020 09:10:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zVmRhdZ9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727258AbgK3JKI (ORCPT ); Mon, 30 Nov 2020 04:10:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727154AbgK3JKH (ORCPT ); Mon, 30 Nov 2020 04:10:07 -0500 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 465DFC0613D3 for ; Mon, 30 Nov 2020 01:09:27 -0800 (PST) Received: by mail-ej1-x633.google.com with SMTP id a16so20274714ejj.5 for ; Mon, 30 Nov 2020 01:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=rc35Q1VlEBz4DZkEUhnETxh4yN2ILIjRb8LpyvVldHA=; b=zVmRhdZ9DAHfRencSfuk8bOn0/LL/W9E05KpXxESrjcZhAaaojgquk/wI0J+LgexGM nnzsuXir44wiShKdAYzSHHXKvb5uLftkj0YD1KLJqVZKNSjxi16DE1PCoSVgxESz1tSd N3pk5k7qKkm08QCBZXbjsJ8zaYbo6A9puwM2siZTO4Uvd2R3FE4qS9O72lx63rJGs9Ql GI43lbfVQp2yn0ut3wbeCAzVa2+5vs5mgefmFAEy0jX6hMpmSdsHb6FQNl56+043ayb+ 0IfbYEIHEmbhl5wJOMfi8T8x+GSp89AQtw1VZ7hyQR/fJGuNyYkq3kTjvbJralPhqAds FrvQ== 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=rc35Q1VlEBz4DZkEUhnETxh4yN2ILIjRb8LpyvVldHA=; b=YR30FgLIyaPpNrGTOEVfPpdTZlnt/JnQMlWOVhxlStIwSLblUcdoTaAUVxnNu5AdXd UthnPEPLrY943bwLeuO8dDGfKS+pNjMqrBX2H9z7wKW6Ehy4N80wvcMDJHRVF8S+lj9K RVywqhVsGvkGnnGLQoc7cE15jWYV8Srl1ZRj4bQw65qNG9z5nbcPyyawOSREyAxQ8gNh CTCWk833MsyXFfbmWtnzO68URazJWqUDtqFRfdtpPBfn5mkIfl+l24QfpvxYETzNLG+9 eozjuURPOx6RC1y/RYEKgE3c4VVsotE0/AnPLWh1U1lrEKEFj/9T8SooGZPIvgH3zOoO PR9A== X-Gm-Message-State: AOAM533iei+JFSOiPd1yMJnymrX76HdwINqANMdgVVQPTfDiwKYwWHH6 EXyJlgLW4BdEUSCtawHxkYcA4E9e6R2kCWSk X-Google-Smtp-Source: ABdhPJwh7uqsomhMMnphV+iHF1nwrU/n6KDNVu4tpc256pnwRQZF9gu3pvy/Z3LbR46acyepDo6xlQ== X-Received: by 2002:a17:906:dbd8:: with SMTP id yc24mr9159869ejb.313.1606727365646; Mon, 30 Nov 2020 01:09:25 -0800 (PST) Received: from localhost.localdomain (hst-221-92.medicom.bg. [84.238.221.92]) by smtp.gmail.com with ESMTPSA id t19sm8239101eje.86.2020.11.30.01.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 01:09:24 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Ezequiel Garcia , Nicolas Dufresne , Maheshwar Ajja , Hans Verkuil , Stanimir Varbanov Subject: [PATCH 0/4] Add random IR and AUD encoder controls Date: Mon, 30 Nov 2020 11:08:55 +0200 Message-Id: <20201130090859.25272-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi, Here we introduce two new v4l2 controls for encoders: * V4L2_CID_MPEG_VIDEO_RANDOM_INTRA_REFRESH_MB * V4L2_CID_MPEG_VIDEO_AU_DELIMITER The patchset also includes implementation in Venus driver. Comments are welcome! regards, Stan Stanimir Varbanov (4): media: v4l2-ctrls: Add random intra-refresh control venus: venc: Add support for intra-refresh modes media: v4l2-ctrls: Add control for AUD generation venus: venc: Add support for AUD NALU control .../media/v4l/ext-ctrls-codec.rst | 11 ++++++++ drivers/media/platform/qcom/venus/core.h | 3 +++ drivers/media/platform/qcom/venus/venc.c | 26 +++++++++++++++++++ .../media/platform/qcom/venus/venc_ctrls.c | 16 +++++++++++- drivers/media/v4l2-core/v4l2-ctrls.c | 3 +++ include/uapi/linux/v4l2-controls.h | 2 ++ 6 files changed, 60 insertions(+), 1 deletion(-)