Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1477849pxb; Fri, 13 Nov 2020 13:54:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJx6DG1bwn6rywZG8KsuMmI5JsRx/2eB0nMiqpbAxx1sXq1zFYdIeYneJde/YTcNZA+ua70P X-Received: by 2002:a17:906:280a:: with SMTP id r10mr4048508ejc.45.1605304460801; Fri, 13 Nov 2020 13:54:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605304460; cv=none; d=google.com; s=arc-20160816; b=0pR50TjT/84P0Td3xSM1Jbb44uBdliz/z1SjCA7o1j7MPQu+3Gh66uohXrqECm0Wwq UKPJuQLXN04B5txPRnjpWjCZEJmYnVl1SDcnb0/lt08qr7bHoMgTMapZHdyB6m5cxs0A BFoYpw4WjXsJMUsdpDdsiULn0+SiC/hgnXE10kUn6S6FRBA8auWmfHwICKlk2bH+NHj8 eyjUWzjBxLiAGAkW2O0SfBrXTr7hITS+Hnvs64t7uTHwoY0T2O36Lk0KKk9guR9O5RKf NCYZrr+CnWD0blSVfrObb0cDDi2xTFWHdQLbA0iCn/d9sV6huyAB/KcFiRzBbbTNGKjX S4uQ== 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; bh=UKGEbJc2wmYVebmvFYFIiXV3tuISuCuVrWn0GSRwOz8=; b=qc3RBEx6E1KSJZVpBH8EQ054tiH03gkEC1qY+4lSS3kZYc/r1OoPAyIODAHhHrXBbE W8rj2Cfo0PTIJ2zsT1XVlzKVzHr7UoesUMZ8Lje1nCMLChnW/0XLPeCb07FIYz/YNiu2 Tfj95Iczl3jwtTHj3KqW09z/A43B95BM28Az42FIqRCqbKzM+8/0F9Aaqa+7Yg8lF9jS WI+VbfJ0ejAMash/eW0s97gPQqeUX9tcPPXkdP7paE7kzZOXVCfttZmJEw4/o299MPOi JfWJkxzk3qLfHLD7qlMHw79G4GziuhCvqqih/IClC9rNfjKBME85Eq1Lj6H5TQ2ncCM5 KLCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si7005711ejq.307.2020.11.13.13.53.58; Fri, 13 Nov 2020 13:54:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726437AbgKMVwG (ORCPT + 99 others); Fri, 13 Nov 2020 16:52:06 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:50882 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbgKMVwB (ORCPT ); Fri, 13 Nov 2020 16:52:01 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 5D15A1F46BB5 From: Ezequiel Garcia To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel@collabora.com, Jonas Karlman , Hans Verkuil , Nicolas Dufresne , Philipp Zabel , Maxime Ripard , Paul Kocialkowski , Jernej Skrabec , Ezequiel Garcia Subject: [PATCH v2 6/9] media: uapi: Move parsed H264 pixel format out of staging Date: Fri, 13 Nov 2020 18:51:18 -0300 Message-Id: <20201113215121.505173-7-ezequiel@collabora.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201113215121.505173-1-ezequiel@collabora.com> References: <20201113215121.505173-1-ezequiel@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since we are ready to stabilize the H264 stateless API, start by first moving the parsed H264 pixel format. Signed-off-by: Ezequiel Garcia --- include/media/h264-ctrls.h | 3 --- include/uapi/linux/videodev2.h | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/media/h264-ctrls.h b/include/media/h264-ctrls.h index f86345b8efd1..4be80969fa44 100644 --- a/include/media/h264-ctrls.h +++ b/include/media/h264-ctrls.h @@ -21,9 +21,6 @@ #define V4L2_H264_REF_LIST_LEN (2 * V4L2_H264_NUM_DPB_ENTRIES) -/* Our pixel format isn't stable at the moment */ -#define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') /* H264 parsed slices */ - /* * This is put insanely high to avoid conflicting with controls that * would be added during the phase where those controls are not diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 927075fa9099..306d569bec11 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -703,6 +703,7 @@ struct v4l2_pix_format { #define V4L2_PIX_FMT_HEVC v4l2_fourcc('H', 'E', 'V', 'C') /* HEVC aka H.265 */ #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 */ /* Vendor-specific formats */ #define V4L2_PIX_FMT_CPIA1 v4l2_fourcc('C', 'P', 'I', 'A') /* cpia1 YUV */ -- 2.27.0