summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/meson.build
blob: 788d037a6fadce9af7150f416335444fc1ca6a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SPDX-License-Identifier: CC0-1.0

libipa_headers = files([
    'agc_mean_luminance.h',
    'algorithm.h',
    'camera_sensor_helper.h',
    'colours.h',
    'exposure_mode_helper.h',
    'fc_queue.h',
    'histogram.h',
    'interpolator.h',
    'lsc_polynomial.h',
    'matrix.h',
    'module.h',
    'pwl.h',
    'vector.h',
])

libipa_sources = files([
    'agc_mean_luminance.cpp',
    'algorithm.cpp',
    'camera_sensor_helper.cpp',
    'colours.cpp',
    'exposure_mode_helper.cpp',
    'fc_queue.cpp',
    'histogram.cpp',
    'interpolator.cpp',
    'lsc_polynomial.cpp',
    'matrix.cpp',
    'module.cpp',
    'pwl.cpp',
    'vector.cpp',
])

libipa_includes = include_directories('..')

libipa = static_library('ipa', [libipa_sources, libipa_headers],
                        include_directories : ipa_includes,
                        dependencies : libcamera_private)

libipa_dep = declare_dependency(sources : libipa_headers,
                                include_directories : libipa_includes,
                                link_with : libipa)