Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp233290iog; Fri, 17 Jun 2022 02:34:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sJOvyiFUiNbSLYyzNqJE8sx3vZRp1dPKUbknMCu4MR5BLpCMTxG1a2Hr5sjPFbOCGonRaA X-Received: by 2002:a65:5207:0:b0:3fb:c00f:f6e4 with SMTP id o7-20020a655207000000b003fbc00ff6e4mr8271440pgp.415.1655458442022; Fri, 17 Jun 2022 02:34:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655458442; cv=none; d=google.com; s=arc-20160816; b=nTdEaY9fSOWbjXcu16n8uZS7Pxz3h8pNeZ6ElCBIXKWz5KVl8cLqHKkniqSFen17yf sawvy+HL4E/5MsTIb7sMAPiYCNb5PgyvUW5wVjpBDZ+kKnet/e+ez+J58AZTUfkNENwh MIHkqdytiJNQycsahliRQe5SUS/YPTyAPaf/w3PXKQRCxY6xUyv9vOYTS0BwV2b4S3LI vaOT9QLLcaudywubVRidJYna4IZXe0JfPc69NoST2iMJ8OxbZ1nzcArHrPGqe5SrvWxE ivRikst8un5UZddqO97jGx3sT6PDHLYYmZyw/H3VUSRliZR3OKxX7QdliireYJ5GrfcO Q1MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=92noRvLt4cAxVxz/pcFh/pp3gr6YJZQy7gF+HTZIelU=; b=0AWnYK6Xd+1hSNxYXWxL3eFIB5qCIRpPSJmihJacMGK0Azcn6vDW4ZZVXfQuEK2g1L QIgMA8ZDZSna3bu67OS5lO6qKwPYbmGVzGeSz+eR17QFqg0JjNFwnOl2jXIiPrrTA4rD izJXOektaPE4tqFC51GmTQRecCxoDYE2opbMcY1BgZs13Ld6R6n6Nh+FQ3aCGlisp4Fz 1V+Gvp0Z5VNHh+fVXu4EDoneGuc/He1Qf4k1/H6s0HHgq5dl5NT96YJGDIgs0x0j8SNo 4Hs/FyPsQRj7GGsCJS4ySU9xjvAMAbmZkZSBnIVHdTMalSzSV9qfnDsAYUZ40I5Air+r K9nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="MW/5iD7D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 130-20020a630488000000b003fa9370c63asi5009895pge.434.2022.06.17.02.33.48; Fri, 17 Jun 2022 02:34:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="MW/5iD7D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234702AbiFQIgg (ORCPT + 99 others); Fri, 17 Jun 2022 04:36:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381080AbiFQIgD (ORCPT ); Fri, 17 Jun 2022 04:36:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC7D76928C; Fri, 17 Jun 2022 01:36:01 -0700 (PDT) Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:faf2:1a12:f903:cc5e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by madras.collabora.co.uk (Postfix) with ESMTPSA id 37AE566018AA; Fri, 17 Jun 2022 09:36:00 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1655454960; bh=QrhdQZhCH38DtxAAuUlylHdqpiS4uonvHIquGMtt48E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MW/5iD7Drbp8had1YY4vfCJZ278uMCAh2dzvOaGGiW7BZxw7T+FJVcurgU364WmAx 3KDuBxwt8OppXYDslfuGO/OlWNWZy1n75dpNkhc6hzLcdyK6vNFp16tRRDazED/qsP 49ZIzyCWX6oESdRRL62RyNprW33oQPpEvOhs0YFczM9ri5jMyfroDPyW2j4W2BqLop JKiiLv02PxOejiR3YBipCa3DZSE2ncNFE5n+d/JSFPKKiKecl8m1FICtUjKCmVJGfY ImTn38TN20604Z2zdE8CcDNcoQvPzH+SExUsXpBkDPLhtVkIwjAtl1EloHQqBBfAZP LYzRb09YsSwuQ== From: Benjamin Gaignard To: mchehab@kernel.org, hverkuil@xs4all.nl, ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, gregkh@linuxfoundation.org, mripard@kernel.org, paul.kocialkowski@bootlin.com, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, nicolas.dufresne@collabora.com, andrzej.p@collabora.com Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, kernel@collabora.com, Benjamin Gaignard Subject: [PATCH v9 10/17] media: uapi: Move parsed HEVC pixel format out of staging Date: Fri, 17 Jun 2022 10:35:38 +0200 Message-Id: <20220617083545.133920-11-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220617083545.133920-1-benjamin.gaignard@collabora.com> References: <20220617083545.133920-1-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move HEVC pixel format since we are ready to stabilize the uAPI Signed-off-by: Benjamin Gaignard --- Documentation/userspace-api/media/v4l/pixfmt-compressed.rst | 5 ----- include/media/hevc-ctrls.h | 3 --- include/uapi/linux/videodev2.h | 1 + 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst b/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst index 967fc803ef94..c352d91a73d8 100644 --- a/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst +++ b/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst @@ -215,11 +215,6 @@ Compressed Formats See the :ref:`associated Codec Control IDs `. Buffers associated with this pixel format must contain the appropriate number of macroblocks to decode a full corresponding frame. - - .. note:: - - This format is not yet part of the public kernel API and it - is expected to change. * .. _V4L2-PIX-FMT-FWHT: - ``V4L2_PIX_FMT_FWHT`` diff --git a/include/media/hevc-ctrls.h b/include/media/hevc-ctrls.h index 341fc795d550..a372c184689e 100644 --- a/include/media/hevc-ctrls.h +++ b/include/media/hevc-ctrls.h @@ -13,9 +13,6 @@ #include -/* The pixel format isn't stable at the moment and will likely be renamed. */ -#define V4L2_PIX_FMT_HEVC_SLICE v4l2_fourcc('S', '2', '6', '5') /* HEVC parsed slices */ - #define V4L2_CID_STATELESS_HEVC_SPS (V4L2_CID_CODEC_BASE + 1008) #define V4L2_CID_STATELESS_HEVC_PPS (V4L2_CID_CODEC_BASE + 1009) #define V4L2_CID_STATELESS_HEVC_SLICE_PARAMS (V4L2_CID_CODEC_BASE + 1010) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 9018aa984db3..37f9f23a67fe 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -712,6 +712,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_FWHT v4l2_fourcc('F', 'W', 'H', 'T') /* Fast Walsh Hadamard Transform (vicodec) */ #define V4L2_PIX_FMT_FWHT_STATELESS v4l2_fourcc('S', 'F', 'W', 'H') /* Stateless FWHT (vicodec) */ #define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') /* H264 parsed slices */ +#define V4L2_PIX_FMT_HEVC_SLICE v4l2_fourcc('S', '2', '6', '5') /* HEVC parsed slices */ /* Vendor-specific formats */ #define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */ -- 2.32.0