From mboxrd@z Thu Jan 1 00:00:00 1970 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 13440C433EF for ; Tue, 4 Jan 2022 07:40:12 +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=ajpBvZp4IGJmhvJJHrJN0eNm/nfFKfu5m6CUGDfb0o0=; b=EfIzgXm7ATThox 4QR8jjfsnm+jPwJY7xmpGN9AGBpn7lDr9M4qXq7Gb0VdfFtPlrHAF92h8SiNaPk5phZn0UQ3uBI2Y cb5z/0qaaGFZ2gk7vLt59WZn1swS2reY7wAYBRmSAS6F4f+B82HHe3CCQrgd7XOa0sLsDSBmZ9n2t xjhxy0DoEcCX9T/ADsZW+QkgC9Ev2n5D3S5bvycr5rpA6EmSsWJ8GRPb6/+5XUhZZNCCl9ONJVn/R W/i7rd2xkAt1QaOq/x8hoalYrcqOe2xxh4lgoltNf4LKvZUp6hJ7O9lvWm5DTqJ9j8BbwGSwyTE+L tArB6HsdiP17DeCPv/Ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4ePL-00AWTc-6r; Tue, 04 Jan 2022 07:38:59 +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 1n4ePH-00AWRo-Er for linux-arm-kernel@lists.infradead.org; Tue, 04 Jan 2022 07:38:57 +0000 Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:d353:5de8:6c9d:602a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 6614F1F4138F; Tue, 4 Jan 2022 07:38:51 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1641281931; bh=HocsvGOuLezQKsuF/xYuc+qqHeGMMKBZYDtcezq1e9Q=; h=From:To:Cc:Subject:Date:From; b=XFDWOFExLpN8umM/K0Gci/w8z2/Cyj8zEQWJnfFS6Y4ZQPlNww70vqmss4D0kjU6w oONmgrk1javAQzhJy0Wsc5FDVRpOottHgDXHFDoOHb4cPYamCGueEczFYZ3zTo5DsN SPhQNvXRKQlFHlDCc++BzakMOmna9XlaAdAIzuL4KQ7fT/PAZWm4kHJDC0Y2zPVkGb JE2Im/UizsXoDwUyKPSAyNZrJAPnuszadJiaPep6fEVbjkQQCinSQ2FFBINo5YEbgy zRR6nLTiw79JBrHQcMLt74IZMoTEFVmlwPWqopadVK0xJf3LczNQh+Y49m1snt3i7b syE9mmlmCoecQ== From: Benjamin Gaignard To: mchehab@kernel.org, ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, hverkuil-cisco@xs4all.nl, jernej.skrabec@gmail.com, nicolas.dufresne@collabora.co.uk Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, kernel@collabora.com, Benjamin Gaignard Subject: [PATCH v4 0/2] media: HEVC: RPS clean up Date: Tue, 4 Jan 2022 08:38:40 +0100 Message-Id: <20220104073842.1791639-1-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220103_233855_675656_9CFF6EDD X-CRM114-Status: GOOD ( 10.53 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series aims to clean up Reference Picture Set usage and flags. Long term flag was named with RPS prefix while it is not used for RPS but for mark long term references in DBP. Remane it and remove the two other useless RPS flags. Clarify documentation about RPS lists content and make sure that Hantro driver use them correctly (i.e without look up in DBP). version 4: - check flags with & and not == - remove the 2 last patches which becomes useless since VPU ctrl-blk driver introduction. version 3: - rebased on top of v5.16-rc1 version 2: - change DPB field name from rps to flags GStreamer HEVC plugin merge request can be found here: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1079 With those piece of code fluster score is 77/147. Benjamin Gaignard (2): media: hevc: Remove RPS named flags media: hevc: Embedded indexes in RPS .../media/v4l/ext-ctrls-codec.rst | 14 +++++----- .../staging/media/hantro/hantro_g2_hevc_dec.c | 27 +++++-------------- .../staging/media/sunxi/cedrus/cedrus_h265.c | 2 +- include/media/hevc-ctrls.h | 6 ++--- 4 files changed, 16 insertions(+), 33 deletions(-) -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel