Message ID | 20240502110503.38412-2-jacopo.mondi@ideasonboard.com (mailing list archive) |
---|---|
State | Superseded |
Headers |
Received: from sv.mirrors.kernel.org ([139.178.88.99]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <linux-media+bounces-10598-patchwork=linuxtv.org@vger.kernel.org>) id 1s2UFo-0006ta-1k for patchwork@linuxtv.org; Thu, 02 May 2024 11:05:40 +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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E9CD8283EFF for <patchwork@linuxtv.org>; Thu, 2 May 2024 11:05:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 895725FDDC; Thu, 2 May 2024 11:05:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="dEyX0vVH" X-Original-To: linux-media@vger.kernel.org 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 58D8E5EE78 for <linux-media@vger.kernel.org>; Thu, 2 May 2024 11:05:22 +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=1714647924; cv=none; b=GGXKM22kAxGzW3c3fGeK+NMScocQeNpr4tdEIyyrNRDm2ExnYy6BbUBZpWB51km/so8UwZw3wjDbnfWgFEjhLzyslWaE8uX3N+uhskZKoJvXcq5mKEmVzg81ERMvRkMAdiOiJedsO+8MjGpyeHuFUtEX154kKHsA1uMICyvtTDk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714647924; c=relaxed/simple; bh=cXpWoGfQTXlCmrJz23F+ZBdSBaNcKduH37PLXvumfu8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=K/9eKbzT1bJ4OhJzgX2URmag1NVTmbhNA5dDUQp+tuj2j4E8TmOycNqf4aKAQRMXHVm/u1aZFey3iuL8hIS98kILrn6FOo1lnbEQUnNMeMAaYQdVorAN7Xq064zATdfxIM115nbXrvtTc+KxPOM5x3vojrmsCVzj6nibxhSbwe8= 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=dEyX0vVH; 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 Received: from localhost.localdomain (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BC03B63B; Thu, 2 May 2024 13:04:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1714647862; bh=cXpWoGfQTXlCmrJz23F+ZBdSBaNcKduH37PLXvumfu8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dEyX0vVHngHKTapjwrTz153F9rQAPcJQnMuwyHXNGSDTa6cbopZZndNarejxiPoG5 UnaEXYgwGUXRWWMrPMpzk8Zs/GDJoeUkIDtw4LJP8dRtVhrocs8V9D84NWbM/hlGWl jvPTp2JMKDO5ioa97Jn1HPGXVfF6U2YuhxiSdHBc= From: Jacopo Mondi <jacopo.mondi@ideasonboard.com> To: Linux Media Mailing List <linux-media@vger.kernel.org> Cc: Jacopo Mondi <jacopo.mondi@ideasonboard.com>, David Plowman <david.plowman@raspberrypi.com>, Naushir Patuck <naush@raspberrypi.com>, Nick Hollinghurst <nick.hollinghurst@raspberrypi.org>, Dave Stevenson <dave.stevenson@raspberrypi.com>, Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Kieran Bingham <kieran.bingham@ideasonboard.com>, Sakari Ailus <sakari.ailus@iki.fi>, Hans Verkuil <hverkuil-cisco@xs4all.nl>, Mauro Carvalho Chehab <mchehab@kernel.org> Subject: [PATCH v6 1/7] media: uapi: pixfmt-luma: Document MIPI CSI-2 packing Date: Thu, 2 May 2024 13:04:56 +0200 Message-ID: <20240502110503.38412-2-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240502110503.38412-1-jacopo.mondi@ideasonboard.com> References: <20240502110503.38412-1-jacopo.mondi@ideasonboard.com> 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 Content-Transfer-Encoding: 8bit X-LSpam-Score: -4.9 (----) X-LSpam-Report: No, score=-4.9 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,RCVD_IN_DNSWL_MED=-2.3,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no |
Series |
media: raspberrypi: Add support for PiSP Back End
|
|
Commit Message
Jacopo Mondi
May 2, 2024, 11:04 a.m. UTC
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 <jacopo.mondi@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> --- Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst | 4 ++++ 1 file changed, 4 insertions(+)
Comments
Hi Jacopo, On Thu, May 02, 2024 at 01:04:56PM +0200, Jacopo Mondi wrote: > 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 <jacopo.mondi@ideasonboard.com> > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > Reviewed-by: Naushir Patuck <naush@raspberrypi.com> > --- > 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 b3c5779521d8..f02e6cf3516a 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. The CSI-2 specification isn't publicly available. I think you'll need to add similar examples of the packing the packed raw formats have.
On Thu, May 23, 2024 at 01:57:22PM +0300, Laurent Pinchart wrote: > On Thu, May 23, 2024 at 10:46:59AM +0000, Sakari Ailus wrote: > > Hi Jacopo, > > > > On Thu, May 02, 2024 at 01:04:56PM +0200, Jacopo Mondi wrote: > > > 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 <jacopo.mondi@ideasonboard.com> > > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > Reviewed-by: Naushir Patuck <naush@raspberrypi.com> > > > --- > > > 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 b3c5779521d8..f02e6cf3516a 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. > > > > The CSI-2 specification isn't publicly available. I think you'll need to > > add similar examples of the packing the packed raw formats have. > > Would referencing the CSI-2-packed bayer formats be acceptable ? > Otherwise we'll essentially duplicate documentation. I'm fine with that but the packing should be then documented independently of formats. I'd prefer referring to component numbers (1 to 4) so this could be re-used with Bayer formats. The documentation from the Bayer formats should be usable for this almost as-is.
On Thu, May 23, 2024 at 10:46:59AM +0000, Sakari Ailus wrote: > Hi Jacopo, > > On Thu, May 02, 2024 at 01:04:56PM +0200, Jacopo Mondi wrote: > > 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 <jacopo.mondi@ideasonboard.com> > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Reviewed-by: Naushir Patuck <naush@raspberrypi.com> > > --- > > 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 b3c5779521d8..f02e6cf3516a 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. > > The CSI-2 specification isn't publicly available. I think you'll need to > add similar examples of the packing the packed raw formats have. Would referencing the CSI-2-packed bayer formats be acceptable ? Otherwise we'll essentially duplicate documentation.
On Thu, May 23, 2024 at 10:57:09AM +0000, Sakari Ailus wrote: > On Thu, May 23, 2024 at 01:57:22PM +0300, Laurent Pinchart wrote: > > On Thu, May 23, 2024 at 10:46:59AM +0000, Sakari Ailus wrote: > > > Hi Jacopo, > > > > > > On Thu, May 02, 2024 at 01:04:56PM +0200, Jacopo Mondi wrote: > > > > 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 <jacopo.mondi@ideasonboard.com> > > > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > Reviewed-by: Naushir Patuck <naush@raspberrypi.com> > > > > --- > > > > 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 b3c5779521d8..f02e6cf3516a 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. > > > > > > The CSI-2 specification isn't publicly available. I think you'll need to > > > add similar examples of the packing the packed raw formats have. > > > > Would referencing the CSI-2-packed bayer formats be acceptable ? > > Otherwise we'll essentially duplicate documentation. > > I'm fine with that but the packing should be then documented independently > of formats. I'd prefer referring to component numbers (1 to 4) so this > could be re-used with Bayer formats. > > The documentation from the Bayer formats should be usable for this almost > as-is. Sounds good to me.
On Thu, May 23, 2024 at 02:04:15PM +0300, Laurent Pinchart wrote: > On Thu, May 23, 2024 at 10:57:09AM +0000, Sakari Ailus wrote: > > On Thu, May 23, 2024 at 01:57:22PM +0300, Laurent Pinchart wrote: > > > On Thu, May 23, 2024 at 10:46:59AM +0000, Sakari Ailus wrote: > > > > On Thu, May 02, 2024 at 01:04:56PM +0200, Jacopo Mondi wrote: > > > > > 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 <jacopo.mondi@ideasonboard.com> > > > > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > > Reviewed-by: Naushir Patuck <naush@raspberrypi.com> > > > > > --- > > > > > 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 b3c5779521d8..f02e6cf3516a 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. > > > > > > > > The CSI-2 specification isn't publicly available. I think you'll need to > > > > add similar examples of the packing the packed raw formats have. > > > > > > Would referencing the CSI-2-packed bayer formats be acceptable ? > > > Otherwise we'll essentially duplicate documentation. > > > > I'm fine with that but the packing should be then documented independently > > of formats. I'd prefer referring to component numbers (1 to 4) so this > > could be re-used with Bayer formats. > > > > The documentation from the Bayer formats should be usable for this almost > > as-is. > > Sounds good to me. Oh, and obviously, the best way to address all this would be for the MIPI Alliance to publish an open version of the CSI-2 specification, covering at least the parts that are relevant from a software point of view.
Hi Sakari, Laurent On Thu, May 23, 2024 at 10:57:09AM GMT, Sakari Ailus wrote: > On Thu, May 23, 2024 at 01:57:22PM +0300, Laurent Pinchart wrote: > > On Thu, May 23, 2024 at 10:46:59AM +0000, Sakari Ailus wrote: > > > Hi Jacopo, > > > > > > On Thu, May 02, 2024 at 01:04:56PM +0200, Jacopo Mondi wrote: > > > > 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 <jacopo.mondi@ideasonboard.com> > > > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > Reviewed-by: Naushir Patuck <naush@raspberrypi.com> > > > > --- > > > > 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 b3c5779521d8..f02e6cf3516a 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. > > > > > > The CSI-2 specification isn't publicly available. I think you'll need to > > > add similar examples of the packing the packed raw formats have. Don't we have the packaging examples in the tables already ? In mainline already for 10P and introduced by: adb1d4655e53 ("media: v4l: Add V4L2-PIX-FMT-Y14P format") 181047763040 ("media: v4l: Add V4L2-PIX-FMT-Y12P format") in the media staging tree. > > > > Would referencing the CSI-2-packed bayer formats be acceptable ? > > Otherwise we'll essentially duplicate documentation. > > I'm fine with that but the packing should be then documented independently > of formats. I'd prefer referring to component numbers (1 to 4) so this > could be re-used with Bayer formats. > > The documentation from the Bayer formats should be usable for this almost > as-is. > > -- > Sakari Ailus
Hi Jacopo, On Thu, May 23, 2024 at 03:22:56PM +0200, Jacopo Mondi wrote: > Hi Sakari, Laurent > > On Thu, May 23, 2024 at 10:57:09AM GMT, Sakari Ailus wrote: > > On Thu, May 23, 2024 at 01:57:22PM +0300, Laurent Pinchart wrote: > > > On Thu, May 23, 2024 at 10:46:59AM +0000, Sakari Ailus wrote: > > > > Hi Jacopo, > > > > > > > > On Thu, May 02, 2024 at 01:04:56PM +0200, Jacopo Mondi wrote: > > > > > 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 <jacopo.mondi@ideasonboard.com> > > > > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > > Reviewed-by: Naushir Patuck <naush@raspberrypi.com> > > > > > --- > > > > > 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 b3c5779521d8..f02e6cf3516a 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. > > > > > > > > The CSI-2 specification isn't publicly available. I think you'll need to > > > > add similar examples of the packing the packed raw formats have. > > Don't we have the packaging examples in the tables already ? In > mainline already for 10P and introduced by: > > adb1d4655e53 ("media: v4l: Add V4L2-PIX-FMT-Y14P format") > 181047763040 ("media: v4l: Add V4L2-PIX-FMT-Y12P format") > > in the media staging tree. I missed we had these already defined and thought this was all the documentation there was. Ok, this is fine then. It'd be nice to merge the packing documentations but it doesn't have to be in this set IMO.
diff --git a/Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst b/Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst index b3c5779521d8..f02e6cf3516a 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.