Message ID | 20240725061034.461-4-nas.chung@chipsnmedia.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Sebastian Fricke |
Headers |
Received: from ny.mirrors.kernel.org ([147.75.199.223]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <linux-media+bounces-15327-patchwork=linuxtv.org@vger.kernel.org>) id 1sWrhk-0001tn-05 for patchwork@linuxtv.org; Thu, 25 Jul 2024 06:11:57 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A0A9A1C22BC2 for <patchwork@linuxtv.org>; Thu, 25 Jul 2024 06:11:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A535B1662E7; Thu, 25 Jul 2024 06:11:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chipsnmedia.com header.i=@chipsnmedia.com header.b="kze0s2Xv" X-Original-To: linux-media@vger.kernel.org Received: from SE2P216CU007.outbound.protection.outlook.com (mail-koreacentralazon11021094.outbound.protection.outlook.com [40.107.42.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B681416DED1; Thu, 25 Jul 2024 06:11:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.42.94 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721887867; cv=fail; b=MgSJXRZpMXFemRqgPrgGaaoacKju6edUDdkRvSe0nSY86xtQbYF4NsJpXapb2oMEEFhlw5dqsb/DBWwDzWxC6+v0bZl8HNz7DJrEsRoKR/gCw0Qeh+FROR/Dk+9xBXRYI4LcvoFytqG9Q3ChdRFu9ZSmks4l56eJ25hsPm4lM2U= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721887867; c=relaxed/simple; bh=1GTU273Pu9KXTnwkVMkTsRCKpzn6VsZa96igmq2P4E0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=ByCYOPr8X4yvE2Py0O8E0Vo5Wwvv+BAK7x6tPkdAZ9lYY6oHgvE786to46XWURKkP+ooCDB0+DZYQbCmdT3ILVire+GlAxJ0AhyMeU0BwAiGfDwJIjE4BMG23AI/l413HMbc1NNN6iXYR0VhcEvZ1gN0MOnuzxH4CGrW45By5Hg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chipsnmedia.com; spf=pass smtp.mailfrom=chipsnmedia.com; dkim=pass (1024-bit key) header.d=chipsnmedia.com header.i=@chipsnmedia.com header.b=kze0s2Xv; arc=fail smtp.client-ip=40.107.42.94 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=chipsnmedia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chipsnmedia.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=l2iOnLXCepWxV1PhyyFYu/fxngv4i74euERGmGL/jLA4xmcxIBfCImrZsaPrytCyikdbLLCBsqJfEGGTSK/kKFOMJzS1rJGfGyDEF7nW4p25wQLmOyiHgAfHEYoXLxgVmn7PdtMVUUAYjjnr/UP+6Mnq5ibuLnoSlbx/4uO3JJ46aFGoV2AUj2G2Wgjw62evFxBR7RYnzvRUGING5GNEhAjTakiN/K4PFG2/dYtUF26vRo3Kd9KABLmH3amW5orkPfr6uF9yzO4AJdm2bqbd4/stLxrZJVjYAHbNUnYA73Z3fg38nFU+m4ENdcwVcLyNBDXiXIKvjyHt3W2myMAkRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zbjCA5GkwinMaT6TsZkdREqLOaw8uK4Fma+1NIC5OnM=; b=wLL5um9Z9/bPmitv0uT1cgAJ+BK27z67Gs7uesG+fhkaipMl3sbA56y9ZoAIS2pf6OLBTnp2t9KaB0aIgKCNtKbTqbSJ4EUU2lX+lwGFiVWafymSbwqooTR1mtniFWsK7SX49EfGytVEz4nS6+tf7vqgBYqgAZAyExR0haq2lcVEJVvnypr1U4/TUhaWWEWsA4dYT0oiFZLQXjrdVhQWKNQ27til12uaEXh9QKXXJ5Rumq+C3GUaVhUZPxeBmcKBXJvL6VFn+ukPrcTagaZT1+jF72RjugUOyp4vG7d7FLunhtyGcpPwvjsy030LyesuynKG/zhbe3sH2s3lxeXmRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=chipsnmedia.com; dmarc=pass action=none header.from=chipsnmedia.com; dkim=pass header.d=chipsnmedia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chipsnmedia.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zbjCA5GkwinMaT6TsZkdREqLOaw8uK4Fma+1NIC5OnM=; b=kze0s2Xvf50JVzDhFkwlDf3O7rOlezZi70W1Y3LGVFegiJJrGBzgQ8gb7HYXsMLsfaoB3ckdSd9guF9CMkNernKzEjuBw9wdePytTQsOctc2IF+QU9v51oIgHbynncSEdPHRZScgD0ntMA6peKTGPbE8EqdBadnzz9AENRbbI84= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=chipsnmedia.com; Received: from SL2P216MB1246.KORP216.PROD.OUTLOOK.COM (2603:1096:101:a::9) by PU4P216MB1880.KORP216.PROD.OUTLOOK.COM (2603:1096:301:d9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.28; Thu, 25 Jul 2024 06:11:02 +0000 Received: from SL2P216MB1246.KORP216.PROD.OUTLOOK.COM ([fe80::9e3d:ee20:8cc7:3c07]) by SL2P216MB1246.KORP216.PROD.OUTLOOK.COM ([fe80::9e3d:ee20:8cc7:3c07%4]) with mapi id 15.20.7784.020; Thu, 25 Jul 2024 06:11:02 +0000 From: Nas Chung <nas.chung@chipsnmedia.com> To: mchehab@kernel.org, hverkuil@xs4all.nl, bryan.odonoghue@linaro.org, linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Nas Chung <nas.chung@chipsnmedia.com> Subject: [RESEND v3 3/3] media: uapi: v4l: Fix V4L2_TYPE_IS_OUTPUT condition Date: Thu, 25 Jul 2024 15:10:34 +0900 Message-Id: <20240725061034.461-4-nas.chung@chipsnmedia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240725061034.461-1-nas.chung@chipsnmedia.com> References: <20240725061034.461-1-nas.chung@chipsnmedia.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SE2P216CA0009.KORP216.PROD.OUTLOOK.COM (2603:1096:101:117::15) To SL2P216MB1246.KORP216.PROD.OUTLOOK.COM (2603:1096:101:a::9) Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SL2P216MB1246:EE_|PU4P216MB1880:EE_ X-MS-Office365-Filtering-Correlation-Id: f4457548-4cde-4f97-fa6d-08dcac708f88 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam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bPzX0704XJjBMWICdpn59XaKVk8haVSPpFBrhB+j3kja2zFd1Q1FkCgGBB9kP/45H1krDzEEAkeRED+oLbAP5yx5WLl65E+k5UX35/VkSwXiyYW140WwW2pgohU97TtsOWjWHxBbFprHaBH71UgYLIVdi8pBw5IuBTxVn60Z2m6iKuLWkQqAtCGl5FZDff0yjrx3h4FkOnnC/1wC57yu80El4ZyiwO137qz13SrMkmYMM8gGE8+oohC6CnkDw0azyYzuVzGc18pHysi0/ATblC0DkUUyScPW2B/Fciufovo4j3s7Yhq5CcCEynKynkyZq/ZJQjc/LiuJcawavITJtMlyq2EgxHfoGpQkgbF1saaL3gvvjDdFkVdMNgjzbYgao4yPNXYn1KRj+Jw/YYiy6xqg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SL2P216MB1246.KORP216.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(52116014)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4W4ys+LLYRknJfXS00D0V2tZT5kuhpMZAztxRYTKTT8Kkk0M5TmU/CpuS2uQI6zklkWmPHrYrU4Q10PveOHReRj+LMNrOPiE54CENrA5nDnBRxf2NmOVkeO5K8DSIP0dcYhaT7GVkuJkClGn8ecZmilAlwytqXJz2kMYs+a2BQAGsJkliG8XHIwLdj6vwAzajuCImKYLUmGR5MFariOAAbttofGyfFRVfrti+Xfzh66QxwZYr0VPuf2/XH0Ygc9AgYnIoCc2HTgtShNPyIH/4lD9MMpzkTI3ef7Xk+fv/vaIiApnusDHlj8MKtdPGEE379Zyv1KqESm2W2rYrOla/2M3q1mX+Zt+Y7tnVz3aPgj/dZgfv+8NHXMpQNrIdnOOM6U6Vq/OC9giaHMRNEhqXsojzKKyDJjQGYtIhZC3nsfQpiThSr5xn5JuC2aKhdAzxyc1te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VqmDuYRoEer+8e9Nl6YdmxyxYwZ5pLcyU3dXIqzjUx0v9i5s279BRTYQjVew7P4NSC6LcCjvAuI98dUq17zcEtscnNbNw== X-OriginatorOrg: chipsnmedia.com X-MS-Exchange-CrossTenant-Network-Message-Id: f4457548-4cde-4f97-fa6d-08dcac708f88 X-MS-Exchange-CrossTenant-AuthSource: SL2P216MB1246.KORP216.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2024 06:11:02.4960 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4d70c8e9-142b-4389-b7f2-fa8a3c68c467 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rqxaTtD+FDiD2Yh5BXg8GX178Vpv7dItIDPZ6NUnC0V0TOBuE5ev4fZ+nDfqMsrNw1ZvFFw4KBKZRp2G3ITjR0hObmdM2lqvpteWXGCk4qM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU4P216MB1880 X-LSpam-Score: -2.6 (--) X-LSpam-Report: No, score=-2.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DMARC_MISSING=0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no |
Series |
Change V4L2_TYPE_IS_CAPTURE condition
|
|
Commit Message
Nas Chung
July 25, 2024, 6:10 a.m. UTC
V4L2_TYPE_IS_OUTPUT() returns true for V4L2_BUF_TYPE_VIDEO_OVERLAY
which definitely belongs to CAPTURE.
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
---
include/uapi/linux/videodev2.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 8293b2197ea3..5e85cf09278a 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -171,7 +171,6 @@ enum v4l2_buf_type { #define V4L2_TYPE_IS_OUTPUT(type) \ ((type) == V4L2_BUF_TYPE_VIDEO_OUTPUT \ || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE \ - || (type) == V4L2_BUF_TYPE_VIDEO_OVERLAY \ || (type) == V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY \ || (type) == V4L2_BUF_TYPE_VBI_OUTPUT \ || (type) == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT \