From patchwork Wed Dec 14 09:33:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 18004 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 71236C328D for ; Wed, 14 Dec 2022 09:33:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id ED92763368; Wed, 14 Dec 2022 10:33:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1671010421; bh=eVDjCSB53kpmoSfFGvus/qneaqGetxhCiFjlkRIIzyI=; 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=mcfwfG6TeXXAvNwDMbIfni+8l6LGNwMNaorlTIwSvwLv5iolWnAxnyRPFkA4KnuI8 JFgW3uzFcuUWByWVK55+XgVQSEJLzm1PO1JzIi7dZiSCsbOaRdrviLXmfJ5lF16AQ2 RzvAZcUimbt+Q/fQqh+ADn5bAtQ2dIp3uJUd+5usYlAnW/dAO4nvwszmpCV7a+CH/G Y7Cn9AokY/cPmLyEn7uMS/b9ttYauLuTaW10RkPvyj5O7NQ4IDDQRr00EwfJxoLNHh ohHD/Xmui7ieItA0sJqRQ6N/a7or8BEAFXrwpw2S7Va5VjzAlPAOtFQVx6yQnFpNBX nhXlMDS4Xxutw== Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 126D663364 for ; Wed, 14 Dec 2022 10:33:40 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="cO3qeuyR"; dkim-atps=neutral Received: by mail-pj1-x1034.google.com with SMTP id js9so6322464pjb.2 for ; Wed, 14 Dec 2022 01:33:39 -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=YMbRh6hdGMeq/+rV5a3e0RlXtiJXBCp0Xo/b1gKDA/A=; b=cO3qeuyRcqNRco6zr92gVvd8TTJtrvZEpawFEgw0KO6bbg3ML9OwrFnUfIHn6spR0m EO5TFmG+HO5xw7wZsOs+CLJntf4GuJxJma4GUfD80QvGD8nrIrlobnvteHHpcekdZBgi Vg9vVfvl29bhgkk7bZ5idM/Ltdy5k8aJRv+iE= 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=YMbRh6hdGMeq/+rV5a3e0RlXtiJXBCp0Xo/b1gKDA/A=; b=ig9bHoIP8E0R6E2iiPLh5sLD4v6opbZeDdG9+rkhExcOGM4kDYfP9koA+IUcEy65/b k1V1nEcdOMwhs5tDGpK+jHDkeV0alsTpRIasODETDRkYp4uOjzQhWnTIKFWz17bqos+2 9/MPtU7xBa6nj64mF1OxcMe3z77nOV7gIvvz4sMJlA+2zroZXYllGqgb3lX0LHze3Wa9 gN9+FtmAnRoM6Q/Df6516kuDdLzvzpV3xLh3BO4G4/zKQ4RSomfqoSS8zFNqntuTX86v cjWhdMn1hhF/1O8UryfvqNixWBaK0v3Xo6GfzcHL+AglCbqkZLUnGvV21pQCZuapgXqD JJIg== X-Gm-Message-State: ANoB5pkex3RTWVaGfMrJPyTD/u4F9qbyP+1cCdHDin+uNpQfLYw+9wq2 crzWrLDM3TEh7NuGgLMUQSkDUu6ba7/xDywH X-Google-Smtp-Source: AA0mqf6u7NmSS7turr0Rjk+B3DCP9eQZSZ78M+ejMtIi7ojb8b0/s/5G0HijktJliHnZsP/lbLPHEA== X-Received: by 2002:a05:6a21:1014:b0:a3:135b:4524 with SMTP id nk20-20020a056a21101400b000a3135b4524mr26788124pzb.45.1671010418411; Wed, 14 Dec 2022 01:33:38 -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 d206-20020a621dd7000000b0056bc742d21esm9331190pfd.176.2022.12.14.01.33.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 01:33:38 -0800 (PST) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Wed, 14 Dec 2022 09:33:26 +0000 Message-Id: <20221214093330.3345421-4-chenghaoyang@google.com> X-Mailer: git-send-email 2.39.0.rc1.256.g54fd8350bd-goog In-Reply-To: <20221214093330.3345421-1-chenghaoyang@google.com> References: <20221214093330.3345421-1-chenghaoyang@google.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v8 3/7] 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 Reviewed-by: Han-Lin Chen --- 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 b543c143..68646120 100644 --- a/src/android/meson.build +++ b/src/android/meson.build @@ -47,16 +47,13 @@ android_hal_sources = files([ 'camera_request.cpp', 'camera_stream.cpp', 'hal_framebuffer.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([