From patchwork Fri Feb 23 16:30:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 775394 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (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 3C34112837B for ; Fri, 23 Feb 2024 16:30:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705854; cv=none; b=DOHQwnu27VVZ41BNiKb3Ez53U/3o3/KwuvJU9mhX/F2e8c7HXXy/fRrZZUeEjfkx6h46MTl6fm3wqpWFXRdAW1eOLlLN9/hjPPPBs8fi0EpoIIGp+hL6Uzf8i+W08Cdi0bD84jhyQYDCPgLDn2nJZGdMdMoGUvem9uCi0EGKUrs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705854; c=relaxed/simple; bh=X0CAux45mNauTpNLkVbvqkOBbY5LKav8KIzt2+N3wtY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=C0FlIKbgKgOOj0CQ10oDW6onSSp7FYF+l8ShzWHm4I5KqLkmJJri1locMgkZJ4OEocYnmRzW/ekvW9vdc20Ff3L2VmfI1Z5q3e0zXMHT+sKuah9OHpdMcTsRVOzHiFN+llQk6524e0KGEKWgZDkYORKNG7+KVFk3AS6Mlt01WZQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=Yy+wSLS3; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Yy+wSLS3" Received: from localhost.localdomain (unknown [IPv6:2001:b07:5d2e:52c9:cc1e:e404:491f:e6ea]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0D44614B1; Fri, 23 Feb 2024 17:30:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1708705839; bh=X0CAux45mNauTpNLkVbvqkOBbY5LKav8KIzt2+N3wtY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yy+wSLS3TnQeCZtRTTMObt00K5moLpSYInCZCchkqFqRq0RdBAFoM6neXHuB8lYqn 7zeMhC6h2Lzc9aoM1purhHUY/UO2jo587gpnCuUN5I1Etfd4nIdCMcOqCIqm8/xBNA CKcMQ4OdW4eUCOB+mhv7TfhOSiyOtvD9EiBPgjFw= From: Jacopo Mondi To: Linux Media Mailing List Cc: Jacopo Mondi , David Plowman , Naushir Patuck , Nick Hollinghurst , Dave Stevenson , Tomi Valkeinen , Laurent Pinchart , Kieran Bingham , Sakari Ailus , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH v2 3/9] media: uapi: pixfmt-luma: Document MIPI CSI-2 packing Date: Fri, 23 Feb 2024 17:30:05 +0100 Message-ID: <20240223163012.300763-4-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240223163012.300763-1-jacopo.mondi@ideasonboard.com> References: <20240223163012.300763-1-jacopo.mondi@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The Y10P, Y12P and Y14P format variants are packed according to the RAW10, RAW12 and RAW14 formats as defined by the MIPI CSI-2 specification. Document it. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst b/Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst index 3af6e3cb70c4..8e313aaeb693 100644 --- a/Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst +++ b/Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst @@ -209,3 +209,7 @@ are often referred to as greyscale formats. For Y012 and Y12 formats, Y012 places its data in the 12 high bits, with padding zeros in the 4 low bits, in contrast to the Y12 format, which has its padding located in the most significant bits of the 16 bit word. + + The 'P' variations of the Y10, Y12 and Y14 formats are packed according to + the RAW10, RAW12 and RAW14 packing scheme as defined by the MIPI CSI-2 + specification.