From patchwork Tue Jul 19 07:58:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 16680 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 2BC65BD1F1 for ; Tue, 19 Jul 2022 07:58:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 572B763313; Tue, 19 Jul 2022 09:58:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1658217508; bh=9pJB1ZZaYnNFYyTdfsUvefJXryt4TMbt9c8SdbWYvmU=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=MYn1P8GhYzWzFL3CBAO43+CdEqgS3pAqQulaikjO3LroMJs3rnDpq5CaqtZGAdgbN XfXsk0JIez0bRGU4Sim5CuFgsXZXM2ZJfPqbPM0FQC2Wd8I/0FNGo+Dv46PtLMi9sG X3uQYQVgO6GscdKuczKBH4uJXAoAum8brbGm3y3cJGUBNiZQkXOB7sQ8YmmpRVaZ0g GbT2zIiEd8S8pp1ayRX7rKqVldeLvqE0gjY2p9yTALTOkrH4KH26OZeXihakKH4LL/ YoFsOj+igY+K1SvoT2f87yNmxJRDU/oMm1dtqkYXH3YPKlnIKjLM4srua4GYvdiXSd /nuuWw8yoUy0Q== 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 82A936330D for ; Tue, 19 Jul 2022 09:58:26 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Z6UQ6fLm"; dkim-atps=neutral Received: from perceval.ideasonboard.com (unknown [IPv6:2401:4900:1f3f:73ce:9a9d:bd79:3fd0:39f1]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4EC99896; Tue, 19 Jul 2022 09:58:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1658217506; bh=9pJB1ZZaYnNFYyTdfsUvefJXryt4TMbt9c8SdbWYvmU=; h=From:To:Cc:Subject:Date:From; b=Z6UQ6fLmwGgT+vkmMGan40UVWnEg0ru7rb6/BCwTOxQq7NDDFppydEegKmmEXcCO6 /OJW28SecBmjhFZmCHYB7vNSYezD4vbmKMp6Gclx4AJBw/wUI33XalItYJ0J8YO+Ma zo9SOsYuf2WwuQctZX5OavSEJqJVTW91CJIpBK4g= To: libcamera-devel@lists.libcamera.org Date: Tue, 19 Jul 2022 13:28:16 +0530 Message-Id: <20220719075818.895728-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 0/2] Standalone IMGU streaming 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: Umang Jain via libcamera-devel From: Umang Jain Reply-To: Umang Jain Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" As a part of formalizing IMGU's "off-by-one" delay issue, the two patches comes as a part of formalizing the work. Patch 1/2 removes yavta from ipu3-process.sh and uses v4l2-ctl. This helps us to have more granular control over IMGU streaming Patch 2/2 is a helper to generate standalone input file for IMGU on the host system (rather than capturing from sensor directly). One can modify the script to stream frames with different test patterns as required, Umang Jain (2): utils: ipu3-process: Stream multiple frames using v4l2-ctl utils: ipu3: Helper to generate IMGU input streaming file utils/ipu3/ipu3-gen-imgu-input.sh | 78 +++++++++++++++++++++++++++++++ utils/ipu3/ipu3-process.sh | 54 ++++++++++++++------- 2 files changed, 116 insertions(+), 16 deletions(-) create mode 100755 utils/ipu3/ipu3-gen-imgu-input.sh