From patchwork Thu Dec 1 09:27:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 17925 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 34C66BDE6B for ; Thu, 1 Dec 2022 09:27:50 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E687263343; Thu, 1 Dec 2022 10:27:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1669886870; bh=UPOmV2/pLVkob/lRridfR7w3io4o2Nf0IbjP2qlbWSc=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cn8pyjF4YmdBWJtil85V4GLpvqdqgmTynozd0cjHnpnBCoU1lHTnFQqricKhYqhvW +X6jRx/06IXMbpFPuqlBq8+hj7JMS2pUlbLxnpLJ/DDaL2RIFXqN28wvlMM1eHL6CO CdFBw4rXssRcQa9D1PjZJjubXgSokvrNqZ9jceOxSEORgPFuui/C8EmUT9E+Re2fJk 63hGkyXMtKYUuPcEqOMMVdIKkRdNAYZ9t5zlNSwn2q1/ehqvFLJCUIb451F6aLOxZl DzYvR/EmAPUjKmsVT0v8yoIVzbCd2P7wLd4riwrORPX/QLapQ+0J5a3shOTYd6/kq2 D+L+rxJE+qIcg== Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C714963336 for ; Thu, 1 Dec 2022 10:27:46 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="OWtC5r2i"; dkim-atps=neutral Received: by mail-pl1-x631.google.com with SMTP id k7so1092810pll.6 for ; Thu, 01 Dec 2022 01:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q2dB9naBSLEma6JK3Mn8HFXDh9wGTE/pYpWJDWXPs4Q=; b=OWtC5r2ihVL1sL64TBCo0ZM/HABWTnpHJj1DpKowZSIInW9j5JhPFBnmNtFOQlOqTs TBzZIkbF9Y++gAX5gEqu4ZUOH8dbkcV2Q9dMDuTEIlrHw0XxpIbup2yVLYzIexPUUYME PWMM6rRktBnqd3MiyBZNRuwkhos7vV98Ow8hk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q2dB9naBSLEma6JK3Mn8HFXDh9wGTE/pYpWJDWXPs4Q=; b=w4Es3dcAwzRjUMJQEkSorWsejP311kC2Jhn73dYZ9WSOpjD4vuSnulH3TGOhbMD59j Vypu3ssIm4zuTlarV5n+tAqHSrVGngCnK9ZHD0EUhzw5Kf9NsVyDXtF5goB2ymWGRjeL eIsvEGv4wCqHxkHZcvFVVagv5gzf5zsX22HglK/44r42H4LaH4aEepaXFvJvxP78CjYF yseUQMeSMoOnQ5EPRmxXWv4t/B6JZy+NKiqZzuZLqMqVvAwu5j78YG/TVeXWtFy0y4gJ FocnmbVSZiRoEObVZ8nRiQee8Nzn2xa8PWE53tIabLtGhs2thDi1YsyO9jLs6Q1zFQqs Dxdg== X-Gm-Message-State: ANoB5pn6hBvbnT5GNTh3QbtGDsJv2zKAnPi4NJubC0E/KmyMp5WEpLUl 32VhLRfVC5tiR070eQAqM1YMWCJL6tudvA6w X-Google-Smtp-Source: AA0mqf6+2wNBbYf+OiUAKK7RN/JBSjUCv6xnZy9dDE7doO4pFeyPbMsoCDT3UhwJB6i0bP6Z6lBYpA== X-Received: by 2002:a17:902:b7c3:b0:189:5e92:d45a with SMTP id v3-20020a170902b7c300b001895e92d45amr34241514plz.157.1669886864986; Thu, 01 Dec 2022 01:27:44 -0800 (PST) Received: from chenghaoyang-low.c.googlers.com.com (46.165.189.35.bc.googleusercontent.com. [35.189.165.46]) by smtp.gmail.com with ESMTPSA id z9-20020a1709027e8900b00186b8752a78sm3108050pla.80.2022.12.01.01.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 01:27:44 -0800 (PST) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Thu, 1 Dec 2022 09:27:30 +0000 Message-Id: <20221201092733.2042078-4-chenghaoyang@google.com> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog In-Reply-To: <20221201092733.2042078-1-chenghaoyang@google.com> References: <20221201092733.2042078-1-chenghaoyang@google.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v7 3/6] Add meson.build in src/android/jpeg 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: Harvey Yang Reply-To: Harvey Yang Cc: Harvey Yang Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Harvey Yang To further control sources in jpeg to build based on the platform, this patch adds meson.build in src/android/jpeg directory. Signed-off-by: Harvey Yang Reviewed-by: Laurent Pinchart --- src/android/jpeg/meson.build | 8 ++++++++ src/android/meson.build | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 src/android/jpeg/meson.build diff --git a/src/android/jpeg/meson.build b/src/android/jpeg/meson.build new file mode 100644 index 00000000..08397a87 --- /dev/null +++ b/src/android/jpeg/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: CC0-1.0 + +android_hal_sources += files([ + 'encoder_libjpeg.cpp', + 'exif.cpp', + 'post_processor_jpeg.cpp', + 'thumbnailer.cpp' +]) diff --git a/src/android/meson.build b/src/android/meson.build index c2773f9e..b24e2e52 100644 --- a/src/android/meson.build +++ b/src/android/meson.build @@ -47,16 +47,13 @@ android_hal_sources = files([ 'camera_ops.cpp', 'camera_request.cpp', 'camera_stream.cpp', - 'jpeg/encoder_libjpeg.cpp', - 'jpeg/exif.cpp', - 'jpeg/post_processor_jpeg.cpp', - 'jpeg/thumbnailer.cpp', 'yuv/post_processor_yuv.cpp' ]) android_cpp_args = [] subdir('cros') +subdir('jpeg') subdir('mm') android_camera_metadata_sources = files([