{"id":23520,"url":"https://patchwork.libcamera.org/api/1.1/patches/23520/?format=json","web_url":"https://patchwork.libcamera.org/patch/23520/","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":"<20250611013245.133785-15-bryan.odonoghue@linaro.org>","date":"2025-06-11T01:32:24","name":"[14/35] libcamera: software_isp: debayer: Make the debayer_ object of type class Debayer not DebayerCpu","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"6dc05b625b15a71b456dc73c7d9aa5e727b681f4","submitter":{"id":175,"url":"https://patchwork.libcamera.org/api/1.1/people/175/?format=json","name":"Bryan O'Donoghue","email":"bryan.odonoghue@linaro.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/23520/mbox/","series":[{"id":5212,"url":"https://patchwork.libcamera.org/api/1.1/series/5212/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5212","date":"2025-06-11T01:32:10","name":"Add GLES 2.0 GPUISP to libcamera","version":1,"mbox":"https://patchwork.libcamera.org/series/5212/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/23520/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/23520/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 97BB1C3329\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 11 Jun 2025 01:33:44 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 0254568DE0;\n\tWed, 11 Jun 2025 03:33:43 +0200 (CEST)","from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com\n\t[IPv6:2a00:1450:4864:20::42c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 32F2568DD7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 11 Jun 2025 03:33:41 +0200 (CEST)","by mail-wr1-x42c.google.com with SMTP id\n\tffacd0b85a97d-3a52874d593so5840172f8f.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 10 Jun 2025 18:33:41 -0700 (PDT)","from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-4532514138asm5680625e9.3.2025.06.10.18.33.38\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 10 Jun 2025 18:33:39 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"oUWaLRyJ\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1749605620; x=1750210420;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=s22tvATEek2jn56FeC27txLuiJp6vxiU1oIGShzPMbs=;\n\tb=oUWaLRyJ9Fn0+RgznnST24t6s4viBXFaPEGy72q8D14K32f8rY5rTxisvUxdQc7TnP\n\tXFqslR1855rYTB6FkBXDc0RvE80nLA4vC948fgn4CBbh5ogfc7PyeUHq0RvEKAmx9gMU\n\t3eID6mn4A6Zeko8OeCcu6NLMaV5/8ZJoiuqF46xe5uV9eXBNNEcDtFW9HDkJtRnJPbZB\n\tCE6T1rwLlJ+pNiVW3abAvqFmLmzvodSwPovEQn85VAQYAvFW5236ShmUPqmK4smMFa+6\n\tsQt4xs7+vua6YmeWvfEH5BYZKhkBUq1eHB2I+hnYjZgQ69oWUAb4IjErnjLhMuSnwBe1\n\txseQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1749605620; x=1750210420;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=s22tvATEek2jn56FeC27txLuiJp6vxiU1oIGShzPMbs=;\n\tb=ECthVNfVwCdoC310oHffLK9GhNN6FB7IIva/eUOJzOBuLfYVbviQrzkackHcRVCL9c\n\ttfHxwoJKPAQV3lJHPHxVLOXLzxq/lKPGF0HQBFsBswV8NUZlzKskCu5DW03YY70cEFrm\n\tRqpzWa+3zBBcgZhGqMWEkJ18SJyl/ZsCxc+N2X/328BRpuaiunOAEXTM4+Oqs9IDIdXn\n\thr+sDXMHQn8KTpc2N/Nm/7QC8GKqCuBqzG4PdTadHBWNoMvX2Hukr3KDGugHLK8rCGRS\n\tSWW/lg1Od6wIzyXT/rcMflXLh/O4YdbMWE6y/ybgRuDa8Z+oC4qRGzC8JSTmRWxmsYWZ\n\tdX8g==","X-Gm-Message-State":"AOJu0Ywy4RTV7CYvYQOUb4yk79ohb91xKq2cwASacn3HyV3PKR226jav\n\tsUUFDCJKXreCXKt9uRL9vey+gNgMyKhr80RG3CmFH5riaWlMn0cdkF+mT1ymY4+jShLZ+wKMqw+\n\tYrCR21Q0=","X-Gm-Gg":"ASbGncsnU5HZsnJnBHu3pDnIkwz77DgtXacco318TlEEputHjIwfkxD5s8zFyfHomLI\n\tQ/HZiKCjHEbmSy2X1HAOq6c3zebV6/rv/bAFvjtBNxBxEMgSZexuV75Xlb7iTZWpPxfx3nbGOBR\n\tTTDImhDLZMDy+Pd+uW4O+GeEzdQoAGslR3791IiNvYILAoPTDKzJ7j2TOIm7MkQJCZWrIjM7rkN\n\tjrXErZas26tbhgvpM0Ve4oENsNq/o06xb7kwyB2S6Joalc8ze5oKaBftpaR5Ivx/DSpS3VR5hKQ\n\tfnRSeWCt1B5pZyO2LrAkRIYPY9W5gpi909hWIcLOcNZNWyZNmLFZu71pp9gLQeNFVXJrco18Thi\n\tn/lCITAVUjqzSletL/7MdvStzyb1/RQYrYvQU2UaR7g==","X-Google-Smtp-Source":"AGHT+IEIkwl/z/05CLCXhSFAjr7aozLOF6FCRRNNpg7OliIdNNPS6drV0ADoJjJRWB4FGUGGVrlYsQ==","X-Received":"by 2002:a5d:584d:0:b0:3a5:2ec5:35a3 with SMTP id\n\tffacd0b85a97d-3a558aeca7cmr722591f8f.45.1749605620499; \n\tTue, 10 Jun 2025 18:33:40 -0700 (PDT)","From":"Bryan O'Donoghue <bryan.odonoghue@linaro.org>","To":"libcamera-devel@lists.libcamera.org","Cc":"Bryan O'Donoghue <bryan.odonoghue@linaro.org>","Subject":"[PATCH 14/35] libcamera: software_isp: debayer: Make the debayer_\n\tobject of type class Debayer not DebayerCpu","Date":"Wed, 11 Jun 2025 02:32:24 +0100","Message-ID":"<20250611013245.133785-15-bryan.odonoghue@linaro.org>","X-Mailer":"git-send-email 2.49.0","In-Reply-To":"<20250611013245.133785-1-bryan.odonoghue@linaro.org>","References":"<20250611013245.133785-1-bryan.odonoghue@linaro.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Make the type of object Debayer not DebayerCpu thus allowing us to assign\nthe object to either DebayerCpu or DebayerEGL.\n\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n include/libcamera/internal/software_isp/software_isp.h | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)","diff":"diff --git a/include/libcamera/internal/software_isp/software_isp.h b/include/libcamera/internal/software_isp/software_isp.h\nindex 78624659..ad89c9b3 100644\n--- a/include/libcamera/internal/software_isp/software_isp.h\n+++ b/include/libcamera/internal/software_isp/software_isp.h\n@@ -37,7 +37,7 @@\n \n namespace libcamera {\n \n-class DebayerCpu;\n+class Debayer;\n class FrameBuffer;\n class PixelFormat;\n class Stream;\n@@ -94,8 +94,7 @@ private:\n \tvoid statsReady(uint32_t frame, uint32_t bufferId);\n \tvoid inputReady(FrameBuffer *input);\n \tvoid outputReady(FrameBuffer *output);\n-\n-\tstd::unique_ptr<DebayerCpu> debayer_;\n+\tstd::unique_ptr<Debayer> debayer_;\n \tThread ispWorkerThread_;\n \tSharedMemObject<DebayerParams> sharedParams_;\n \tDebayerParams debayerParams_;\n","prefixes":["14/35"]}