From patchwork Wed Feb 8 03:33:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 18264 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 7F65DBEFBE for ; Wed, 8 Feb 2023 03:33:33 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 56C7562605; Wed, 8 Feb 2023 04:33:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1675827212; bh=is26u44qZbTYnYWCbGDxhYeIbkonuhjVeavboSCbDyY=; 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=J0FzgIulbBRdSr/YROHPVMLh0eo2Qon/B912ZsrDAJGf2bPdWZLTtk/CmNz9T9/mD Hj0t9hu+hD/xi0qmCSVkDsQicHOqp98otjza65ByE3Rky0imGT/60aZTuutESXQDHf KB/ZqzCzSBWH65C91P6CpnErGMzWiDuelfir8D6rb36g3UDnX51d/CQ8XjAm3Bt6+d SWFJWlnqVh7OySlNF5k3RlDeicgqLIQdyqseqo47mtxOni/qLf3FJjF5eoKZH8v0yN 3cGTln+GJWxn+KqETCg39xSHj9A8Rnv6ARYeROfOcPaAWnge6W+MGvGLf3K2nEVR/u PRpC3CSim+Mxg== Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D1185603B8 for ; Wed, 8 Feb 2023 04:33:29 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="D3129vmY"; dkim-atps=neutral Received: by mail-pj1-x102c.google.com with SMTP id gj9-20020a17090b108900b0023114156d36so498732pjb.4 for ; Tue, 07 Feb 2023 19:33:29 -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=gqT1DdXhAd7kSzHtFnM8/ldJvPrYwTgmzmRjeiHsmuU=; b=D3129vmYZO7LJCesHzl+5MakHqlrZWDf18rK2NMUtpZGq0i1s+Auz0h7GRWy56s61o Q5zRug3YerZxoAbxA7T4d5nr1jmXLJXaE0Vrt/ZMtu1snyEeAMTwGMXZ93JPVpYVOYAX Kq7Qa/ANjH+BQv0aSMEgt9Ye6PpycK3l9YdTI= 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=gqT1DdXhAd7kSzHtFnM8/ldJvPrYwTgmzmRjeiHsmuU=; b=WbCofbE7guvZIJYEONCGbwaapTNcUziWaBoVzJcfuppCQ6552vlH3s35pI3+cFaW2b 4kHQmLFtuZNRxQ+yGRWuy5lubMUtury/wXXM+Ig6ItHf6eIFF8KsxJhcOvDCfmbuuZi4 i5VNPLNhE4F3V5YIu4K4hpCQpsqNP3OIoZ9yPFNvHvDXrun4UkbeorpcFmuqQV1dL4Rl z7UmDgm5cZ7FNkInXGCiCmVJouksxtFesuQe8WOK8Wv3qr0CME+bOy1/pqmiyUeRUmHb CYCTOYBmld6z9RyEuSjiGBGvX9JmbSYN/x3mzUQqQ8e/HPQTD9gnFRyJW8dfiZnPQ5wn 19+w== X-Gm-Message-State: AO0yUKV1rUHKU9uhPGEOZ8etmBxgMPtLQNGmIQyRKMV4HNo8/usWVujl QKfQt47hYo361T0vhVp0oNW6wFZD7Zc4tHd+ X-Google-Smtp-Source: AK7set+NsQUDMFrFhdhxHIEBGURHZOzb8swSRBlw/epqq0BKDZErxSj1VnULH7x1e0YNLdmBDC8zVA== X-Received: by 2002:a17:903:1104:b0:196:6ec4:52db with SMTP id n4-20020a170903110400b001966ec452dbmr6847406plh.51.1675827208253; Tue, 07 Feb 2023 19:33:28 -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 e9-20020a170902784900b00194c82c2a7bsm9621963pln.224.2023.02.07.19.33.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 19:33:28 -0800 (PST) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Wed, 8 Feb 2023 03:33:17 +0000 Message-Id: <20230208033319.1361109-4-chenghaoyang@google.com> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230208033319.1361109-1-chenghaoyang@google.com> References: <20230208033319.1361109-1-chenghaoyang@google.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v10 3/5] android: jpeg: 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 Signed-off-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 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([