From nobody Sun Apr 12 10:35:58 2026 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20BC13BE157 for ; Wed, 4 Mar 2026 14:05:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772633125; cv=none; b=j0/CxsUw01hiN+lqX58Mwy1NT37d/QnFQbFe87vkgtrq0oulX7COz+ENjjJ4P9r9Px0DvcLonSo/YRu22PZW8dxY+cJ+Id6aVFrc2d2bFMqupQv2Xf9zCwkcVrwBlKkg1mST/WvoPP5jQZl69QS0EJveduKjC9sFwaEf0FiPR2w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772633125; c=relaxed/simple; bh=rRr3+vifUdF0hNY60dwmGGafi8luWOxE/yqZKA9fp8c=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fxz8QO231//YLCvc0sjolAP8HVv50jFcrsfmaoIDFbFx+XT+3FWMlI5zv6CkDzZFO9vJGwCry/VVjgBEbFhqJmkPh+z6pK0+xiXmM4kMpbSkxa6U3DRvTd4UBKOHzwTgnOaxdb/igZX3PhWK+e2oBwRMSnHKJ61PmFeiQsO47+8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com; spf=pass smtp.mailfrom=raspberrypi.com; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b=Q9nfvWoR; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=raspberrypi.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="Q9nfvWoR" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-482f454be5bso72392055e9.0 for ; Wed, 04 Mar 2026 06:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1772633120; x=1773237920; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=yNaltXKAWAjQbwu3MqBmJgovVgpV61nuOt86Xr0pRVM=; b=Q9nfvWoRDTE/8hzDS2B5r1NX8dmlP2HPjjglm7Kc5Hvq/m+FmDMpwJv5oF+zzC8gH+ m9rmVnxf31g25yn3zzueKBy+Oxw7KlLsH56xEllEQY5h5v9aM/bGZuGkkPdOHFn2OTy7 UBt9BHtCXdnoyKHWG15YKXDEbtpSaJT+IJ8oNCSr7qq01e7tTqUKDSX4snYa8XGcP6ui NTybSePR+Hiv31YPk6LfdFvAu+tJ2g9V+FKdNoVjn6Ybt0swa2oz5Qf9HnIc8R63vHeG AUvxu9xcPGjN+JHMIvGXqW+JcTdfFYw5c8BpRt4bjrCZpAaOsvG3LKA2yD2Fc1V7Mojf XFmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772633120; x=1773237920; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yNaltXKAWAjQbwu3MqBmJgovVgpV61nuOt86Xr0pRVM=; b=EFf9vl/1jLqTwJUJKzsEMKg5AKrpxWu9KvnbSFViYFqd083VDAdr1VQkV2nwcCDO47 JHZcuCG4OwshVNFnaLCUSgJyYgfB37QdDIMe8pZ091Kc383YGdxOrpfnp6VzIgv0b/uV DVTmFcqJJN9XxaXm4dNO1hwFKQ5RWfYZ5L6KaA9+FkW9MUrQZthK8hV3qpSw3JlE+8s5 p1LwUC9gMmC0A2z8Bhcd4FHdW90fuqNP/LNoi80UdGcKktbGWVMuoNlU4ZF9mjB6mXOW 7hdnf1+7LUsECI3G83J7QX2vG6vGdfhYLTxmVFaDsxJWelEqddlU2KbTVMJoUWBxbTy2 m5VA== X-Forwarded-Encrypted: i=1; AJvYcCVKdJ7ky4RRjFG41QEANn9Ov7XnoIjrnhPZjQvlBeMoKaUj+OcFrfW2mQN0Ladp0Tue0zKf0wAaXIhgobM=@vger.kernel.org X-Gm-Message-State: AOJu0YxOhWnT0eh0ifxYmDTWsT2opa1weMmI08BqpH+ZCd3XEwfmbKax x7xJTxHjMLTEqV5VLbXqnEuwfe6PC578Uuw3JZJ4dQLmh6Obu+I1FQMpGve+YFFhMZM= X-Gm-Gg: ATEYQzyoS3lmZKc8OasryknqiHEeTw+c4DXLmdj6ic7gWCcQ9RZLNZumUlZ7ksegNeF fIg0BqFk+DlEI9tf8mB6vtVAtADQjLQy2gjpfbdAQ7Y4+Bx71LVHinJ3iZx9TamdBqkTQvsWen8 IJoOPEURdIDXX8Fwc1+Dn4kJ7us4uBNkqZVaw4KETPirPMEQWvCssq/tp3VoiSCih7bWhS046e2 H8MXdKM4ZILC1QGcIwI2WcfAHrcXVQGHGp0HAIGgEMv/RO+HXa/nW2H6chJ6pP5zvY7o8IIYgQ7 n5DjsEeWXSyUbpQsqknZxvDJq+P/GUQBmCezqy/ShaIfl0QZsPhQRpuQDwzVzMSudibR/eWfkZc vbbTa1HKCNa5JSG1X6ciqGDckSm1opeGl+5vaxIJi/MtgTY3UwCG1wynBpFbNwZsfLmQ/Oo59AK n6e9jU3jlIsgAzIg== X-Received: by 2002:a05:600c:19d4:b0:483:a352:b4e4 with SMTP id 5b1f17b1804b1-4851987df8fmr36433065e9.6.1772633120448; Wed, 04 Mar 2026 06:05:20 -0800 (PST) Received: from [127.0.1.1] ([2a00:1098:3142:e::8]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-485187b6ffbsm59296165e9.2.2026.03.04.06.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2026 06:05:20 -0800 (PST) From: Dave Stevenson Date: Wed, 04 Mar 2026 14:05:14 +0000 Subject: [PATCH v6 1/6] docs: uapi: media: Clarify HEVC slice_param bit_size, data_byte_offset Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260304-media-rpi-hevc-dec-v6-1-93868ae6dff8@raspberrypi.com> References: <20260304-media-rpi-hevc-dec-v6-0-93868ae6dff8@raspberrypi.com> In-Reply-To: <20260304-media-rpi-hevc-dec-v6-0-93868ae6dff8@raspberrypi.com> To: Sakari Ailus , Laurent Pinchart , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Broadcom internal kernel review list , John Cox , Dom Cobley , review list , Ezequiel Garcia Cc: Nicolas Dufresne , John Cox , Stefan Wahren , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Dave Stevenson X-Mailer: b4 0.14.1 From: John Cox Clarify exactly what bit_size and data_byte_offset mean when there are multiple slices in the bitstream data. Signed-off-by: John Cox Signed-off-by: Dave Stevenson --- Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst | 6 ++= ++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateles= s.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst index 3b1e05c6eb13..a54e8ea29440 100644 --- a/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst @@ -2399,10 +2399,12 @@ This structure contains all loop filter related par= ameters. See sections =20 * - __u32 - ``bit_size`` - - Size (in bits) of the current slice data. + - Size in bits of the slice_segment_data for the current slice inclu= ding + any emulation prevention bytes. * - __u32 - ``data_byte_offset`` - - Offset (in byte) to the video data in the current slice data. + - Offset in bytes from the start of the current v4l2_buffer to the s= tart + of the slice_segment_data for the current slice. * - __u32 - ``num_entry_point_offsets`` - Specifies the number of entry point offset syntax elements in the = slice header. --=20 2.34.1