From patchwork Mon Sep 18 08:49:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-Hao Yang X-Patchwork-Id: 19052 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 DCD33C326B for ; Mon, 18 Sep 2023 08:52:31 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 442C76293F; Mon, 18 Sep 2023 10:52:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1695027151; bh=+nNuz1KlDOWHMAML58qpGOLjXuvILtnoA4y81YhWy7A=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=Q/6hppMfQ31gTAs7wNEPmNROAy2aldKasSGQDjOzZVsM3Xvrnj/kFb7nqFHeWpicb gEqMSkveWvo2BTeulF9vKE3tdkZ2AwtQFr1N8z2BbdrOcieK9oDJBImMWaQKCvvvEk VOqqqcWFWbDT5pUO4vKifPE/OH7LYNSbbJAWBqj6adN8R6yOjrCd/lvpJGuLAxI8FP 8xjkcPY5QPiXu1MmLjH659t8KcEEegSeQJ0tvIsw85hfgb4shcuJMyrvgusco6wxEc Mvy0B2/7f7K3K82lWTtAMVLCq/sEXA29giIP5V1FMq7cxXnUlK1ppkeUM8n8kd/uQf g/HwyVke25fWQ== Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C101B61DEC for ; Mon, 18 Sep 2023 10:52:29 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="d8/vvMst"; dkim-atps=neutral Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1bf1935f6c2so29861705ad.1 for ; Mon, 18 Sep 2023 01:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1695027147; x=1695631947; 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=WfsLbqMxumId4wEni+FRpf8+MTIk6W6LSEzJaLvuFqc=; b=d8/vvMstJphU66leTWXjwGFJH2MmcpIMBn8khMQXkHBKnR1JVp1lSYE+BKlEq/QWcs SMfOgTBZ52bOdupTXAt4HyX4kvzQe7VVfwwmYir67K60T8PF1hCqw2fBKyRY1+ltppPA wM/PCSwfXUP7Vnkt+xworyQvkHrZ+CS8n61co= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695027147; x=1695631947; 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=WfsLbqMxumId4wEni+FRpf8+MTIk6W6LSEzJaLvuFqc=; b=cD42UKhtEDldR2u6l+r8qsTwHgonNV+ZK9NBoiLr7Kw2TgzG5aCCymfxxLhEH3KT/H lNuCeIWCwNpWRK3jeC1hNPiA7Q9y00udypydFi9yhITznHsZ5d9Vk5nSOHfuS3AJrXuL 1d2ka9g+8qEp35OaR0953trgTg8Lu0p3XgD8xzRaBUbxB0iNXCafmprW1qNkw4bixLPO z4HlJ7xsQZKbHhJ4QrcfmE3cos3zug9bLwgHE18eqoM/5f/9HF/3L4fHZrcwwPunC9LZ FZlsRlEjeAP/pKczGssTI+1B7VtR2WFDHoN+7xedPAMI1sYs46Y/kQtsU6tJGQwiKGNJ 0Ueg== X-Gm-Message-State: AOJu0YzAb+LAvmLeE3iYLgW0YNrOAkozg+yzWwPB4pbwclMQdqt38aTC 4X+kxBrw5/YwbW76HIEyFwQQFFDCU2xtDmiOcpc= X-Google-Smtp-Source: AGHT+IGBHKxow7Ub0Plha70fJE3nEBqkP39ToX1XFLL1edMjqGjYAS4v4tGuvbmMNzdkOQHxvGvkEA== X-Received: by 2002:a17:903:1c6:b0:1c3:e2eb:f79d with SMTP id e6-20020a17090301c600b001c3e2ebf79dmr16660640plh.8.1695027147549; Mon, 18 Sep 2023 01:52:27 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (148.175.199.104.bc.googleusercontent.com. [104.199.175.148]) by smtp.gmail.com with ESMTPSA id z4-20020a170902ee0400b001b88da737c6sm2387020plb.54.2023.09.18.01.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 01:52:26 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 18 Sep 2023 08:49:20 +0000 Message-ID: <20230918085222.500697-1-chenghaoyang@chromium.org> X-Mailer: git-send-email 2.42.0.459.ge4e396fd5e-goog MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v1 0/1] Fix ipu3 pipeline handler's first frame 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: Harvey Yang via libcamera-devel From: Cheng-Hao Yang Reply-To: Harvey Yang Cc: Harvey Yang Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi folks, As ipu3 ISP has one frame delay for the output, it currently has the first frame being all black. It's tested in one of the CrOS camera tast test: camera.Connector. This patch fixes that by queueing one extra padding frame. Please check. Thanks! BR, Harvey Harvey Yang (1): libcamera: Fix ipu3's issue of first black frame src/libcamera/pipeline/ipu3/ipu3.cpp | 50 ++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 7 deletions(-)