Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3391414pxb; Sat, 26 Mar 2022 18:16:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFnJER+Afoow0xCFh2BkSMH7tfKTH8+xDj5ynxVJ8jC9LAfZ9+NUbNtVgory22pAH+t4vz X-Received: by 2002:a50:9fa5:0:b0:418:e7c4:cf96 with SMTP id c34-20020a509fa5000000b00418e7c4cf96mr7755830edf.30.1648343766470; Sat, 26 Mar 2022 18:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648343766; cv=none; d=google.com; s=arc-20160816; b=aE9Mc/nkpcruGpjPcRQWraFey/qmK83cRQrNd95A8EhsHshACtXgeoDoMAuSZT/ucJ FOgKLgINdgcRo25LW8/iRLeDZlZaG1upMGzvXcS01QfrQCoCamlAQcDVSWYailTTkt6p CU3okBvWjwLkRUGc+/SSTiE00d5QKuKn2cr+VSw2t9bL7sG+xznKaWfQPvfg3OxbThE4 3FHIqTEFP1XHtqCKcB3RpVP/iFFPgwrgBz50/NgPQfE72B7CJLumVVgK7G9MMniEbgOO 59pnEHZP+6wx6qJ/HUwGCVn7hTfmfP0/M1ZFUACyAiXqFIMQo8hOFHEXPFig05N4TlPK pS2A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UPyxfElNQl+Z1B0HveGF1NwVew6Bc7SXujZEwhtgKV8=; b=R4LRScoPzEv2NQFrUyIidxd/ZEpc7HDXXYN7kTrjrYmJS9OnSGiBK1Q+Y7l88GHGWS gHhGJGDhX0iU56/JQwPk96iuzJhriz2cRyl3n7A89QleT0enIMSlc/JTd65Ld+Xi6UBh 0JxZI5KTQ/50XkU6zSUhw+/9A6cYi0oUMgIuanEJ5orrEaAeLHoL5RDQf0EFfQ2+wziV opgXScOst4dwM23HpcvDOSTvZ8KCgCytBA30/Aq412cq48RqokmqidSv97brmgQ8PtG8 3VF2GHmHxPWh9WvViiwwouhcY4TzGpD/r0t/g9R912BW6epMg4EmALHiB5UhKTt7A7Y/ jppg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ojUiBLj0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b12-20020a17090630cc00b006e0a12da667si7554016ejb.34.2022.03.26.18.15.36; Sat, 26 Mar 2022 18:16:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ojUiBLj0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235518AbiCZVl3 (ORCPT + 99 others); Sat, 26 Mar 2022 17:41:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235507AbiCZVlZ (ORCPT ); Sat, 26 Mar 2022 17:41:25 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1904E647A; Sat, 26 Mar 2022 14:39:48 -0700 (PDT) Received: from localhost (unknown [IPv6:2a02:3030:b:56bb:fa6d:7c35:3706:d2b9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sebastianfricke) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 787CA1F44384; Sat, 26 Mar 2022 21:39:46 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1648330786; bh=F1dL3cnXKmAu6Uh9VDcqP6Zx5+Do8cHpp5UctZ443fM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ojUiBLj0Na7MmMoDpmsO5E89JcWI4z60KK0UHE7q9Z2apkPnVKHnkIlApHNM35O3H 3aw+EucxSefUltpMK1uClEHFHltRzn58xV3I5hVkjH8Skv4s4eHdi4aDhvS2W8rrAn tmryxI/CmKJo5ngKnODz0T+fNLzTPZN4P4/6XpLEMUt5jgJS8Ak7qNgPOjtkUHLu63 NyAZmW5qoBDj8zrCXU9r82Oo/Kfigyr49JlCV26/Bpyg4wJMG9DLSRIMr5VCBLF23c XNNhO3qlmQfdtva1wkDUXX7IaBz/eBAeRvBOJhuDTi4P0rNptraLup4iaQzZ1MEPIE eL/0xcmjohyNQ== From: Sebastian Fricke To: linux-media@vger.kernel.org Cc: acourbot@chromium.org, tfiga@chromium.org, hverkuil-cisco@xs4all.nl, Sebastian Fricke , Mauro Carvalho Chehab , Maxime Ripard , Paul Kocialkowski , Greg Kroah-Hartman , Chen-Yu Tsai , Jernej Skrabec , linux-kernel@vger.kernel.org (open list), linux-staging@lists.linux.dev (open list:STAGING SUBSYSTEM), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), linux-sunxi@lists.linux.dev (open list:ARM/Allwinner sunXi SoC support) Subject: [RFC PATCH v2 1/2] media: docs-rst: Append HEVC specific term Date: Sat, 26 Mar 2022 22:39:26 +0100 Message-Id: <20220326213927.103680-2-sebastian.fricke@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220326213927.103680-1-sebastian.fricke@collabora.com> References: <20220326213927.103680-1-sebastian.fricke@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Describe the coding tree unit as replacement for the macroblock in the HEVC codec. Highlight a key difference of the HEVC codec to predecessors like AVC(H.264) to give a better overview of the differences between the coding standards. Signed-off-by: Sebastian Fricke --- Documentation/userspace-api/media/v4l/dev-decoder.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/userspace-api/media/v4l/dev-decoder.rst b/Documentation/userspace-api/media/v4l/dev-decoder.rst index 3cf2b496f2d0..eb5b1b1e3a51 100644 --- a/Documentation/userspace-api/media/v4l/dev-decoder.rst +++ b/Documentation/userspace-api/media/v4l/dev-decoder.rst @@ -72,6 +72,11 @@ coded resolution coded width width for given coded resolution. +coding tree unit + processing unit of the HEVC codec (≘ macroblock units in H.264, VP8, VP9); + can use block structures of up to 64×64 pixels; + Good at sub-partitioning the picture into variable sized structures. + decode order the order in which frames are decoded; may differ from display order if the coded format includes a feature of frame reordering; for decoders, @@ -104,7 +109,8 @@ keyframe macroblock a processing unit in image and video compression formats based on linear block transforms (e.g. H.264, VP8, VP9); codec-specific, but for most of - popular codecs the size is 16x16 samples (pixels). + popular codecs the size is 16x16 samples (pixels). The HEVC codec uses a + slightly more flexible processing unit called coding tree unit (CTU). OUTPUT the source buffer queue; for decoders, the queue of buffers containing -- 2.25.1