Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1443474imw; Tue, 5 Jul 2022 09:31:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1urX0pzEGmZJypw0e3v94whkRKJ+LZqt7XrG3WTdpTfAOKlUw4lVXHQMeyfi7qH0GpWHhur X-Received: by 2002:a63:5706:0:b0:412:6e1e:6617 with SMTP id l6-20020a635706000000b004126e1e6617mr4530054pgb.302.1657038713349; Tue, 05 Jul 2022 09:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657038713; cv=none; d=google.com; s=arc-20160816; b=KvxpxbRnDA6Z3K8RRgxDCT5ezv/lEJmLZjHEV4Qgn0GtssSF0LhGK0dR+j8CC0G6FI rqXbxso6KZ9iPo0vqEEZ1b1ntL5vhnunE3EsiMNLXd8rdk0tG6xm05ehxeRitpEoK/Po 2V8Z1RiNIAtZ1YINN9tbFEfprWZlJI6Bt98DSztYQjJUKEmwuXQ+TbFMNsBcK5qj4l1B fdwq0VXu4m2viWEf7sGxEOcBsOgHkdPIcDUIR8UWRn5xlcS8ZTkqoy2tEMyZkQtchWve qArxgUF9QQHP//3HlHdpmgnBlU5tgsN5l/hZQxw4UcWr3Df3dlFuKyo1K7m6rlpGDado OnOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aOSlQwGHqHMk9jCb7FPi1YVKKmzo7IkyF9AxYI+HMwc=; b=SwoRBR4vzlDCrexQ0cP1ZW/7dFHwGPpgkhX3yGXReDtngQNLxYPTqjCKgXDdlDUS2i mQRKJhuaI7OgdNzwS+zB2llsiWvQiTfG78IRQb86bx3sryMMIm8S+WhiWcEzvbepLiFG EwNDegsPzbmjOoJIB0EjTtIiNmpSYdYcRJUvCZTO57ZmzP3/ngxzrRuxDvVNzG06NIWm kVeN4oVSQoW+iuo89wE6/xPC9oLa2N2p9DdDkye/7hgsU3d3578qJKMzaaS1v1hHjY7u YAD+N0M4+1XJcpboZ0n2A9deE4JqbtxKUo/5vER5/VvtF6o6/KB139oA3dXFiKDDFltA UTZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanguardiasur-com-ar.20210112.gappssmtp.com header.s=20210112 header.b=lEWYc0FJ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 127-20020a621685000000b005289f816549si813395pfw.70.2022.07.05.09.31.41; Tue, 05 Jul 2022 09:31:53 -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=@vanguardiasur-com-ar.20210112.gappssmtp.com header.s=20210112 header.b=lEWYc0FJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232209AbiGEPmH (ORCPT + 99 others); Tue, 5 Jul 2022 11:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232051AbiGEPmE (ORCPT ); Tue, 5 Jul 2022 11:42:04 -0400 Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D0C91A3AB for ; Tue, 5 Jul 2022 08:41:59 -0700 (PDT) Received: by mail-vs1-xe35.google.com with SMTP id k2so2679997vsc.5 for ; Tue, 05 Jul 2022 08:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=aOSlQwGHqHMk9jCb7FPi1YVKKmzo7IkyF9AxYI+HMwc=; b=lEWYc0FJmy7xsUlF/XqFFqDpLao+GFseZKedmcnA0vAJuySut4DrLfOe39xKBsH1ri cK/6c74WRGCa3t8DbnHiI6xGbwa1T7IpbQxrR1hwxOeWrVxeGu+CB2uMFg9dEGmkPUHX Zpwm384wCGRHWdyWYJKrwfDI3MZbjFrMQfroX4F2tGKFRSCquCWo5/i4s9GisyD7zcnM FVmZPZDlDOJqvuWlo1CSqfb+c5XpXSCMWnCeiQvSfs/LtubdJ40SLsSn5KiUB9vIdOet IMMVfLLV/3InoUMEisC63P1q55YiKizx0nlc+GPDEBtLHxB2YMrasGSgGJVCVZZOO+mA 7xHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=aOSlQwGHqHMk9jCb7FPi1YVKKmzo7IkyF9AxYI+HMwc=; b=i1EinfCqMXIytMTu5gY4HET6+V7V0+cSnn3wkVgKOg2lD1e1LyMPB7azSF4640TPAq ibQJAYpT3k2eIRll7GmADJGnH0xBW1mx9XTCqyhTTBR/25MdAe4hKVUvPuALg2qdRXxc EPYmhipFnaGBmRX9xMQXb54CU724k+S/nUj4Ak/IJki2dYWZELt5xFg/JHpEvKU7I17n K0fRDqIdh0ztQVJ/o8lRLTS4J/iCQVDbdrdMWNl1DNURCHi7/pW+ehcktCoNQXwXjSPC FkXmqJWkj0CIgBXJFpg3Iooq2JLiNlv83jsjUJHgJQyO9lGvFz+e4lKdP2ggE/Tdstkw H5EQ== X-Gm-Message-State: AJIora9icFzRAyK+pCYZvKglmJsKeZvd2OWZPvm0LMoXW+uV3aEBSuzC zxr01h6/k9TTbp1f2IrMxsyogA== X-Received: by 2002:a05:6102:3ec7:b0:356:cbdf:122d with SMTP id n7-20020a0561023ec700b00356cbdf122dmr5234167vsv.9.1657035718331; Tue, 05 Jul 2022 08:41:58 -0700 (PDT) Received: from eze-laptop ([190.190.187.68]) by smtp.gmail.com with ESMTPSA id m11-20020a1fa30b000000b0036fbf614bb3sm6234190vke.19.2022.07.05.08.41.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 08:41:57 -0700 (PDT) Date: Tue, 5 Jul 2022 12:41:51 -0300 From: Ezequiel Garcia To: Benjamin Gaignard Cc: mchehab@kernel.org, hverkuil@xs4all.nl, 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, 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 Subject: Re: [PATCH v10 10/17] media: uapi: Move parsed HEVC pixel format out of staging Message-ID: References: <20220705085420.272912-1-benjamin.gaignard@collabora.com> <20220705085420.272912-11-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220705085420.272912-11-benjamin.gaignard@collabora.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Tue, Jul 05, 2022 at 10:54:13AM +0200, Benjamin Gaignard wrote: > 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 Reviewed-by: Ezequiel Garcia > --- > 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 >