libcamera: ipa: Support array controls in ipa_control_value_entry
Report in a new field of the ipa_control_value_entry structure if the value contains an array. Reorganize the other fields of the structure to avoid increasing its size. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
@@ -26,9 +26,11 @@ struct ipa_controls_header {
|
||||
|
||||
struct ipa_control_value_entry {
|
||||
uint32_t id;
|
||||
uint32_t type;
|
||||
uint32_t count;
|
||||
uint8_t type;
|
||||
uint8_t is_array;
|
||||
uint16_t count;
|
||||
uint32_t offset;
|
||||
uint32_t padding[1];
|
||||
};
|
||||
|
||||
struct ipa_control_range_entry {
|
||||
|
||||
Reference in New Issue
Block a user