From patchwork Wed Oct 20 13:33:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 14204 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 14491BF415 for ; Wed, 20 Oct 2021 13:33:59 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 606FA68F5D; Wed, 20 Oct 2021 15:33:58 +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="PH++qQKg"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 34FE46023A for ; Wed, 20 Oct 2021 15:33:57 +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 A89253F6; Wed, 20 Oct 2021 15:33:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1634736836; bh=Zj3GG/qjJCMPTO+UpHXW3h76OGyH9WoxkBCzcXh825A=; h=From:To:Cc:Subject:Date:From; b=PH++qQKgtEqaqf1cL1mpzbXcw7I5RLIWxQGge9V4ewtuIe97tiXR0fHjYyDi8vPXd AP/vVeRo1i+oZ0FDwIWkiYNpAjZSDhg/gQjrNucU4Tj6UJwf27N2QaOhcdDj9lac07 9YTivuoZEzcuAHY6YUcpFKSnpgQbQducNtDJ+LmE= From: Kieran Bingham To: libcamera devel Date: Wed, 20 Oct 2021 14:33:51 +0100 Message-Id: <20211020133353.2500082-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/2] Camera Control Validator 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" These patches were part of an earlier series, which was partially merged. As part of cleaning up the request prior to making it use the D-Pointer implementation, clean up the todo and use a CameraControlValidator provided by the Camera instead of creating a new one for each request. Kieran Bingham (2): libcamera: camera: Create a CameraControlValidator libcamera: request: Use external CameraControlValidator include/libcamera/internal/camera.h | 6 ++++++ include/libcamera/request.h | 1 - src/libcamera/camera.cpp | 7 +++++++ src/libcamera/request.cpp | 10 +++------- 4 files changed, 16 insertions(+), 8 deletions(-) Reviewed-by: Paul Elder