Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1678574pxb; Sat, 23 Jan 2021 02:00:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJypnhh2K6JrsAadc0VEuE2nkN/5ZG43ew+1fRUXU0H/4moMm7HdO9zLwV4L9st3jlgJ3S4t X-Received: by 2002:a17:906:a384:: with SMTP id k4mr5593524ejz.194.1611396054632; Sat, 23 Jan 2021 02:00:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611396054; cv=none; d=google.com; s=arc-20160816; b=YZbUKx2E7R0stoR4dpaeP/QmURoAiZfTgrcepMLvnRCDcHzaNP08U3gejCpvRL64ME A6JXpPrG0dW2hhRoZxuex8nvf3gkAeYa41S1NoXd7rq8wV8tPwVjbcAhGFYf2olxOvIk wCYx+7yhhbZ776pozR41sJz984TyCR4Ggb4pBfviORDaoB8ReIqkJx7QNH0oCk5eCviI vQQtHw2FeVTrd3o6fYnKGGTbCIqFJ3zGefI3RpJBINDZgjzKOHpZ7b8WC7PQLdSHl9zg bdevdzdcquz9n9J9j9Df96l13RG5wP8sCxt1fVuleCIi29zrB4DquV0buTXzXlTpVZQW 4ZCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DJO6lkKHo6WRrKfKRNg83eeEHRbE7rfsMU13p3pDSf4=; b=ZvTymC4YhruXOX4vn2D8CSLQ0yi4D2pVOSp0POlUXCzhWwKWpMrKhMOnJ1dkWYK9XZ 6LSONYI16DU3yegP50z3+2kC067QxoMzBT8riRjyK7uGUmz2fPWRNZXI1Eyt+VPrQxsR HV/64AiQGgfaDxSzJW1dSMzT9dxzAyvBEocwMzKf8JtYf8t0ljXKdValCXpsqg2Rse/2 S54Jl5lGsaWWv5NIY7RGGq8cHo1tLUWHlz22I41Uix4GtdddwjFcc1ayc6yH9pWnfzG6 /WtVJVa5F5gtkJ+B3IoaVNr0LW2v23ud5siJbrRPDxohG8tbQ745XVJzW+VGv7EKLygi TdvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=jhRbNSVu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k8si3952119ejx.59.2021.01.23.02.00.30; Sat, 23 Jan 2021 02:00:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=jhRbNSVu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726982AbhAWJ5V (ORCPT + 99 others); Sat, 23 Jan 2021 04:57:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726866AbhAWJ5O (ORCPT ); Sat, 23 Jan 2021 04:57:14 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2A8CC06174A; Sat, 23 Jan 2021 01:56:33 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 866E53E; Sat, 23 Jan 2021 10:56:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1611395790; bh=n7EJVx3lMyXfgyiJsOkqtGDIrkjrA1Zltz1NkLhlxg8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jhRbNSVuzTO1A0p+xl9vOtrw90Lk7Z8JSKYPdDorAnYq7DF+11h4eDxYPih8RcmCN XaL7YNrHUdzyXwHqh6whAKs/bxcXNtwP37kW84pSOSZAiBU30p1bBqigc19jGkCHL8 50uTYhpjgSxp2QUncIkzPvZM5zZ/ic1AEF80lf7g= Date: Sat, 23 Jan 2021 11:56:11 +0200 From: Laurent Pinchart To: Helen Koike Cc: linux-media@vger.kernel.org, hverkuil@xs4all.nl, hans.verkuil@cisco.com, kernel@collabora.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: doc: pixfmt-yuv: Fix 4:4:4 subsampling info Message-ID: References: <20210122182723.327438-1-helen.koike@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210122182723.327438-1-helen.koike@collabora.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Helen, Thank you for the patch. On Fri, Jan 22, 2021 at 03:27:23PM -0300, Helen Koike wrote: > YUV 4:4:4 is not subsampled, fix this in the docs. > > Fixes: da785536e007 ("media: doc: pixfmt-yuv: Move all semi-planar YUV formats to common file") > Signed-off-by: Helen Koike > --- > Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst b/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst > index 7d4d39201a3f..bcb4ef24c334 100644 > --- a/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst > +++ b/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst > @@ -396,8 +396,8 @@ number of lines as the luma plane. > NV24 and NV42 > ------------- > > -Semi-planar YUV 4:4:4 formats. The chroma plane is subsampled by 2 in the > -horizontal direction. Chroma lines contain half the number of pixels and the > +Semi-planar YUV 4:4:4 formats. No sub-sampling. "The chroma plane is not subsampled." ? > +Chroma lines contain the same number of pixels and the > same number of bytes as luma lines, and the chroma plane contains the same > number of lines as the luma plane. That's not quite right, the chroma lines contain twice the number of pixels and bytes, as there's one Cb and one Cr value in the chroma line for each Y value in the luma line. Maybe the text could be reflowed ? -- Regards, Laurent Pinchart