Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1477882pxb; Fri, 13 Nov 2020 13:54:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQn+f+zeYI7WHhSC9XwnT6MJQWZVnV3xaO0f+WZcxNw2g0jVlMFRFi3o+iI6bqVhg2ps06 X-Received: by 2002:a05:6402:1d87:: with SMTP id dk7mr4821403edb.199.1605304465001; Fri, 13 Nov 2020 13:54:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605304464; cv=none; d=google.com; s=arc-20160816; b=Z+uUItjSRrMgl9XtW6QyxovGiOQZwKpoXui1JOg398HOTSmNTWLfKsl0Sy8qLLPbYD SlqWlzFePLQxEabc/JSVBW5dubWTYfR5UB5isG9wEh1M353hjUzZTu+Qi2aWbtXcKDqE 4mQmIoKk0381uUNK/QaMG8c5OCTHHUSpooBOwBZaHVocPDKHBWIP3TVH3akO3FLyzhzB D9slRD4eL9zb6Iene2umFikEODvcVDVeTkX0jl7EWup7+jNstFvAQ4L55lW9uj5oW4K9 4C902U6bdbOt02927hxmSWrb1qD4D9FaenAQwrVpCHnsm4eCjZcDcSEJ2Fmv9POAJa9a TJNg== 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=Yr8uokV1Vqb8JdNibzRPTTQ15Ry+8Tk/EoLq7+dPNC4=; b=MAiCDO77kQQ8M6I+B7Hl7tCCMqgj6AH4J4cXOxrk9EvD63gwfdOVa28kiPDxUAapUW 7ZMoTrzCdsrw5MYK9Q3E63qR7DArWTBglmVooybZwZ+mkdvR8LTnJa6ApvP1NcOWnJsp NrSXZNpIqZywf6GD5WyMNTEb4GQW/pUh4go4BJTyYSZ5IWsj+E+lfA6PF+NUVOMoiyaY 7eTsLutwcwqLicIK7nTUtuiYVWAqsgCLib05LwG73f0yc6n6m/tHeYkxxIMUSTWOS8Ls B3kE7OOB8Pq9oomTve4nLlpasOGaYimdMDAJl15Za5WKi68kR3KFhw7lguzXNTGZFnnt lPYw== 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 v14si6759451edi.485.2020.11.13.13.54.01; Fri, 13 Nov 2020 13:54:24 -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 S1726485AbgKMVwQ (ORCPT + 99 others); Fri, 13 Nov 2020 16:52:16 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:50894 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726414AbgKMVwE (ORCPT ); Fri, 13 Nov 2020 16:52:04 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id C22EF1F46BC4 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 7/9] media: uapi: Move the H264 stateless control types out of staging Date: Fri, 13 Nov 2020 18:51:19 -0300 Message-Id: <20201113215121.505173-8-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 Move the H264 stateless control types out of staging, and re-number them to avoid any confusion. Signed-off-by: Ezequiel Garcia --- include/media/h264-ctrls.h | 8 -------- include/uapi/linux/videodev2.h | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/include/media/h264-ctrls.h b/include/media/h264-ctrls.h index 4be80969fa44..192f491220f8 100644 --- a/include/media/h264-ctrls.h +++ b/include/media/h264-ctrls.h @@ -35,14 +35,6 @@ #define V4L2_CID_MPEG_VIDEO_H264_START_CODE (V4L2_CID_CODEC_BASE+1006) #define V4L2_CID_MPEG_VIDEO_H264_PRED_WEIGHTS (V4L2_CID_CODEC_BASE+1007) -/* enum v4l2_ctrl_type type values */ -#define V4L2_CTRL_TYPE_H264_SPS 0x0110 -#define V4L2_CTRL_TYPE_H264_PPS 0x0111 -#define V4L2_CTRL_TYPE_H264_SCALING_MATRIX 0x0112 -#define V4L2_CTRL_TYPE_H264_SLICE_PARAMS 0x0113 -#define V4L2_CTRL_TYPE_H264_DECODE_PARAMS 0x0114 -#define V4L2_CTRL_TYPE_H264_PRED_WEIGHTS 0x0115 - /** * enum v4l2_mpeg_video_h264_decode_mode - Decoding mode * diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 306d569bec11..261123cb6642 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1776,6 +1776,13 @@ enum v4l2_ctrl_type { V4L2_CTRL_TYPE_U16 = 0x0101, V4L2_CTRL_TYPE_U32 = 0x0102, V4L2_CTRL_TYPE_AREA = 0x0106, + + V4L2_CTRL_TYPE_H264_SPS = 0x0200, + V4L2_CTRL_TYPE_H264_PPS = 0x0201, + V4L2_CTRL_TYPE_H264_SCALING_MATRIX = 0x0202, + V4L2_CTRL_TYPE_H264_SLICE_PARAMS = 0x0203, + V4L2_CTRL_TYPE_H264_DECODE_PARAMS = 0x0204, + V4L2_CTRL_TYPE_H264_PRED_WEIGHTS = 0x0205, }; /* Used in the VIDIOC_QUERYCTRL ioctl for querying controls */ -- 2.27.0