From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 EE0902D738B for ; Mon, 25 Aug 2025 09:51:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756115498; cv=none; b=sofyYEzUJknxNvHBNFaPnLDo75j2lzEiwfS7mcP2HivlClTHBiK3Bvh10DAv5ssosscMO2HCDgTyOYBfkvABPSkmHCrGRtUc6O1NbCSCTK16c/gDNrXQ3Id+xah6Mbfr7puvhCTpLmiJshm5EeTNFE/8FtyKHILB4ZPoRYoQslc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756115498; c=relaxed/simple; bh=TkVVi74o+2YqRd/2ZiM4VZf3DsnaVTsGPeGiS1ItGgU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NTMnoFoZpZdYXDyxPEy8O2KRX5RsLpIBHehEDxVqAes6d68GFE8T/c5p4CyKltfkmbcnycHIM7rvXwjgH7EE16LQEV77MdleNOz989VSOfKLmr1ZKk8Iurng06O9+yE19nz/ZwnvrWS39HrSU/5CyXhIBMXWY3KfIvhl9Qt4ASE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=X647ERLq; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="X647ERLq" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1756115497; x=1787651497; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TkVVi74o+2YqRd/2ZiM4VZf3DsnaVTsGPeGiS1ItGgU=; b=X647ERLqYF5hr7f2eeh/qcGGXU1srIVppHsc+i3hmeACJtKOPygQUb5i EMw4DTs3PhGYNsZGIudJGyoqJuzq/o8HCNAL73JBR1rivtjX6TG8NEGTl 8MRrfA7RygfgmEKwD93lefCGFzhwoPkOaA8yIomfKXIPSF7nSNYMs73yD AZuS8dOxndbV2WrAnTtXnWCjTO17unB9Ge9aYzxh2UPwfYVrzLuwY3jyS CQDtiN/j2VjrwHVIs2faUSjLNwSxduyn5eess0P7IN30TGv6wN2QCrt7e xx5c3Yqs4WVCX1ZYyOEegQwUEKlJAHQ7JHu9iARXMbjr+s26XvBOtS3Bh g==; X-CSE-ConnectionGUID: IGCimzoPQDKmipKHo4DDoQ== X-CSE-MsgGUID: 0fyUVm/YR1e0gJVLwzEQqw== X-IronPort-AV: E=McAfee;i="6800,10657,11532"; a="69695935" X-IronPort-AV: E=Sophos;i="6.17,312,1747724400"; d="scan'208";a="69695935" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2025 02:51:35 -0700 X-CSE-ConnectionGUID: I5U3qRSET0ShoDJM91239g== X-CSE-MsgGUID: PLNQ9JOVRFm8Ji3MKpfwew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.17,312,1747724400"; d="scan'208";a="200195489" Received: from vpanait-mobl.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.245.7]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2025 02:51:28 -0700 Received: from punajuuri.localdomain (unknown [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 5DA3E121FCC; Mon, 25 Aug 2025 12:51:08 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.98.2) (envelope-from ) id 1uqTr2-00000005aey-1Rdz; Mon, 25 Aug 2025 12:51:08 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: linux-media@vger.kernel.org Cc: hans@jjverkuil.nl, laurent.pinchart@ideasonboard.com, Prabhakar , Kate Hsuan , Alexander Shiyan , Dave Stevenson , Tommaso Merciai , Umang Jain , Benjamin Mugnier , Sylvain Petinot , Christophe JAILLET , Julien Massot , Naushir Patuck , "Yan, Dongcheng" , "Cao, Bingbu" , "Qiu, Tian Shu" , "Wang, Hongju" , Stefan Klug , Mirela Rabulea , =?UTF-8?q?Andr=C3=A9=20Apitzsch?= , Heimir Thor Sverrisson , Kieran Bingham , Stanislaw Gruszka , Mehdi Djait , Ricardo Ribalda Delgado , Hans de Goede , Jacopo Mondi , Tomi Valkeinen Subject: [PATCH v11 22/66] media: Documentation: Reference flipping controls in raw format docs Date: Mon, 25 Aug 2025 12:50:23 +0300 Message-ID: <20250825095107.1332313-23-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250825095107.1332313-1-sakari.ailus@linux.intel.com> References: <20250825095107.1332313-1-sakari.ailus@linux.intel.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add a reference to the flipping related controls (V4L2_CID_HFLIP, V4L2_CID_VFLIP and V4L2_CID_COLOR_PATTERN_FLIP) to the generic raw format documentation. Signed-off-by: Sakari Ailus --- .../userspace-api/media/v4l/ext-ctrls-image-source.rst | 2 ++ Documentation/userspace-api/media/v4l/subdev-formats.rst | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst index ef3784d1119a..3cb7ee1b0aed 100644 --- a/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-image-source.rst @@ -134,6 +134,8 @@ Image Source Control IDs red, green pixels. - 3 +.. _image-source-control-color-pattern-flip: + ``V4L2_CID_COLOR_PATTERN_FLIP (bitmask)`` Whether the horizontal or vertical flipping controls (V4L2_CID_HFLIP and V4L2_CID_VFLIP) have an effect on the pixel order of the output color diff --git a/Documentation/userspace-api/media/v4l/subdev-formats.rst b/Documentation/userspace-api/media/v4l/subdev-formats.rst index 77571adeb21e..c36cd42b09c6 100644 --- a/Documentation/userspace-api/media/v4l/subdev-formats.rst +++ b/Documentation/userspace-api/media/v4l/subdev-formats.rst @@ -3446,6 +3446,9 @@ however the bit depth is still specific to the format. The colour components and the native pixel order are determined by the :ref:`V4L2_CID_COLOR_PATTERN ` control. +Whether or not flipping controls (``V4L2_CID_HFLIP`` and ``V4L2_CID_VFLIP``) +affect the pattern is conveyed via the :ref:`V4L2_CID_COLOR_PATTERN_FLIP +` control. .. tabularcolumns:: |p{2.0cm}|p{4.0cm}|p{11.3cm}| -- 2.47.2