{"id":16770,"url":"https://patchwork.libcamera.org/api/1.1/patches/16770/?format=json","web_url":"https://patchwork.libcamera.org/patch/16770/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20220725192317.99026-2-umang.jain@ideasonboard.com>","date":"2022-07-25T19:23:15","name":"[libcamera-devel,RFC,1/3] utils: ipu3-gen-imgu-input: Generate frames with different b/g","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"1b0815acd4a006a5e8425b6fd52c901410e6482b","submitter":{"id":86,"url":"https://patchwork.libcamera.org/api/1.1/people/86/?format=json","name":"Umang Jain","email":"umang.jain@ideasonboard.com"},"delegate":{"id":12,"url":"https://patchwork.libcamera.org/api/1.1/users/12/?format=json","username":"uajain","first_name":"Umang","last_name":"Jain","email":"umang.jain@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/patch/16770/mbox/","series":[{"id":3324,"url":"https://patchwork.libcamera.org/api/1.1/series/3324/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3324","date":"2022-07-25T19:23:14","name":"utils: IPU3 read statistics helper","version":1,"mbox":"https://patchwork.libcamera.org/series/3324/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/16770/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/16770/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 3842ABE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 25 Jul 2022 19:23:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C9A0263316;\n\tMon, 25 Jul 2022 21:23:33 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E64186330E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 25 Jul 2022 21:23:30 +0200 (CEST)","from perceval.ideasonboard.com (unknown\n\t[IPv6:2401:4900:1f3e:f7a:bc8f:12ed:b45f:c35d])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id E7C306D1;\n\tMon, 25 Jul 2022 21:23:29 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1658777013;\n\tbh=9lE0amTknXsyC7TQgRRPyXW7aTh/R/rja9omnQvnqq8=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=btj5Kdk8ISvZu0z7tF0vz1XRfkKanUnQqw/ee5WpTgbJ8FeWfEkvEuwkRZOgRtK4u\n\tJXWTnz0lttyjKq3iRBgjPIyL2a2NTgMAjeK9fWXICjwczs7rXLdyoybRUZz3+QfdaA\n\t7zwIB5SaTTScAiy5gHy6/0TIwhfd8DDWBwSCSiHIUWh3PIfm6hdt6b3PP63w2kBME/\n\tQIRH19pKn+GLqH4pp3VYDURZ9KeXuDdTfbo7EK0jcGwtQSCul6qK7Ne63d1V7uLQOL\n\tFDBCctIIo/NjMGxU5Fc64EnagJK3fjFdjnT5OLq3CeEo1B/W3hUf5cSybn8i3y0I9b\n\tV0hOO+sX1Rm7Q==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1658777010;\n\tbh=9lE0amTknXsyC7TQgRRPyXW7aTh/R/rja9omnQvnqq8=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=U3yL38X6Rdwn2F9loUZeA++fSyiWgScJF34G0jbe1icutow9SSQRvfMgEl+o6dzco\n\tUuDmjwIil22Bjl0m/VecoflIGdgTtAotlaNOq2ZFuQVMLRnNovng5jkyrH/cOxVNm9\n\t3XPETdD9gmo/1VH45MsWVsZcI+ErlI68qaKGOrl4="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"U3yL38X6\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 26 Jul 2022 00:53:15 +0530","Message-Id":"<20220725192317.99026-2-umang.jain@ideasonboard.com>","X-Mailer":"git-send-email 2.31.1","In-Reply-To":"<20220725192317.99026-1-umang.jain@ideasonboard.com>","References":"<20220725192317.99026-1-umang.jain@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [RFC PATCH 1/3] utils: ipu3-gen-imgu-input:\n\tGenerate frames with different b/g","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Umang Jain via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Umang Jain <umang.jain@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Differ each input generated frame by background color. This would help\nus to deterimine how the IMGU statistics generation delay for each\nframe.\n\nSigned-off-by: Umang Jain <umang.jain@ideasonboard.com>\n---\n utils/ipu3/ipu3-gen-imgu-input.sh | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)","diff":"diff --git a/utils/ipu3/ipu3-gen-imgu-input.sh b/utils/ipu3/ipu3-gen-imgu-input.sh\nindex ea0d385d..9e233396 100755\n--- a/utils/ipu3/ipu3-gen-imgu-input.sh\n+++ b/utils/ipu3/ipu3-gen-imgu-input.sh\n@@ -66,10 +66,14 @@ if [[ -z ${in_size+x} ]] ; then\n \texit 1\n fi\n \n+colors=(black red green violet yellow orange purple white brown pink gray)\n+\n echo \"Generating Input file frame-$in_size.raw\"\n for i in `seq 0 $(expr $frame_count - 1)`\n do\n-\tconvert -background \"#000000\" -size $in_size -fill \"#ffffff\" -pointsize 120 -gravity center label:\"Frame $i\" frame-$i.ppm\n+\tcolor_index=$(expr $i % ${#colors[@]})\n+\tconvert -background \"${colors[$color_index]}\" -size $in_size -fill \"white\" \\\n+\t\t-pointsize 120 -gravity center label:\"Frame $i\" frame-$i.ppm\n \tpnm2raw frame-$i.ppm frame-$i.raw\n \tipu3-pack frame-$i.raw - >> frame-$in_size.raw\n \n","prefixes":["libcamera-devel","RFC","1/3"]}