From patchwork Wed Aug 25 10:29:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 13487 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 2CB7EBD87D for ; Wed, 25 Aug 2021 10:29:49 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E4D1E688E4; Wed, 25 Aug 2021 12:29:48 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="tu0VRdyO"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C4FE160504 for ; Wed, 25 Aug 2021 12:29:42 +0200 (CEST) Received: from Monstersaurus.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6EBB024F; Wed, 25 Aug 2021 12:29:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1629887382; bh=DXDjloYdW+OI6qoiD2w/P7rtA84Ry682Oj9x9Kctvew=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tu0VRdyOthyCgrMzNYhkIlPMvDUhhyHTMks7clwrbDMoi9h9SacfZ1vN+OmdbaAgv b+Yy289uIHso0CNMVGfPjtvGADd7WjWeSxro+qhSTRF9FbGIOujO2g5gZZ5qg3fCZy mo0i+n1fO4r30MxSYZJRZuN3CMN0vS19s8nIN8Yw= From: Kieran Bingham To: libcamera devel Date: Wed, 25 Aug 2021 11:29:36 +0100 Message-Id: <20210825102937.3740405-5-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210825102937.3740405-1-kieran.bingham@ideasonboard.com> References: <20210825102937.3740405-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 4/5] Documentation: application-developer: Fix reference to cam BufferWriter X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The BufferWriter class has been replaced by the FileSink. Adapt the reference, to match the source code. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- Documentation/guides/application-developer.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/guides/application-developer.rst b/Documentation/guides/application-developer.rst index e2ed79d5173e..5f43af9e5a7a 100644 --- a/Documentation/guides/application-developer.rst +++ b/Documentation/guides/application-developer.rst @@ -466,10 +466,10 @@ and the bytes used by planes. A completed buffer contains of course image data which can be accessed through the per-plane dma-buf file descriptor transported by the ``FrameBuffer`` instance. An example of how to write image data to disk is available in the -`BufferWriter class`_ which is a part of the ``cam`` utility application in the +`FileSink class`_ which is a part of the ``cam`` utility application in the libcamera repository. -.. _BufferWriter class: https://git.linuxtv.org/libcamera.git/tree/src/cam/buffer_writer.cpp +.. _FileSink class: https://git.linuxtv.org/libcamera.git/tree/src/cam/file_sink.cpp With the handling of this request completed, it is possible to re-use the buffers by adding them to a new ``Request`` instance with their matching