From patchwork Fri Jul 15 14:38:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Yang X-Patchwork-Id: 16650 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 CC93FBE173 for ; Fri, 15 Jul 2022 14:38:36 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8E23463319; Fri, 15 Jul 2022 16:38:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1657895916; bh=kyEiFVsxXdGyszxeeJWZoismcuMHGqkGjU3tolW0q/E=; 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=zbG06LFiWwC9tdWU2btMGJ6+PjjycIpqnqr1BHaH+7K4anUxMMGE8HykE2mTdFo0t bR9dZQ/nStP7NslNgB5MO7FPnu7s8etTtg8mMJNbmWYNdIeKMcTpE1D074xCQovrEE PSCYl8BGEFvQMzzI/Ry9dtb6OqWq8KGJPMqBabsufLyzwebnXTLsl6PqaLyIdpNKjZ YanXWMk928gbbKRTGVQEj3p/yDjzN3yqjvcLkTjiTj6gn9nq846S4YM/ICiKbqPasn jr46elGhPzcAPA6kmMs4PVQjtk/m7Ge2eXUCC1ULy4dajr/5j2v30OykU0mmNeg1UD 8pHIudAQ4R5JA== Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 076DD63319 for ; Fri, 15 Jul 2022 16:38:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="RhZtxWvt"; dkim-atps=neutral Received: by mail-pj1-x102a.google.com with SMTP id o3-20020a17090a744300b001ef8f7f3dddso6266118pjk.3 for ; Fri, 15 Jul 2022 07:38:33 -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=pqhLmxCKpHHI3vVMXaqG6pEAe0wNqne8MCvbJvDT6BQ=; b=RhZtxWvthYR+e4LdZhwebiHisxZws54ZbdORX1JZTvBHWOkGOfMHuYBPwPjUnynFfT M5zZR5nD5ts+XM7OBPJappEpAzlaptWoKaeb8R+xPia8Tb80uAmJgKlQOoarz2ITOD8R uyQAZaWVKKf/8GYVAudJW0XHS2hITOda38Pc0= 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=pqhLmxCKpHHI3vVMXaqG6pEAe0wNqne8MCvbJvDT6BQ=; b=2C5HVOtkRGsM0ThT7wc/8d+pUgGiMSa5n4fG5rovXxZU9At9BXIzpe2IoVXrYbxog5 pRaMzxEPJBxDmwy1diNlePhRAuJfEWLMLUB8OYudsYcZRDYuQ/gBz1e+/e4XxOzpYJGt q30KiH/g/cSC1mkfV5AmodL97oRSIZwjtz2kL+BazCmVKxS7BEe5TX7JBvWtNsG2dBnE mGSiSAEPNyiRgzRo7SG/wU88LIbwYZOg3btEoTq6gkdPgDwDUZ+muHtEM8u0bFGDfB95 kkw4ees8UIb2T+sdOdUNUVtxcWZtzCk1YGbnvrdqc7bT0ch7HgTIQY2dXzy1s1qUB1Dj VG5A== X-Gm-Message-State: AJIora98JBRXH7FFANjGepwdfLpNnhh+ASa0eYgzGNH0atzueyyaOQcq njNLZU2we4K01UuYsmPMw3qfHGRZMaupFA== X-Google-Smtp-Source: AGRyM1tR815GGAvG5GXS+XshsG8bW/EQcCj3gIP/gG8dIlTSu3DWxuLXuApYTUWnCxiFy2Fr5PKknQ== X-Received: by 2002:a17:902:f64b:b0:16c:6438:6999 with SMTP id m11-20020a170902f64b00b0016c64386999mr13463329plg.25.1657895912161; Fri, 15 Jul 2022 07:38:32 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (208.158.221.35.bc.googleusercontent.com. [35.221.158.208]) by smtp.gmail.com with ESMTPSA id f15-20020aa7968f000000b00528c22fbb45sm3972782pfk.141.2022.07.15.07.38.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 07:38:31 -0700 (PDT) X-Google-Original-From: Harvey Yang To: libcamera-devel@lists.libcamera.org Date: Fri, 15 Jul 2022 14:38:19 +0000 Message-Id: <20220715143822.672321-4-chenghaoyang@google.com> X-Mailer: git-send-email 2.37.0.170.g444d1eabd0-goog In-Reply-To: <20220715143822.672321-1-chenghaoyang@google.com> References: <20220715143822.672321-1-chenghaoyang@google.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v6 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([