/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2019, Raspberry Pi (Trading) Limited
*
* alsc_status.h - ALSC (auto lens shading correction) control algorithm status
*/
#pragma once
// The ALSC algorithm should post the following structure into the image's
// "alsc.status" metadata.
#ifdef __cplusplus
extern "C" {
#endif
#define ALSC_CELLS_X 16
#define ALSC_CELLS_Y 12
struct AlscStatus {
double r[ALSC_CELLS_Y][ALSC_CELLS_X];
double g[ALSC_CELLS_Y][ALSC_CELLS_X];
double b[ALSC_CELLS_Y][ALSC_CELLS_X];
};
#ifdef __cplusplus
}
#endif
c='/logo.png' alt='cgit logo'/>
blob: 60ebf3255b288cc8695d1a1d48d94ff93b1d3032 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# SPDX-License-Identifier: CC0-1.0
subdir('generated_serializer')
serialization_tests = [
['control_serialization', 'control_serialization.cpp'],
['ipa_data_serializer_test', 'ipa_data_serializer_test.cpp'],
]
foreach t : serialization_tests
exe = executable(t[0], [t[1], 'serialization_test.cpp'],
dependencies : libcamera_dep,
link_with : test_libraries,
include_directories : test_includes_internal)
test(t[0], exe, suite : 'serialization', is_parallel : true)
endforeach
|