From patchwork Thu Apr 28 09:55:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 15745 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 138B0C3256 for ; Thu, 28 Apr 2022 09:56:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BA18665640; Thu, 28 Apr 2022 11:56:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1651139762; bh=KgUqBjrWee5XxYYix/HNrwVePfbS0xkUCJNYKicqSAI=; 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=Fj4X3OVdYIMI5haqbxl9PSTd8cEk4gy92CvmQbreMrmlekGwTJEXmH/iuJywXo4MS wupkaHtY+2UFNqQZCL6j2oSnh12W+l9SYqEZAB4OKKd+KX3IwmpFdCfWdKzUtMqhk3 985J0BhuA4lJ84Y13euAJL7OiII5CzG+Geq9FtdX2MGO8Cm+XRpiGArcm/xKPIOXvu bNvozE+PuB9eNhzAWrq/LSSbvXbLkrA5QR5lqssSqlo3mvl4Bi5K2NJTULqvkEyMJQ /LCMet2/dqwqzjyXSAFnn0/FWJh+dsoW22wFeqy9TjSPXQuhYyILrY4V35dJR/5vIv j4184ET3TJAEw== 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 584056564C for ; Thu, 28 Apr 2022 11:56:00 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="cmT33KN1"; dkim-atps=neutral Received: by mail-pl1-x634.google.com with SMTP id c23so3935895plo.0 for ; Thu, 28 Apr 2022 02:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QY6iJ2JFqJqu1YkEQJdyM22r+QT8sa0OTECrP8Z6DGI=; b=cmT33KN105ERb6yqmTNIBYP0LyAkS/bhOTFD6HhCEPzzZUuje77P94sbQbovwX4Jyc WPg2KrHr0LqQaTnuRlyn1PTDisaLDcetJiplfbnCLdM1zgqb8DsGlzglCa2PfljbDvPI fqDxG6oCCHRWOdmm/KkX8/ViowYmN/OMsD/54= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QY6iJ2JFqJqu1YkEQJdyM22r+QT8sa0OTECrP8Z6DGI=; b=VPS9C8yp3Epyip6xW8WRjRvEO4mI25a/BCYc6Cs+j2aHsI17RzvBlXRSbDZJqm5gIM qPqDnniIJG+5bfNiMZlpYFpPNSf+zqFP5B2IycvRGzMSBZrO33FyQx5uoSwbxQLP90VU At2QIHn7qf4oKM/O0vsO0oFqvOhs0sDNpp7BilqdFjBncXiMD2sukJxjNZFkTevAYpJA GRwC+/U8QRZtapck8fgOe36US5DHMzedGoh7L8iXCwynlyRYAP1YtkQyI65dhoakrBg5 mmkvpvTO7RODP6PvzqXXZmO+8DRmQ8ka5HOk+8nDDOlmAvQtPMJk/l9rXsswbTZqhk9r JI0Q== X-Gm-Message-State: AOAM532h8JlLR+e23BWGvsm3+328zdLCNSdu/YoNac0N3NytTic1LHEO lBgE8Wnt52KdLpOvZfoWh4SGOXePzApMkzVr X-Google-Smtp-Source: ABdhPJxXBH/dlCb4kaDkou99fIMYEuDtKUUryT5mMEZnNXTVD26GrrahUK/+G0m79CSykmv9NREmOA== X-Received: by 2002:a17:90a:930b:b0:1d5:684b:8e13 with SMTP id p11-20020a17090a930b00b001d5684b8e13mr37891224pjo.153.1651139758479; Thu, 28 Apr 2022 02:55:58 -0700 (PDT) Received: from chenghaoyang.c.googlers.com.com (93.135.240.35.bc.googleusercontent.com. [35.240.135.93]) by smtp.gmail.com with ESMTPSA id x6-20020a17090a46c600b001d960eaed66sm5861256pjg.42.2022.04.28.02.55.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 02:55:57 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Thu, 28 Apr 2022 09:55:41 +0000 Message-Id: <20220428095544.2795980-4-chenghaoyang@chromium.org> X-Mailer: git-send-email 2.36.0.rc2.479.g8af0fa9b8e-goog In-Reply-To: <20220428095544.2795980-1-chenghaoyang@chromium.org> References: <20220428095544.2795980-1-chenghaoyang@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 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" 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 --- 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 c6790cba..fe4a204a 100644 --- a/src/android/meson.build +++ b/src/android/meson.build @@ -48,16 +48,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([