ipa_controls.h
Go to the documentation of this file.
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* ipa_controls.h - IPA Control handling
*/
#ifndef __LIBCAMERA_IPA_CONTROLS_H__
#define __LIBCAMERA_IPA_CONTROLS_H__
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#define IPA_CONTROLS_FORMAT_VERSION 1
struct ipa_controls_header {
uint32_t version;
uint32_t handle;
uint32_t entries;
uint32_t size;
uint32_t data_offset;
uint32_t reserved[3];
};
struct ipa_control_value_entry {
uint32_t id;
uint8_t type;
uint8_t is_array;
uint16_t count;
uint32_t offset;
uint32_t padding[1];
};
struct ipa_control_info_entry {
uint32_t id;
uint32_t type;
uint32_t offset;
uint32_t padding[1];
};
#ifdef __cplusplus
}
#endif
#endif /* __LIBCAMERA_IPA_CONTROLS_H__ */
ipa_control_info_entry
Description of a serialized ControlInfo entry.
Definition: ipa_controls.h:36
ipa_control_info_entry::padding
uint32_t padding[1]
Definition: ipa_controls.h:40
ipa_control_info_entry::type
uint32_t type
Definition: ipa_controls.h:38
ipa_control_info_entry::offset
uint32_t offset
Definition: ipa_controls.h:39
ipa_control_info_entry::id
uint32_t id
Definition: ipa_controls.h:37
ipa_control_value_entry
Description of a serialized ControlValue entry.
Definition: ipa_controls.h:27
ipa_control_value_entry::offset
uint32_t offset
Definition: ipa_controls.h:32
ipa_control_value_entry::type
uint8_t type
Definition: ipa_controls.h:29
ipa_control_value_entry::id
uint32_t id
Definition: ipa_controls.h:28
ipa_control_value_entry::is_array
uint8_t is_array
Definition: ipa_controls.h:30
ipa_control_value_entry::padding
uint32_t padding[1]
Definition: ipa_controls.h:33
ipa_control_value_entry::count
uint16_t count
Definition: ipa_controls.h:31
ipa_controls_header
Serialized control packet header.
Definition: ipa_controls.h:18
ipa_controls_header::entries
uint32_t entries
Definition: ipa_controls.h:21
ipa_controls_header::reserved
uint32_t reserved[3]
Definition: ipa_controls.h:24
ipa_controls_header::size
uint32_t size
Definition: ipa_controls.h:22
ipa_controls_header::version
uint32_t version
Definition: ipa_controls.h:19
ipa_controls_header::handle
uint32_t handle
Definition: ipa_controls.h:20
ipa_controls_header::data_offset
uint32_t data_offset
Definition: ipa_controls.h:23