Files
external_libcamera/include/libcamera/ipa/ipa_module_info.h
Kieran Bingham cc0b245096 libcamera: ipa: Convert to pragma once
Remove the verbose #ifndef/#define/#endif pattern for maintaining
header idempotency, and replace it with a simple #pragma once.

This simplifies the headers, and prevents redundant changes when
header files get moved.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
2021-11-24 12:18:22 +00:00

28 lines
492 B
C++

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* ipa_module_info.h - Image Processing Algorithm module information
*/
#pragma once
#include <stdint.h>
#define IPA_MODULE_API_VERSION 1
namespace libcamera {
struct IPAModuleInfo {
int moduleAPIVersion;
uint32_t pipelineVersion;
char pipelineName[256];
char name[256];
} __attribute__((packed));
extern "C" {
extern const struct IPAModuleInfo ipaModuleInfo;
}
} /* namespace libcamera */