[v3,0/6] Add VP9 codec levels
Message ID | 20200908123221.2793-1-stanimir.varbanov@linaro.org (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1kFjHg-001sZF-9Q; Tue, 08 Sep 2020 19:28:04 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731922AbgIHTdb (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Tue, 8 Sep 2020 15:33:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731000AbgIHP6F (ORCPT <rfc822;linux-media@vger.kernel.org>); Tue, 8 Sep 2020 11:58:05 -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 BF194C06138D for <linux-media@vger.kernel.org>; Tue, 8 Sep 2020 05:33:24 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id ay8so15795970edb.8 for <linux-media@vger.kernel.org>; Tue, 08 Sep 2020 05:33:24 -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=CbHAntwE/i/0aOcErfQq5jTQMnZZWtdKrAQxbD+Urlc=; b=J+xmTgpWIz9Bfj8KndmtxBj1SCYkernBnfaLUVEZ1RBJMr2xge19uixrG4oQBxWmxE wlcVcXZsavOQxg4sIEhXmDFiYybKnat/o+TLE5MGXzt663viuveYHsIaoT7VX/+k0Sxb dmsYrI4+WU3ck1uTe4hy+JbTz2wcuufFscmSCxrcRxFst9HEzxpsuMxMuF1wXZpg1jt6 FkIqMsDT/Cm2vCccRKFUz7St6nLxmBuWa+u0DPge8QTUdOqNslY518gM4zEem1PYnC7/ odBsMsJQMswlXhDy1m+xg3viqA4ZteEcF4gs6E5YhPBg/KlxCGcfN6LbGUP7ncOv15md NX/Q== 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=CbHAntwE/i/0aOcErfQq5jTQMnZZWtdKrAQxbD+Urlc=; b=lGkj4MfJ6C6vN7cdVuHC3SBjcd4CiWEu8Vdo+mARh5aKO1/Mm+5kcRzFHW/2Wim7FN UzurDA1J1xf/LQsRrrA+hD1AvSMWTWun9XFgCrH6I4b7+XrXl2G45T1OFs8/38b575/w Dy7tb8LMa3iMvlgvk2DSjHcBIWtrIasWOqhj04O3rvJ3mCOqVCeiCj243DSQgSVntGJU Lq2JtIM2H8ipkFpgF8yFsu9p67vHfTMs23To9/i70mBWUpZHSUoxfyZVYIU1rqOmLiPj 83xC53uytyL494X1WkJPt7vkiHSUjoGAvohxlvYHlZ1wWvWaCncG1tUSBLwgwsff7qxM u13A== X-Gm-Message-State: AOAM532HKxEkTI2P6aFKLxR0joNDIx4b55zen2146Lok95FlvJDxpdTL JPUDsbbmDyiXAfAHDej6+aDq3Q== X-Google-Smtp-Source: ABdhPJyire6a1xGmOn/Oizs1+bSA9Zj7VgW0Nwa4xh6mFyM9pB0RqkBU2ggzqp6YMpsH7c/DBqKZXg== X-Received: by 2002:a50:c182:: with SMTP id m2mr26187244edf.70.1599568403518; Tue, 08 Sep 2020 05:33:23 -0700 (PDT) Received: from localhost.localdomain ([195.24.90.54]) by smtp.gmail.com with ESMTPSA id y9sm17499744edo.37.2020.09.08.05.33.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 05:33:22 -0700 (PDT) From: Stanimir Varbanov <stanimir.varbanov@linaro.org> To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Philipp Zabel <p.zabel@pengutronix.de>, Hans Verkuil <hverkuil-cisco@xs4all.nl>, Mauro Carvalho Chehab <mchehab@kernel.org>, Neil Armstrong <narmstrong@baylibre.com>, nicolas.dufresne@collabora.com, Stanimir Varbanov <stanimir.varbanov@linaro.org> Subject: [PATCH v3 0/6] Add VP9 codec levels Date: Tue, 8 Sep 2020 15:32:15 +0300 Message-Id: <20200908123221.2793-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no |
Message
Stanimir Varbanov
Sept. 8, 2020, 12:32 p.m. UTC
Hello, This new v3 now contains the implementation for VP9 profile and levels in the Venus driver as has been requested by Nicolas at [1]. Comments are welcome! regards, Stan [1] https://patchwork.kernel.org/patch/11717307/ Stanimir Varbanov (6): v4l2-ctrl: Add VP9 codec levels venus: hfi_helper: Add VP9 profile and levels venus: helpers: Add a helper to map v4l2 ids to HFI ids venus: vdec: Set/Get VP9 profile/level venus: vdec: Use helper to get profile and level venus: venc: Use helper to set profile and level .../media/v4l/ext-ctrls-codec.rst | 43 ++++ drivers/media/platform/qcom/venus/core.h | 13 +- drivers/media/platform/qcom/venus/helpers.c | 239 ++++++++++++++++++ drivers/media/platform/qcom/venus/helpers.h | 2 + .../media/platform/qcom/venus/hfi_helper.h | 18 ++ .../media/platform/qcom/venus/vdec_ctrls.c | 31 ++- drivers/media/platform/qcom/venus/venc.c | 159 +----------- .../media/platform/qcom/venus/venc_ctrls.c | 14 +- drivers/media/v4l2-core/v4l2-ctrls.c | 21 ++ include/uapi/linux/v4l2-controls.h | 17 ++ 10 files changed, 370 insertions(+), 187 deletions(-)