Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 348ED1CB506 for ; Tue, 22 Oct 2024 19:27:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625265; cv=none; b=VaSN2AEkP1tRjB/5ByXAJ7Vf2Uq7RKzkh8LsnDkpNONgRwJRoa7eFDMIIo0vL5u3NWBCcTqK/zF064GvSr0/u3/7fsiz+KavgY9IJp8JN22PSTDRR3U91ggNvxcNrS+8TKsnFf5tP1O8SgvfwMdjm2A7zuqmYINiQzUM3HqJB/I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729625265; c=relaxed/simple; bh=Z0mDOjHDSs4Jrol0egWo3C/kOcn9XQcGmoUMKGX1Bzc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=byEVwpJV1UuNGjDleAb05rEVvRAZZUXyZ+Mk++DK24XEHsQpfiO/c+WAWl9FpNsSsMtGwgia5eDIQRPx9tsHG6IA1aR2wA7vlvwFXV/Mdfm1xg9i+04u/Z2PCoFRLtnyZSDVKI6N/5y/iP4dIJUWLSCYdFLymSI6K8eke8zfUyM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=PM2QxzKc; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="PM2QxzKc" Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 36E5D752; Tue, 22 Oct 2024 21:25:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1729625154; bh=Z0mDOjHDSs4Jrol0egWo3C/kOcn9XQcGmoUMKGX1Bzc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PM2QxzKcX8pHGYWuaYYwWhc0DfQB8h1UpzNdHPTfbXjga1eOSRecybH+u6+z0SEn5 ptQXOh82uSkVeY85B/iCgpV2CBCf/1xYEC18PLYtZCOeS0k2mS/PkGT6VHg09WoE1C WmzhRqQUAoVTQcdhiW8UvhTz1VDOrFcmgPosB0PY= Date: Tue, 22 Oct 2024 22:27:34 +0300 From: Laurent Pinchart To: Sakari Ailus Cc: linux-media@vger.kernel.org, hverkuil@xs4all.nl, Prabhakar , Kate Hsuan , Alexander Shiyan , Mikhail Rudenko , Dave Stevenson , Tommaso Merciai , Umang Jain , Benjamin Mugnier , Sylvain Petinot , Christophe JAILLET , Julien Massot , Naushir Patuck Subject: Re: [RFC 1/4] media: Documentation: Rework embedded data documentation Message-ID: <20241022192734.GC9497@pendragon.ideasonboard.com> References: <20241011075535.588140-1-sakari.ailus@linux.intel.com> <20241011075535.588140-2-sakari.ailus@linux.intel.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20241011075535.588140-2-sakari.ailus@linux.intel.com> Hi Sakari, Thank you for the patch. On Fri, Oct 11, 2024 at 10:55:32AM +0300, Sakari Ailus wrote: > Rework embedded data documentation by removing the reference to the pixel > data stream. The specific documentation of the embedded data interface > will be elsewhere. > > Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart (possibly with Jacopo's suggestion included) > --- > .../userspace-api/media/drivers/camera-sensor.rst | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) > > diff --git a/Documentation/userspace-api/media/drivers/camera-sensor.rst b/Documentation/userspace-api/media/drivers/camera-sensor.rst > index dc415b8f6c8e..d82cd803e337 100644 > --- a/Documentation/userspace-api/media/drivers/camera-sensor.rst > +++ b/Documentation/userspace-api/media/drivers/camera-sensor.rst > @@ -111,13 +111,12 @@ the sensor configuration for the captured frame back to the host. While CSI-2 is > the most common data interface used by such sensors, embedded data can be > available on other interfaces as well. > > -Such sensors expose two internal sink pads (pads that have both the > -``MEDIA_PAD_FL_SINK `` and ``MEDIA_PAD_FL_INTERNAL > -`` flags set) to model the source of the image and > -embedded data streams. Both of these pads produces a single stream, and the > -sub-device routes those streams to the external (source) pad. If the sub-device > -driver supports disabling embedded data, this can be done by disabling the > -embedded data route via the ``VIDIOC_SUBDEV_S_ROUTING`` IOCTL. > +Embedded data support is indicated by an internal sink pad (pad that has both > +the ``MEDIA_PAD_FL_SINK `` and ``MEDIA_PAD_FL_INTERNAL > +`` flags set) with a metadata format to model the > +embedded data stream. If the sub-device driver supports disabling embedded data, > +this can be done by disabling the embedded data route via the > +``VIDIOC_SUBDEV_S_ROUTING`` IOCTL. > > In general, changing the embedded data format from the driver-configured values > is not supported. The height of the metadata is device-specific and the width -- Regards, Laurent Pinchart