libcamera  v0.3.2+116-83c5ad0f
Supporting cameras in Linux since 2019
ipa_controls.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  * Copyright (C) 2019, Google Inc.
4  *
5  * IPA Control handling
6  */
7 
8 #pragma once
9 
10 #include <stdint.h>
11 
12 #ifdef __cplusplus
13 namespace libcamera {
14 
15 extern "C" {
16 #endif
17 
18 #define IPA_CONTROLS_FORMAT_VERSION 1
19 
24 };
25 
27  uint32_t version;
28  uint32_t handle;
29  uint32_t entries;
30  uint32_t size;
31  uint32_t data_offset;
33  uint32_t reserved[2];
34 };
35 
37  uint32_t id;
38  uint8_t type;
39  uint8_t is_array;
40  uint16_t count;
41  uint32_t offset;
42  uint32_t padding[1];
43 };
44 
46  uint32_t id;
47  uint32_t type;
48  uint32_t offset;
49  uint32_t padding[1];
50 };
51 
52 #ifdef __cplusplus
53 } /* namespace libcamera */
54 
55 }
56 #endif
The numerical control identifier are resolved to a ControlId * using the global controls::controls id...
Definition: ipa_controls.h:21
uint32_t handle
Definition: ipa_controls.h:28
uint32_t size
Definition: ipa_controls.h:30
Description of a serialized ControlInfo entry.
Definition: ipa_controls.h:45
uint32_t id
Definition: ipa_controls.h:37
uint32_t type
Definition: ipa_controls.h:47
Top-level libcamera namespace.
Definition: backtrace.h:17
ipa_controls_id_map_type
Enumerates the different control id map types.
Definition: ipa_controls.h:20
The numerical control identifier are resolved to a ControlId * using the global properties::propertie...
Definition: ipa_controls.h:22
uint32_t offset
Definition: ipa_controls.h:48
Description of a serialized ControlValue entry.
Definition: ipa_controls.h:36
uint32_t version
Definition: ipa_controls.h:27
uint32_t entries
Definition: ipa_controls.h:29
ControlId for V4L2 defined controls are created by the video device that enumerates them...
Definition: ipa_controls.h:23
enum ipa_controls_id_map_type id_map_type
Definition: ipa_controls.h:32
uint32_t offset
Definition: ipa_controls.h:41
uint32_t data_offset
Definition: ipa_controls.h:31
Serialized control packet header.
Definition: ipa_controls.h:26
uint8_t is_array
Definition: ipa_controls.h:39
uint32_t id
Definition: ipa_controls.h:46
uint8_t type
Definition: ipa_controls.h:38
uint32_t reserved[2]
Definition: ipa_controls.h:33
uint16_t count
Definition: ipa_controls.h:40