{"id":15896,"url":"https://patchwork.libcamera.org/api/1.1/covers/15896/?format=json","web_url":"https://patchwork.libcamera.org/cover/15896/","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":"<20220512103258.324339-1-chenghaoyang@google.com>","date":"2022-05-12T10:32:50","name":"[libcamera-devel,0/8] Use two imgus in ipu3 pipeline handler","submitter":{"id":117,"url":"https://patchwork.libcamera.org/api/1.1/people/117/?format=json","name":"Cheng-Hao Yang","email":"chenghaoyang@chromium.org"},"mbox":"https://patchwork.libcamera.org/cover/15896/mbox/","series":[{"id":3111,"url":"https://patchwork.libcamera.org/api/1.1/series/3111/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3111","date":"2022-05-12T10:32:50","name":"Use two imgus in ipu3 pipeline handler","version":1,"mbox":"https://patchwork.libcamera.org/series/3111/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/15896/comments/","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 76F8BC3256\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 12 May 2022 10:33:07 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BCB8B65657;\n\tThu, 12 May 2022 12:33:06 +0200 (CEST)","from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com\n\t[IPv6:2607:f8b0:4864:20::1032])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4DA306049E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 12 May 2022 12:33:05 +0200 (CEST)","by mail-pj1-x1032.google.com with SMTP id o69so4762661pjo.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 12 May 2022 03:33:05 -0700 (PDT)","from chenghaoyang-low.c.googlers.com.com\n\t(174.71.80.34.bc.googleusercontent.com. [34.80.71.174])\n\tby smtp.gmail.com with ESMTPSA id\n\tt19-20020a62d153000000b005087c23ad8dsm3402219pfl.0.2022.05.12.03.33.01\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 12 May 2022 03:33:02 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1652351586;\n\tbh=hu1tUDWaoMxqytvlWsq2wVYBTdRlwS5prS+gaYm4zhE=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=cT9aWz0RCr2s9RzF9QBF/XRvvXL0Ebqsvfsw9rTyaxMKwzV5w1m3vakrf1PlgEwee\n\t8EZgwOz4tamAhldn40n9oce31N3+/o/xljHJ4eieSuVB/2DZzi/bT4k+tle8/VlO0b\n\t80W7swf5Aa8HV6zFAJg89DXEi5lyNXPSDUE1dhmhwTYffFF9+QiAGclnho3dur7svW\n\tKnb1wDCddoPxSN8BvwOfiIfhv/tQgNPqnvV7ROLRS3wtT842TSwSe15j1Ug+KtyXhT\n\tSsltyljWjeHxcaxGAhkJEAIFxLbjSbFiHG4k53dfjdEOzn4coo5ldlIWtmvae3sA+L\n\tGw20HldM3/blg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; h=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=iexvujGaO4ifbsE/TFZWLFcupcO+3DZ/fjViTV5zJJQ=;\n\tb=ETttmFCcyrzB5wUcygIYCwYAD9ws5AdZmmKBmwytCHNTu7x3H6mbNH3Yukfs31086q\n\twyIARmfrSNEnq60xG/90amdbzhQFy9v5gPNc3BkvaO5ioMmNgSpb9J8GfUK5qAdyFO67\n\txvmaDrM4YmgDJVxBn54mZTKRFqZtz10GS9lhA="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=chromium.org\n\theader.i=@chromium.org header.b=\"ETttmFCc\"; \n\tdkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=iexvujGaO4ifbsE/TFZWLFcupcO+3DZ/fjViTV5zJJQ=;\n\tb=bwE0iyYPPIUhQwh6INwq26mfJeBfMFLw8yvj2p8Z7LOx4+KYXIONRH2p9hGpKU0wSU\n\tnzRrxhZWU7buzg5TELm6oGOOv7e91+jmk8zqiEy7BYNoyjnzSzVh9frv3YYjQ7oql+mj\n\tU4CyL9EoOn/F8bWBdUfWLMWCksOvz+qOe5LHfqE+b+ul+pJbFe0OEzYg0XLSmSY6p084\n\tdzgCSkejG396h7D5QJYczwBdlcOM5HYH1y0t/arvUpp4j+ZA/IUmNtYozGhukki4XplD\n\tNfHknJzmfspUtfy02aG+iwzTVM5CzB7PPozekKR9JCdGO0townbU1oOKOq5JsDzH8N+c\n\tsePA==","X-Gm-Message-State":"AOAM533sojtxI4UWwHepPX8bx9zQXtSYPLl38sg1pM1Ov9fJPDv4qhgh\n\tSz2cyiAcQ5qU22+HkI7v5tiQ1sr/TNL20dai","X-Google-Smtp-Source":"ABdhPJyhVVdRmYZLYsqkSQ0W2XdKvmdr74JMDaabBPrs+sL6j8jwj6V/iInPYYdFdKRXLlHAyPHQCg==","X-Received":"by 2002:a17:90b:3b46:b0:1dc:b314:52e6 with SMTP id\n\tot6-20020a17090b3b4600b001dcb31452e6mr10285558pjb.134.1652351583181; \n\tThu, 12 May 2022 03:33:03 -0700 (PDT)","X-Google-Original-From":"Harvey Yang <chenghaoyang@google.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 12 May 2022 10:32:50 +0000","Message-Id":"<20220512103258.324339-1-chenghaoyang@google.com>","X-Mailer":"git-send-email 2.36.0.512.ge40c2bad7a-goog","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/8] Use two imgus in ipu3 pipeline handler","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":"Harvey Yang via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Harvey Yang <chenghaoyang@chromium.org>","Cc":"Harvey Yang <chenghaoyang@google.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello everyone,\n\nThis is the first draft of patches to use two imgus in ipu3 pipeline\nhandler, mostly to better support StillCapture, which was handled as\nvideo snapshot.\n\nThere's a TODO to tackle the delay one frame issue in the ipu3 HW/FW\ndesign. Patches will be updated when we have a clear solution.\n\nPlease take a loop and give me your thoughts. Thanks!\n\nBR,\nHarvey\n\nHarvey Yang (8):\n  Add StreamRole in StreamConfiguration\n  Allow only one camera being started\n  Use imgu0 as default\n  Add StillCapture stream and imgu1 param buffers\n  Update IPAIPU3Interface::fillParamsBuffer with captureBufferId\n  Configure imgu1 when necessary\n  Assign |outCaptureStream| to StillCapture configuration\n  Request StillCapture stream as default in Android adapter\n\n include/libcamera/ipa/ipu3.mojom       |   2 +-\n include/libcamera/stream.h             |  20 +-\n src/android/camera_device.cpp          | 214 ++++++++--------\n src/android/camera_device.h            |  21 ++\n src/ipa/ipu3/ipu3.cpp                  |  19 +-\n src/libcamera/pipeline/ipu3/frames.cpp |  23 +-\n src/libcamera/pipeline/ipu3/frames.h   |   8 +-\n src/libcamera/pipeline/ipu3/ipu3.cpp   | 328 ++++++++++++++++++++-----\n 8 files changed, 455 insertions(+), 180 deletions(-)"}