From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from perceval.ideasonboard.com ([95.142.166.194]:43157 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751765AbaCBKat (ORCPT ); Sun, 2 Mar 2014 05:30:49 -0500 From: Laurent Pinchart To: Hans Verkuil Cc: "linux-media@vger.kernel.org" , Sylwester Nawrocki Subject: Re: [PATCH] media DocBook: fix NV16M description. Date: Sun, 02 Mar 2014 11:32:10 +0100 Message-ID: <6224050.YuhZzId860@avalon> In-Reply-To: <5312FD30.3070908@xs4all.nl> References: <5312FD30.3070908@xs4all.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-media-owner@vger.kernel.org List-ID: Hi Hans, Thank you for the patch. On Sunday 02 March 2014 10:43:12 Hans Verkuil wrote: > The NV16M description contained some copy-and-paste text from NV12M, > suggesting that this format is a 4:2:0 format when it really is a > 4:2:2 format. > > Fixed the text. > > Signed-off-by: Hans Verkuil Acked-by: Laurent Pinchart > --- > Documentation/DocBook/media/v4l/pixfmt-nv16m.xml | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > > diff --git a/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml > b/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml index c51d5a4..fb2b5e3 > 100644 > --- a/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml > +++ b/Documentation/DocBook/media/v4l/pixfmt-nv16m.xml > @@ -12,18 +12,17 @@ > > Description > > - This is a multi-planar, two-plane version of the YUV 4:2:0 format. > + This is a multi-planar, two-plane version of the YUV 4:2:2 format. > The three components are separated into two sub-images or planes. > V4L2_PIX_FMT_NV16M differs from > V4L2_PIX_FMT_NV16 in that the two planes are > non-contiguous in memory, i.e. the chroma -plane does not necessarily > immediately follows the luma plane. > +plane does not necessarily immediately follow the luma plane. > The luminance data occupies the first plane. The Y plane has one byte per > pixel. In the second plane there is chrominance data with alternating > chroma samples. The CbCr plane is the same width and height, in bytes, as > the Y plane. -Each CbCr pair belongs to four pixels. For example, > +Each CbCr pair belongs to two pixels. For example, > Cb0/Cr0 belongs to > -Y'00, Y'01, > -Y'10, Y'11. > +Y'00, Y'01. > V4L2_PIX_FMT_NV61M is the same as > V4L2_PIX_FMT_NV16M except the Cb and Cr bytes are > swapped, the CrCb plane starts with a Cr byte. -- Regards, Laurent Pinchart