Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3591006pxb; Mon, 25 Jan 2021 22:37:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9k6fONZPu+2dba0LEoPzKOtSNx6y8nK16sVo/cRGlQ4/e7ysIFZtqSc1YQHgPAFjevCTB X-Received: by 2002:a17:907:2705:: with SMTP id w5mr2447487ejk.505.1611643060604; Mon, 25 Jan 2021 22:37:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611643060; cv=none; d=google.com; s=arc-20160816; b=sLdymZkH7rmpNFt927M+qmOo4KmTqxbG//uKbfuddaJYIBDtfHOVwhAqbPeUGeV1rl W1cwfxGZVawSToLCbEI875AuUXMHrXbfS0yi8PI8abR5ZFmev4huWMD1MPYyHwkyvp1B A1fLa5qY/vik+YtAqw2uUs9fqJNFRot2kMqjTqmRx0QnoH6/tIerSWHfHdwdzjwJFmhu tX2ThhHWXD09ZavamG1+rQuLGweuz3m5qHxgjxgWV5YXoYO74A4g8FrGsyUtb8bNcWvA 29Mt7bBE12IT0cW65NOWlK6QxiquYRwCn7IWC77bpIheh/OF4y4JcMRREGhUVwK7v0Rk aKMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OGO+A7lS9PhLkeLCgeUvPbSjT229oSceyrLB4F3iZbc=; b=f6/WK5to877q/RDsG1UN7VixHUWW2KSpkvv1EEsKG4iTLEhcxYPVBLjmCljzI152Vl lvc1S0GG/fOQGLAWon4MGhRr8J7675CP+FKoBcTka7R6859qD86VVRNlJ6OwdnoZPbC5 sMzy/gfS6YUME/TgY48PPwEahqKa3guVXzQ0Po8njMmhYlZrGequMO/p2Op3yjFOBpEs 9evl7MPkyBRrHmvF072YjISTth8+s8BO4Y/QcsN4FNa5lGjjyxh3pMGbHKn9bv+t6QWV HSiX/0Os62vkdaozB7KESrwbpHmE0+Qx58FQ5+VcNr5yQY7HUmowqFNg8yia89vNieuU vfnQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu4si8137545edb.55.2021.01.25.22.37.16; Mon, 25 Jan 2021 22:37:40 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727410AbhAZGdP (ORCPT + 99 others); Tue, 26 Jan 2021 01:33:15 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:59352 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729286AbhAYOLy (ORCPT ); Mon, 25 Jan 2021 09:11:54 -0500 Received: from floko.floko.floko (unknown [IPv6:2804:214:81d7:a6cc:f83c:66c3:4225:e59d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 09F2E1F452C0; Mon, 25 Jan 2021 14:10:37 +0000 (GMT) From: Helen Koike To: linux-media@vger.kernel.org Cc: hverkuil@xs4all.nl, hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com, kernel@collabora.com, linux-kernel@vger.kernel.org Subject: [PATCH v2] media: doc: pixfmt-yuv: Fix 4:4:4 subsampling info Date: Mon, 25 Jan 2021 11:10:29 -0300 Message-Id: <20210125141029.16481-1-helen.koike@collabora.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Changes in v2: - s/No sub-sampling/The chroma plane is not subsampled/ (Laurent) - Fixed description regarding the number of bytes (Laurent) --- Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 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..1e0db602cc1b 100644 --- a/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst +++ b/Documentation/userspace-api/media/v4l/pixfmt-yuv-planar.rst @@ -396,9 +396,9 @@ 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 -same number of bytes as luma lines, and the chroma plane contains the same +Semi-planar YUV 4:4:4 formats. The chroma plane is not subsampled. +Chroma lines contain the same number of pixels and twice the +number of bytes as luma lines, and the chroma plane contains the same number of lines as the luma plane. .. flat-table:: Sample 4x4 NV24 Image -- 2.30.0