libcamera-org / libcamera

This is an unofficial mirror of https://git.libcamera.org/libcamera/libcamera.git/ Issue tracking at https://bugs.libcamera.org
Other
63 stars 21 forks source link

Changing the sensorConfig inside CameraConfiguration. #12

Open Squigglecito opened 11 months ago

Squigglecito commented 11 months ago

Hello, the documentation has an example of how the modify and validate a StreamConfiguration, is there some way to modify CameraConfiguration, and more specifically, sensorConfig? I am trying to change the crop, binning, and skipping values.

https://github.com/libcamera-org/libcamera/blob/master/Documentation/camera-sensor-model.rst

kbingham commented 11 months ago

Hi @Squigglecito At the moment the sensorConfig only lets you select from existing modes supported by the sensor driver. Not arbitrary changes, so it's quite specific to the platform and driver configuration and not possible to enumerate what options are exposed. (That's still an area under development, but requires kernel changes upstream to handle).