Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1020582imw; Tue, 5 Jul 2022 02:19:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uRY5/NMEUdeACGgkss2wXE8PooSALFrzlTi2DrXdurUfrIm9EofbvBS9RBfEOPZEJya44H X-Received: by 2002:a05:6a00:1349:b0:527:f7a2:b3e9 with SMTP id k9-20020a056a00134900b00527f7a2b3e9mr33129615pfu.45.1657012746884; Tue, 05 Jul 2022 02:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657012746; cv=none; d=google.com; s=arc-20160816; b=Wxghy3N0FOyYgQJsSml57UPbSfkw9N4lM/vtfn503NjmwddDS7c121D8sX5aH4zFrx 5V59em46o7mED5olZpjXV7JxEcUwJ8jRq2ndFBcMpgJRMbHe1yKIctgMf6HzKJnIy8BI 00nDvwhfks7YStYVkNHAU/OH7kIT8GRwbDP75EiUjxXSTJKnGmayyY4VTzJnzZT2JCcJ RUJ57tHY3KexxjT17ES0YJY94Kj0UequXzs/mBaaCGaNkVL9nSOaMZRWrm2ftXN7s6LD d+oo19kXNhGPlvSRoEST20YMVRPC9h40PbszJ6SbDggvq3kxT4oXTUhIA5kiUriJ0eXB 5k7A== 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=N4EFK3F7e8FGiO9h+qUl/6XTt/eVcoo/rTyB6lgcOwA=; b=k1Yio32o33NQmeg1SIJKwbNpDuRIT5MtZlVmwMyKk90jMUXQnicgVEfWwORNgctnLG 2V7f5pQS/bYndGjh9gNYumYSwm9jwEay1+XCyBGtoGukSta2M+YdEj4EIPT7egajrlB1 cin0pBnZUhL6ZewlBizzZt39k/dRFsRLNklHLXiLX+sJM4tEDWYWezHOSAqem4oWSG3X RSU4mFXPBHiO5MDN5ZO4nqDN71bfaNJ0TZizNRmFSW+QxjLSlaoxi1xm+iQc6wQO3RjK 15DHt/+cyXwmhklWOquPaszO0RR67/ISxNi9gxyoGxDOdn65Qyp53bPy7YsmIVmu+T9G u2Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=oXpPaU7A; 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 fs7-20020a17090af28700b001dfbea70331si10465441pjb.37.2022.07.05.02.18.55; Tue, 05 Jul 2022 02:19:06 -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=oXpPaU7A; 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 S231690AbiGEIzW (ORCPT + 99 others); Tue, 5 Jul 2022 04:55:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbiGEIyj (ORCPT ); Tue, 5 Jul 2022 04:54:39 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AAA912AFE; Tue, 5 Jul 2022 01:54:36 -0700 (PDT) Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:6610:ee84:2ba:7917]) (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 9A60466019BD; Tue, 5 Jul 2022 09:54:34 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657011275; bh=EZw6mHZzsiIezh8qwhtNGu30+ZyPV9CPx5z12lifTP4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oXpPaU7ALV3Oh2NGxI36d5AZ7ueI2OFMN9CE7R1mg9A4HqpZi7QVjjSdHDUlJ4oxq HjELz0QgbgC1QQ50ABVZejhdZXJ9eLIlQcdac/a1CbCjvO26NimKZaGHyx2lxQO1oM 4Ddudws6rYrfpg4+QLCF4F5d1v+xc+yi8WN1MDlyaKD2SqHpma5chie3cwpJEPLY7v YFPRWgN4iA8ORoCONavPYJaXqp3XJyoNCmxoQKc/vcN03Smnp6S7l7N7z+f2ziB2oJ nDyyDPooCoY/G290p8Z8OTwVLCpdYbYSaj+wwbibyidtnD6dWoYlhBCsH1w0yW+Pge infB3jF/EyZGg== 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 v10 10/17] media: uapi: Move parsed HEVC pixel format out of staging Date: Tue, 5 Jul 2022 10:54:13 +0200 Message-Id: <20220705085420.272912-11-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220705085420.272912-1-benjamin.gaignard@collabora.com> References: <20220705085420.272912-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 Acked-by: Nicolas Dufresne Tested-by: Jernej Skrabec --- 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