summaryrefslogtreecommitdiff
path: root/meson_options.txt
blob: 99dab96d7b212c0685a58cd50c42d674c0171f5c (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# SPDX-License-Identifier: CC0-1.0

option('android',
        type : 'feature',
        value : 'disabled',
        description : 'Compile libcamera with Android Camera3 HAL interface')

option('android_platform',
        type : 'combo',
        choices : ['cros', 'generic'],
        value : 'generic',
        description : 'Select the Android platform to compile for')

option('cam',
        type : 'feature',
        value : 'auto',
        description : 'Compile the cam test application')

option('documentation',
        type : 'feature',
        description : 'Generate the project documentation')

option('gstreamer',
        type : 'feature',
        value : 'auto',
        description : 'Compile libcamera GStreamer plugin')

option('ipas',
        type : 'array',
        choices : ['ipu3', 'rkisp1', 'rpi/vc4', 'vimc'],
        description : 'Select which IPA modules to build')

option('lc-compliance',
        type : 'feature',
        value : 'auto',
        description : 'Compile the lc-compliance test application')

option('pipelines',
        type : 'array',
        value : ['auto'],
        choices : [
            'all',
            'auto',
            'imx8-isi',
            'ipu3',
            'rkisp1',
            'rpi/vc4',
            'simple',
            'uvcvideo',
            'vimc'
        ],
        description : 'Select which pipeline handlers to build. If this is set to "auto", all the pipelines applicable to the target architecture will be built. If this is set to "all", all the pipelines will be built. If both are selected then "all" will take precedence.')

option('pycamera',
        type : 'feature',
        value : 'auto',
        description : 'Enable libcamera Python bindings (experimental)')

option('qcam',
        type : 'feature',
        value : 'auto',
        description : 'Compile the qcam test application')

option('test',
        type : 'boolean',
        value : false,
        description : 'Compile and include the tests')

option('tracing',
        type : 'feature',
        value : 'auto',
        description : 'Enable tracing (based on lttng)')

option('udev',
       type : 'feature',
       value : 'auto',
       description : 'Enable udev support for hotplug')

option('v4l2',
        type : 'boolean',
        value : false,
        description : 'Compile the V4L2 compatibility layer')
pan> { return points_.empty(); } size_t size() const { return points_.size(); } Interval domain() const; Interval range() const; double eval(double x, int *span = nullptr, bool updateSpan = true) const; std::pair<Pwl, bool> inverse(double eps = 1e-6) const; Pwl compose(const Pwl &other, double eps = 1e-6) const; void map(std::function<void(double x, double y)> f) const; static Pwl combine(const Pwl &pwl0, const Pwl &pwl1, std::function<double(double x, double y0, double y1)> f, double eps = 1e-6); Pwl &operator*=(double d); std::string toString() const; private: static void map2(const Pwl &pwl0, const Pwl &pwl1, std::function<void(double x, double y0, double y1)> f); void prepend(double x, double y, double eps = 1e-6); int findSpan(double x, int span) const; std::vector<Point> points_; }; } /* namespace ipa */ } /* namespace libcamera */