From patchwork Wed Jun 22 12:37:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 16313 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 A8D3BBE173 for ; Wed, 22 Jun 2022 12:37:26 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6A12765633; Wed, 22 Jun 2022 14:37:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1655901446; bh=ML5ty5nqXtPFsIXVZf+ubiJ8XgL5RE/Bfa1yVN495mI=; 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=nK0+xXM/iNW0pKdT/jyqgbVpweD4Ev3kD/4XOUVuHcltVFFzK7hXtAirihRBMjgUz sPilhDrtQ9C1H6WfjlXuSNiiord+jYeJ0qh9UK/92f5+gViSPfoaRbjbr3RJwxTigY 5HPVBy6GEYNH01TeKdCrqpsSSsfmxgxV17mI2fgPTdZ3kBpqXG7Ir+BA6ovXVXFd89 RzIZysEUOwoaAp2N7Jrpy9e/4SY/mS86plZKvP7Hqrr3i6vs1157oYD8he8Z1oMLBr hdwIhQ87JQH/vFivUJYiACLl5ICcZq4Em0+a/bGbZFMJAM9z0NFUDR/ySSn/BWTXUp SFQaPVAzbI+ng== Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0A48D65637 for ; Wed, 22 Jun 2022 14:37:24 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Im9MDcGs"; dkim-atps=neutral Received: by mail-pf1-x42d.google.com with SMTP id i64so15978980pfc.8 for ; Wed, 22 Jun 2022 05:37:23 -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=kPWkFKBd54AnxaUMWaA6OF2eI4z6sVnOMzs3HG6SYDw=; b=Im9MDcGs676bxVSnbjyKdwP0KBWltLMjaOXJNG+/Dxf4VGyObiFO0qAWj6n0vcKEa4 vvEFGYj85Iaes7kqfD+k4In+lIOdG9K6Y/6yx6FTY7ljJLXHNg0n3PRxMiLebv9rQ33U RqUJd9dBw7ToYbW2qHQVSsJgFCkzJmoXN/gAE= 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=kPWkFKBd54AnxaUMWaA6OF2eI4z6sVnOMzs3HG6SYDw=; b=mgjFpo/nrd1S8iEgKYoDLmh/QVflMoVu6STRcqdKoa1l3YRlY4f5H+RNEwPR/fEHRQ wNLEEPxYsOSMPSMpt3xWbllTNFYL5Pn/VOMKhYoLWozLGDgSc9NENMaUVXkA7qsjBGaf 0jQePs1gWKwi8ad3YJP1uwFvi2QTHXqPamgEmE+2vN3ua9UtWupTaJ1RLQqv3mMmK+v3 YPfTKchfI04+VpVARNT5PhpGWhFgm9SQ5t1IMpCNpE+Q67FeAaISCUxrxlDG+4riu0wO wk2Sv/K4rR8tlkscZh+JS69QOcG+Ul94orPdv6mp4D0WAPZG2+RNZYa2S+qEBfO3GNnB 2H/Q== X-Gm-Message-State: AJIora/VflmL/xMg2DG6x+VT+YvCgGiRjsx4cQI2+rzuFIa2DtLkpX7I vmpKUGhCIywActl0UVgctHoc4p4EVfLaZg== X-Google-Smtp-Source: AGRyM1vcsm7tR6dNt3DjB+1h2yy6UfrIK0COseHNWKbx38kQE+zwlNU/fc1d+srEV0b66XBlt2DtfA== X-Received: by 2002:a63:7418:0:b0:40c:fb51:13a0 with SMTP id p24-20020a637418000000b0040cfb5113a0mr2768286pgc.492.1655901442169; Wed, 22 Jun 2022 05:37:22 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (21.160.199.104.bc.googleusercontent.com. [104.199.160.21]) by smtp.gmail.com with ESMTPSA id j3-20020a170903024300b0016378bfeb90sm12684038plh.227.2022.06.22.05.37.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 05:37:20 -0700 (PDT) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Wed, 22 Jun 2022 12:37:03 +0000 Message-Id: <20220622123706.2946976-4-chenghaoyang@google.com> X-Mailer: git-send-email 2.37.0.rc0.104.g0611611a94-goog In-Reply-To: <20220622123706.2946976-1-chenghaoyang@google.com> References: <20220622123706.2946976-1-chenghaoyang@google.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 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 --- 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([