From patchwork Fri Jun 17 14:35:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Semkowicz X-Patchwork-Id: 16266 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 2AB91C3273 for ; Fri, 17 Jun 2022 14:36:02 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B516E65633; Fri, 17 Jun 2022 16:36:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655476561; bh=bfC5m4po1aXHCHv8kSDq/G+Xmwx2dfvIIEqCdfLnAS8=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=p0WT7IGMl6fgeSufBpCbbsua/QaKjISdQuginTi1R36oA6kg7X5lMjHWdO+FhDqLL cUlC7H5EpJi2I26GM2vrEa8IP/m2zbEG3y/0Db88KjfucxcVSd4uuSTSho6sYAXiND vdXVxzztyYFz6zJhG0oQAnRVN3bkpOcBgWH5A1zFiS4AxGA6YMp3ORUup9sOu3E/Eo I9oJeYO+g6M8In6P6+XvLVoR3PY7tDkCFJmsA3b0jHUM2/BDoVTWSJw1vND/Nl40/o Je8MGoL8tmwq7V9XtbuAepcq2O4KSN5YuDTmRhpZUHC+uAtWrbLB93iaBanbaU8Hnw RBz3RKDxAEjvg== Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BFC8465634 for ; Fri, 17 Jun 2022 16:35:59 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=thaumatec-com.20210112.gappssmtp.com header.i=@thaumatec-com.20210112.gappssmtp.com header.b="lGWKN/pY"; dkim-atps=neutral Received: by mail-ej1-x630.google.com with SMTP id kq6so9131727ejb.11 for ; Fri, 17 Jun 2022 07:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thaumatec-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oCovsv3VFF1beHyZ5aPXj8YqDmLQsuqKHjhWl1wvOrc=; b=lGWKN/pYNeq1c8YZ7SikO9RcsCpNZYHEueWjYce/OGhs6TNNmzI1kbslebAg/wtkWJ kt+Kldlwo79PxzQ8RYyjmsblL7KtC9cpzjG1EiCGu28bzNmx4sKJtA4vV+0+/Xco0XGq g2PUAbmMmyzwOvUXsBOBVv7y7ZTN7VrZRECbW2qCBXi9N8p9cbNk+9xfKsCSt2rCn8wS nKKEtLk16khZqfKXTCdT4DQ23pXIjlMHsJofsaspQmhCJ40WY1h/pyAlm0gnxOt9l/qc zHaTUBXCnFF6ttHLkoN0GJi8qF5wSxZyoBNbT+VEltcOZ3EKhzveUBkzwTL4Td6khAtH KECg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oCovsv3VFF1beHyZ5aPXj8YqDmLQsuqKHjhWl1wvOrc=; b=gpk4Cmrx5MLjW/I4AbFdZ02Sp39mftDxjQplf3ueZTQoaEbipnfkeKk9X9Gaf5wDPj VXfYZttU5jQNARfEUlIBKozz/KA0ORmRW7hJ68Tr3Xx0yfZX58AENBt0F/sImcncGuc7 DbE3pY/hHNiWduCi0/F8BnCSp+NYZKnQZGuhBxkhCqcAZJpnxGA0HnywKmBe3MfkmxKB GbQQykVcHXf2+ndzksuXH4UvLzZSGG96F9+5WoWCvgPyZ60kpVAxK9jASt18Z58QVXj/ xgF84nFNTXqhS6/dTbnD51MD2/29x7wzV/9qxCqXZ/x/eB0Ohtr0GY2HkEVJxke+hkF2 M07w== X-Gm-Message-State: AJIora8w7cQczDYwxCEUCeIgaMCEMD+HmcCS/yL4SONvZKTx9sZ8N69N ROWVPm2ErjGE4cM2AlP0MhfhVB1BaIAWFA== X-Google-Smtp-Source: AGRyM1sXuL+Yy/O43aosiDKPvuE6EBwMcboL27q5Yx/aLDN1ORH/KWy90tDzlT63frWWo4a918PhHA== X-Received: by 2002:a17:907:7fa5:b0:711:c8e2:2f4c with SMTP id qk37-20020a1709077fa500b00711c8e22f4cmr9599427ejc.49.1655476559291; Fri, 17 Jun 2022 07:35:59 -0700 (PDT) Received: from localhost.localdomain (ip092042140082.rev.nessus.at. [92.42.140.82]) by smtp.gmail.com with ESMTPSA id u20-20020aa7d554000000b0042a2d9af0f8sm3746189edr.79.2022.06.17.07.35.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 07:35:58 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 17 Jun 2022 16:35:47 +0200 Message-Id: <20220617143549.35442-2-dse@thaumatec.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220617143549.35442-1-dse@thaumatec.com> References: <20220617143549.35442-1-dse@thaumatec.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 1/3] Documentation: Add the missing const to the example code 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: , X-Patchwork-Original-From: Daniel Semkowicz via libcamera-devel From: Daniel Semkowicz Reply-To: Daniel Semkowicz Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Request::BufferMap key type is now const Signed-off-by: Daniel Semkowicz 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 8d12a208..6ab8b7e5 100644 --- a/Documentation/guides/application-developer.rst +++ b/Documentation/guides/application-developer.rst @@ -410,7 +410,7 @@ images. .. code:: cpp - const std::map &buffers = request->buffers(); + const std::map &buffers = request->buffers(); Iterating through the map allows applications to inspect each completed buffer in this request, and access the metadata associated to each frame. @@ -518,7 +518,7 @@ and queue all the previously created requests. camera->start(); for (std::unique_ptr &request : requests) - camera->queueRequest(request.get()); + camera->queueRequest(request.get()); Start an event loop ~~~~~~~~~~~~~~~~~~~