summaryrefslogtreecommitdiff
path: root/utils/ipc/generators/libcamera_templates/core_ipa_interface.h.tmpl
blob: a565b59ada25933cfac28907d766dd16940e29a9 (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
{#-
 # SPDX-License-Identifier: LGPL-2.1-or-later
 # Copyright (C) 2020, Google Inc.
-#}
{%- import "definition_functions.tmpl" as funcs -%}
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Google Inc.
 *
 * core_ipa_interface.h - libcamera core definitions for Image Processing Algorithms
 *
 * This file is auto-generated. Do not edit.
 */

#pragma once

{% if has_map %}#include <map>{% endif %}
{% if has_array %}#include <vector>{% endif %}

#include <libcamera/ipa/ipa_interface.h>

namespace libcamera {

{# \todo Use const char * instead of std::string for strings #}
{% for const in consts %}
static const {{const.kind|name}} {{const.mojom_name}} = {{const.value}};
{% endfor %}

{% for enum in enums %}
{{funcs.define_enum(enum)}}
{% endfor %}

{%- for struct in structs_gen_header %}
{{funcs.define_struct(struct)}}
{% endfor %}

} /* namespace libcamera */