{#-
 # SPDX-License-Identifier: LGPL-2.1-or-later
 # Copyright (C) 2020, Google Inc.
-#}
{%- import "serializer.tmpl" as serializer -%}

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Google Inc.
 *
 * Data serializer for core libcamera definitions for IPA
 *
 * This file is auto-generated. Do not edit.
 */

#pragma once

#include <tuple>
#include <vector>

#include <libcamera/ipa/core_ipa_interface.h>

#include "libcamera/internal/control_serializer.h"
#include "libcamera/internal/ipa_data_serializer.h"

namespace libcamera {

LOG_DECLARE_CATEGORY(IPADataSerializer)
{% for struct in structs_gen_serializer %}
template<>
class IPADataSerializer<{{struct|name}}>
{
public:
{{- serializer.serializer(struct)}}
{{- serializer.deserializer(struct)}}
};
{% endfor %}

} /* namespace libcamera */
