From patchwork Mon Mar 1 13:31:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 11412 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 D48C3BD1F1 for ; Mon, 1 Mar 2021 13:32:07 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3736D68A69; Mon, 1 Mar 2021 14:32:07 +0100 (CET) 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="L5N3ksPN"; dkim-atps=neutral Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9FC8860521 for ; Mon, 1 Mar 2021 14:32:05 +0100 (CET) Received: by mail-wr1-x434.google.com with SMTP id e10so15928991wro.12 for ; Mon, 01 Mar 2021 05:32:05 -0800 (PST) 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=vPdAXuHcFO2mFMUi3z81AuFNecDWhQFNi1MZZjMiVeA=; b=L5N3ksPNzzaMUUcFvwTH1QZ9s6DFVnrHvkQJSRuef9W+H22MqR8m76MXwrDI5uj1ad ogKTM9bnLqqKoLRspKjzjoZz4vm1P/PRgtvwDqDs2LQp5C6DrzQziT4CZhao87ZXlvmR sY0olaN14UObvuYSWhtliDFWrXjLy+cYb4YobvsFHvM+87RErnR9lRY+BYwZvR6dFhvf ldmfWI9yeMw+A2l4r6Kninp/ZxJTv607QP1qSW+oTpOsfhmtLNmibTVxSZAt8fyuEAXY jALEY3Kn+2D7UuzVrMaPyFouPP3wMz5hocyWSMuL1h992uTbpfif14zBo94uL2NWbPOa 4tTw== 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=vPdAXuHcFO2mFMUi3z81AuFNecDWhQFNi1MZZjMiVeA=; b=AmRr0ep3v64ltyDdk2QleB2KaYoJNFD6KCEtGJfJgEjrgtIXTMEd+Wc2lPPvPHuQg3 dBx7Wh52UB+GgrhlrerA+qydsPmnmQZixeBN7bwLPdi+9beKfe5MwWUv4PaetajJ36gI 0/cmOLo7GPhZ8HjQXpyeng9WE1UfehvBIrS0jMqMhbzHe5KGVNQLoe+9OHJq0ethnnL6 5Gp9fPCzJU3F6XqZLtRGa+O3z1LK1y52sMhx2qr3zLAS4TD9yhHTtcM2mzJLrCijXZ15 OZGT0gSSsL61ETSxhKfVSjid8h++UbzqdgQ8mCpRwOj8YeyL1nSFJ+2WQc4/EpZEByfr VIfQ== X-Gm-Message-State: AOAM532jEHZqo8YCihGVa1Ui0DwSXfFXbCG4IKbmM9wGZkWyOBTAyoWR xMyauuoE779WEHvyPzQmtG3ZgEpxmXv7CaON X-Google-Smtp-Source: ABdhPJwqpwVYstex8JCcSSyiKvkog6zt1uU8pk1UW2k74WHtUbkgt7nLQMtAObCxeYw8RJi4/wvxHg== X-Received: by 2002:a05:6000:1819:: with SMTP id m25mr12564180wrh.169.1614605524588; Mon, 01 Mar 2021 05:32:04 -0800 (PST) Received: from naush-laptop.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id a75sm11263630wme.10.2021.03.01.05.32.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Mar 2021 05:32:04 -0800 (PST) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Mon, 1 Mar 2021 13:31:54 +0000 Message-Id: <20210301133159.4179129-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 0/5] DelayedControls updates and fixes 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, This is the next revision (v3) of the patch set. Differences between v3 and v2: - Update commit message in patch 1/5 to be more descriptive. - Fix formatting for python dict variables in patch 2/5. - Simplify the syntax when setting the Info object in patch 3/5. Thanks, Naush Naushir Patuck (5): libcamera: delayed_controls: Add notion of priority write utils: raspberrypi: Add a DelayedControls log parser libcamera: delayed_controls: Remove unneeded write when starting up libcamera: delayed_controls: Remove spurious no-op queued controls libcamera: delayed_controls: Fix off-by-one error in get() include/libcamera/internal/delayed_controls.h | 13 +- src/libcamera/delayed_controls.cpp | 74 ++++++++---- src/libcamera/pipeline/ipu3/ipu3.cpp | 8 +- .../pipeline/raspberrypi/raspberrypi.cpp | 13 +- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 8 +- test/delayed_contols.cpp | 20 ++-- utils/raspberrypi/delayedctrls_parse.py | 111 ++++++++++++++++++ 7 files changed, 194 insertions(+), 53 deletions(-) create mode 100644 utils/raspberrypi/delayedctrls_parse.py