From patchwork Wed May 5 13:53:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Plowman X-Patchwork-Id: 12193 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 DD640BDE7C for ; Wed, 5 May 2021 13:53:15 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1668268915; Wed, 5 May 2021 15:53:15 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="YzUPJP+r"; dkim-atps=neutral Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5A9B168901 for ; Wed, 5 May 2021 15:53:13 +0200 (CEST) Received: by mail-wm1-x32d.google.com with SMTP id n205so1500399wmf.1 for ; Wed, 05 May 2021 06:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EHVWnHPKukZ0nNDRm+LFTuorDtNs5u7rFayn5GG0U7I=; b=YzUPJP+r+4hVPtvYNcLRbsdmnzM/Yaw9En2GWPOIFBAMBP2hUf3Kzpusp5UkAtcdZH /CLFK6o/t/0k90LY1n3SBg/Tcz1SKSbyRf3L2dKEivsq2v0SykLTdGV22kuzOrNDMbSW z5fAaQzmNzm8aQQg9IOoeKHZo9auHE3itK2jXBDj9gMTNho1c76c9uhFXwbQd2pWraWU zkH6Klq9E7GvdxZ4G7hlXKfPcicrqAGSTSRm1rnqQq7To7azlP94RIQOgJNdCVaSLLk5 XpwB2CS/8lVDagQogkyakeRuvrLPsRirGh75Zq4rXGOEoZa1JFBA8CdU97vu8nfxFqSO qbPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=EHVWnHPKukZ0nNDRm+LFTuorDtNs5u7rFayn5GG0U7I=; b=qm8KXq5LkExwL0+iAQPR82ACbJlWsT3ord1nUq/qN+L84cMIcCpHT6xDPhR5dQzr6G p1Gr78p22jKjya9xqCOpn88jcH2GNWehdkgx6FDZ9kPQy6twVlvJ5QC71X1a69gPd0OV VyeVXS3ZYmiUfCz5k75QMdXud2GzR5p+lttOPaXs2q/DINj2LZNBAr0f7R1gOGeoQw+R QKX1FHP9ZyPCxN3yBp9O4d83lTh7HHhOQxZOIKzPmLUwxifcexcXQHzq1eE2i1XsK5tI P70iBUHswaJiufuXumO0Y/ZAKALWGb9IsTmtkAT54kigBw9+5UGiO/CVh8K7AnrjYJ89 SM/A== X-Gm-Message-State: AOAM533doV5yE44BF08tHITCz0vBKY5U9+Ail5N+RduiQCNCubCw8b0f P997EZ+HmQhRDgWTYJBupod58ajw0OJdkA== X-Google-Smtp-Source: ABdhPJz6PpQa2eB4+QbHi7deG0zeD/7f0cCAw/Xg3pJOlVVlOHmBnrMzM9CCtJPYQylH+cilu6LS5A== X-Received: by 2002:a1c:cc0b:: with SMTP id h11mr10138104wmb.87.1620222792778; Wed, 05 May 2021 06:53:12 -0700 (PDT) Received: from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72]) by smtp.gmail.com with ESMTPSA id q10sm5901645wmc.31.2021.05.05.06.53.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 06:53:12 -0700 (PDT) From: David Plowman To: libcamera-devel@lists.libcamera.org Date: Wed, 5 May 2021 14:53:06 +0100 Message-Id: <20210505135308.1404-1-david.plowman@raspberrypi.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/2] Fix CameraSensor::sensorInfo by updating VBLANK ControlInfo 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" Hi everyone Thanks for all the reviews and suggestions. This latest revision takes all those on board but is otherwise unchanged. Best regards David David Plowman (2): libcamera: camera_sensor: Fix frame lengths calculated by sensorInfo() libcamera: pipeline: raspberrypi: Update ControlInfos after sensor format change include/libcamera/internal/camera_sensor.h | 2 + include/libcamera/internal/v4l2_device.h | 2 + src/libcamera/camera_sensor.cpp | 32 +++++++++++++++- .../pipeline/raspberrypi/raspberrypi.cpp | 7 ++++ src/libcamera/v4l2_device.cpp | 37 +++++++++++++++++++ 5 files changed, 79 insertions(+), 1 deletion(-)