From patchwork Mon May 19 09:20:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 23385 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 8F2EDBD78E for ; Mon, 19 May 2025 09:22:54 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3DFBB68D7E; Mon, 19 May 2025 11:22:53 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="fH7Ll7eb"; dkim-atps=neutral Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BA822616A3 for ; Mon, 19 May 2025 11:22:51 +0200 (CEST) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3a36255d0f6so372077f8f.0 for ; Mon, 19 May 2025 02:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1747646571; x=1748251371; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=w1DzP3r5dV3iEA1imvgiz+HnsxEmw1ooHQKXpwMR3Ms=; b=fH7Ll7ebB6JZmHJnBe96LMiEtxpddvNDlE/B5vTmXrmZR5pj53R4OEyCFFK6SYgtlI h5ON9Ca1IHIhxW4k7PutTDMatnix7Hs9srYc4P3LIS889aywQ3/EEyAptl1dDakM7e8/ Mo6npL+/080hdKLglPplTlPpPF2SVUZurjcFeaA1Czxk82/ISn+4uKPrfDiwpgvvumFB iCtXlQIijZTSDfS7yfDwGwvuLNhiuT4T60g9ZS5okW7TH+Lg4JpKnT77MPRmV5yU0YGA RUlmogH6xidFc4gPLi2rRIizAdr+g/rAITpSRO1A9HpU1zU+HmGTIiDGQHaxZ8a0VNL7 Z9qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747646571; x=1748251371; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=w1DzP3r5dV3iEA1imvgiz+HnsxEmw1ooHQKXpwMR3Ms=; b=GdQCdHKg4hMDqJeCdaQV1nxYms4QW3DI0/uMgeA3yBgvY5ziRqfZTlblzbu+SUt+qV NAoUUeSTl7MNigqU383ch0wkGRVrrAsJ0NFM4GMuKym5HcYkzWmqZpD0YQmUKpApDOEo BVbVt8MB7ar5WFJkWgNsMfLC9vm5vq4dAQBvEE82nVQaEF1/mPphse3VjxBZSEXsGUBs 92CYdab6Gkh8dpIGnAh/W8ocgrhUzRvQmOMj3D6ZsKJp1AAGUD4bbQ+ICwmDwxS4VNNW jE361+wJ9cBRq8Xl23Df8UXO437yQ/2jN23hlbhK/+be+PqxC+RwXlG6j+fCYk00o0iE hEdg== X-Gm-Message-State: AOJu0YxC7G07fRsKKeeylbamtDVV99Scln9acMTNNRbnoFzyyhcOI+OA exmgMqYJiB8uFp+bHLsoGOla5QE7eOMC7psF4/oulWWpfadL2JtCE0dxmajLicuaYQ0VJuK3XYA p1f+m X-Gm-Gg: ASbGncucymJJ/ETC+zfPeSoc8KHTE/i1Xes6SpKpTejQf9hHtuDE5rA39dwISizh9i5 pr0ViYB8UGzHH7uCuToh9zmfq72q8+TpXK18kexyxKaysq9bOfLjPrNu7LpVw+Osv+jYm2SSsVT P+miZg0+Z2HroSvIXuVlMo6CM2UOojiUhqRZXfnMXMr4HrOpl1YueBy6SLy/7ldfIkoZ9ho5N+s gLnxJVBUqNRBGzhTbEwB3rQxC2DYj3sOx0QRxvrjDIXVSSa31wveFpfMFqU08RMLdyWmLpFu+YN iFZegHK+mhFdebjkfk6i/i48LqNJftf5r/Q7vkgDGDkpD5EhCH6mUGaVgp0TvcK5Mg0jUhM= X-Google-Smtp-Source: AGHT+IHaawIo3izOPIUEtCCJfwF4lriJns1DctKnD93zyk1YyFZi66gzVxoN7Y5pVJt6eLGMy7nRpQ== X-Received: by 2002:a5d:5848:0:b0:3a0:99a4:e53f with SMTP id ffacd0b85a97d-3a35c843e2cmr3406448f8f.8.1747646570963; Mon, 19 May 2025 02:22:50 -0700 (PDT) Received: from NAUSH-P-DELL.pitowers.org ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a366e08747sm8645961f8f.95.2025.05.19.02.22.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 02:22:50 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck Subject: [PATCH v1 0/6] Eliminating startup frames Date: Mon, 19 May 2025 10:20:48 +0100 Message-ID: <20250519092245.269048-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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 patch is identical to the RFC submitted last week [1], but based on the F2F discussions, I've remove the RFC tag. Regards, Naush [1] https://patchwork.libcamera.org/project/libcamera/list/?series=5164 Naushir Patuck (6): libcamera: framebuffer: Add FrameMetadata::Status::FrameStartup ipa: rpi: Replace dropFrameCount in the IPA -> PH interface pipeline: ipa: rpi: Split RPiCameraData::dropFrameCount_ pipeline: rpi: Remove disable_startup_frame_drops config option pipeline: rpi: Remove ispOutputCount_ and ispOutputTotal_ ipa: rpi: Rename dropFrameCount_ to startupCount_ include/libcamera/framebuffer.h | 1 + include/libcamera/ipa/raspberrypi.mojom | 3 +- src/ipa/rpi/common/ipa_base.cpp | 20 ++-- src/ipa/rpi/common/ipa_base.h | 4 +- src/libcamera/framebuffer.cpp | 11 ++- .../pipeline/rpi/common/pipeline_base.cpp | 95 ++++++++----------- .../pipeline/rpi/common/pipeline_base.h | 14 +-- .../pipeline/rpi/pisp/data/example.yaml | 5 - src/libcamera/pipeline/rpi/pisp/pisp.cpp | 12 --- .../pipeline/rpi/vc4/data/example.yaml | 5 - src/libcamera/pipeline/rpi/vc4/vc4.cpp | 15 --- 11 files changed, 66 insertions(+), 119 deletions(-)