libcamera/include/libcamera/internal
Jacopo Mondi 85befa816e libcamera: Remove transform from V4L2SubdeviceFormat
Commit 6f6e1bf704 ("libcamera: camera_sensor: Apply flips at
setFormat()") extended the CameraSensor::setFormat() function
to apply vertical/horizontal flips on the sensor based on the
supplied Transform. To pass the Transform to the function the
V4L2SubdeviceFormat structure has been augmented with a Transform
member.

However as the newly added Transform is not used at all in the
V4L2Subdevice class, it should not be part of V4L2SubdeviceFormat.

Fix that by removing the transform field from V4L2SubdeviceFormat
and pass it as an explicit parameter to CameraSensor::setFormat().

Fixes: 6f6e1bf704 ("libcamera: camera_sensor: Apply flips at setFormat())
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2023-02-09 23:40:15 +01:00
..
converter libcamera: pipeline: simple: converter: Use generic converter interface 2022-12-14 16:19:52 +00:00
tracepoints libcamera: internal: tracepoints: Use correct include directive 2023-02-09 19:39:54 +05:30
bayer_format.h raspberrypi: Update Copyright statement in all Raspberry Pi source files 2022-07-27 18:12:15 +03:00
byte_stream_buffer.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
camera.h libcamera: Allow concurrent use of cameras from same pipeline handler 2022-08-10 20:33:28 +03:00
camera_controls.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
camera_lens.h libcamera: camera_lens: Add function to fetch subdev controls 2022-03-15 17:20:59 +00:00
camera_sensor.h libcamera: Remove transform from V4L2SubdeviceFormat 2023-02-09 23:40:15 +01:00
camera_sensor_properties.h libcamera: camera_sensor: Reference test pattern modes by enum type 2021-12-06 17:41:45 +01:00
control_serializer.h libcamera: control_serializer: store/load all ControlValue types 2022-09-12 18:28:59 +09:00
control_validator.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
converter.h libcamera: Declare generic converter interface 2022-12-14 16:19:52 +00:00
delayed_controls.h raspberrypi: Update Copyright statement in all Raspberry Pi source files 2022-07-27 18:12:15 +03:00
device_enumerator.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
device_enumerator_sysfs.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
device_enumerator_udev.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
formats.h libcamera: formats: Merge V4L2 single and multi formats 2022-08-03 15:07:19 +02:00
framebuffer.h libcamera: framebuffer: Move remaining private data to Private class 2022-10-10 17:49:49 +03:00
ipa_data_serializer.h ipc: ipa_data_serializer: Use cend() in deserializers 2022-10-19 12:09:01 +09:00
ipa_manager.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
ipa_module.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
ipa_proxy.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
ipc_pipe.h libcamera: base: Rename FileDescriptor to SharedFD 2021-12-04 23:05:05 +02:00
ipc_pipe_unixsocket.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
ipc_unixsocket.h libcamera: ipc_unixsocket: Use UniqueFD for a file descriptor 2021-12-04 23:05:03 +02:00
mapped_framebuffer.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
media_device.h libcamera: media_device: Return string references to avoid copies 2022-05-27 16:06:21 +03:00
media_object.h libcamera: Add members to MediaEntity to support ancillary entities 2022-03-15 17:20:59 +00:00
meson.build libcamera: pipeline: simple: converter: Use generic converter interface 2022-12-14 16:19:52 +00:00
pipeline_handler.h libcamera: pipeline: Add a platform configuration file helper 2023-01-31 16:54:36 +00:00
process.h libcamera: process: Manage pipe fds by UniqueFD 2021-12-04 23:05:03 +02:00
pub_key.h libcamera: pub_key: Support openssl as an alternative to gnutls 2022-08-09 16:05:58 +03:00
request.h libcamera: request: Rename Private::reuse() to Private::reset() 2022-08-31 20:51:31 +05:30
source_paths.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
sysfs.h libcamera: internal: Convert to pragma once 2021-11-24 12:18:17 +00:00
tracepoints.h.in libcamera: tracing: Implement tracing infrastructure 2020-11-03 11:07:21 +09:00
v4l2_device.h libcamera: v4l2_device: Workaround faulty control menus 2022-11-28 17:15:35 +00:00
v4l2_pixelformat.h libcamera: formats: Fix warning for unknown V4L2 pixfmt 2022-08-10 09:33:30 +02:00
v4l2_subdevice.h libcamera: Remove transform from V4L2SubdeviceFormat 2023-02-09 23:40:15 +01:00
v4l2_videodevice.h libcamera: v4l2_videodevice: Improve toColorSpace() readability 2022-09-01 16:49:59 +05:30
yaml_parser.h libcamera: yaml_parser: Enable YamlObject::get() for int8_t and uint8_t 2022-08-21 21:47:19 +03:00