From patchwork Sun Mar 27 08:43:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Fricke X-Patchwork-Id: 12792772 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 766B9C433F5 for ; Sun, 27 Mar 2022 08:44:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Wv4Z1DaiYJYg4XsxALws82PwSsD1kKabGp1LfZ/ISzo=; b=cHlpxOkKjj1YS1 0Re2j0ZlDcEK+gjWKBzszNftr3eM83KHYVNqLC031t89lhMGGf+8LO1IkdWUj095ApHv+CguzoaDp ncxb9Cf6RkNT7bSQwJB4kt7BEh0rioNahs1mBzEO7xZQyH91wmCFFo+Ie3rwyMeg3yyLlB7UI+Atu JKlVbDq6pLXxpYUbbXfWRA/82DlrgzcD/nMCVqtkUxxpyxoxsEEIWY75K9EOnoc8bg/PbjSj/Kmon P8oHRPImZgM6R7viOpmlyzBHU/5NsyaOt0er4hpy3VbrQv9s0lmXA1+PkU/u88ars6Dsfn6YJvS/M AF5eNLUgGHym/Bnlmy3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYOUs-005MAv-7X; Sun, 27 Mar 2022 08:43:38 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYOUo-005MAX-Tk for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2022 08:43:36 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sebastianfricke) with ESMTPSA id C330E1F43B72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1648370613; bh=INLkQOuU6uxTQWGv+sxVcWj5yV5vGhrfHwKmC71mvdE=; h=From:To:Cc:Subject:Date:From; b=k0rV74oa1wGyGe4JFG9iXe0ukLvmzk7b4yNpzvdNneOkZydGuVjgjnT3DI18F3E57 vZK2sOZp/R4uUhLKqR2++UmSDDeTxaPl+tD30FyN9fXZ83k3z8eZSWX7bd66vQjQHY BfjKUmkT5ACQxDMYBxxRW1HO7Qo6IjK5vaxawpIYqBj9Yj1l4ffYombSAHs6/4ibJh pJ62pLU01zqQYIcYFVwKaI2WyoWPFu6E3iFDzS587JJCPSNNcPE5rTr1U8MijZJiap 23BXjPXtSsWS+DMxqxRYqVmeem1492onNn7xjlxWyM4yIZl5FIeV8BmlW/jCu5gxGY Oh7IvFN1hUtZA== From: Sebastian Fricke To: linux-media@vger.kernel.org Cc: acourbot@chromium.org, tfiga@chromium.org, hverkuil-cisco@xs4all.nl, Sebastian Fricke , Maxime Ripard , Paul Kocialkowski , Mauro Carvalho Chehab , Greg Kroah-Hartman , Chen-Yu Tsai , Jernej Skrabec , linux-staging@lists.linux.dev (open list:STAGING SUBSYSTEM), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), linux-sunxi@lists.linux.dev (open list:ARM/Allwinner sunXi SoC support), linux-kernel@vger.kernel.org (open list) Subject: [RFC PATCH v3 0/2] HEVC enhancements Date: Sun, 27 Mar 2022 10:43:06 +0200 Message-Id: <20220327084308.9053-1-sebastian.fricke@collabora.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220327_014335_157996_1738286E X-CRM114-Status: GOOD ( 12.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org While reading the definitions for codecs, I felt that the definition list could be appended with the term used in HEVC. This makes the list more complete from my point of view, but I see that this is a slippery slope as we surely don't want to add every term from every codec (Thus the RFC). Secondly, I renamed the H265 identifier found in the cedrus driver to HEVC. The idea here is mainly to align it with the other drivers like Hantro and RkVDEC, but also with the goal of using one identifier within the source tree (to simply searching for the term and also for less confusion). Changes since V1: - Kernel test robot reported some variables that had not replaced, I changed those. Changes since V2: - A few more missed replacements Sebastian Fricke (2): media: docs-rst: Append HEVC specific term staging: media: cedrus: Rename H265 to HEVC .../userspace-api/media/v4l/dev-decoder.rst | 8 +- drivers/staging/media/sunxi/cedrus/Makefile | 2 +- drivers/staging/media/sunxi/cedrus/cedrus.c | 30 +- drivers/staging/media/sunxi/cedrus/cedrus.h | 14 +- .../staging/media/sunxi/cedrus/cedrus_dec.c | 10 +- .../cedrus/{cedrus_h265.c => cedrus_hevc.c} | 438 +++++++++--------- .../staging/media/sunxi/cedrus/cedrus_hw.c | 4 +- .../staging/media/sunxi/cedrus/cedrus_regs.h | 394 ++++++++-------- .../staging/media/sunxi/cedrus/cedrus_video.c | 4 +- 9 files changed, 455 insertions(+), 449 deletions(-) rename drivers/staging/media/sunxi/cedrus/{cedrus_h265.c => cedrus_hevc.c} (53%)