Skip to content

Releases: raspberrypi/libcamera

v0.5.2+rpt20250903

03 Sep 11:16
Compare
Choose a tag to compare
libcamera: clock_recovery: Use nanoseconds in addSample()

FrameWallClock was recently changed to nanoseconds, and all users of
ClockRecovery use SensorTimestamp directly, which is also in
nanoseconds. Thus addSample() should also use nanoseconds. Fix this.

Signed-off-by: Paul Elder <[email protected]>
Reviewed-by: Barnabás Pőcze <[email protected]>
Reviewed-by: Naushir Patuck <[email protected]>
Tested-by: Naushir Patuck <[email protected]>

v0.5.1+rpt20250722

22 Jul 07:58
Compare
Choose a tag to compare
ipa: rpi: Fix static initialisation order bug in the Controller

There is a possible static initialisation issue with accessing the
HardwareConfigMap static object through Controller::getHardwareConfig().
Fix this by providing a static function hardwareConfigMap() to access
the object.

Though not proven, this is possibly the cause of a very infrequent
lockup in https://github.com/raspberrypi/rpicam-apps/issues/799.

Signed-off-by: Naushir Patuck <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Reviewed-by: Barnabás Pőcze <[email protected]>
Reviewed-by: David Plowman <[email protected]>
Signed-off-by: Kieran Bingham <[email protected]>

v0.5.1+rpt20250707

07 Jul 08:55
Compare
Choose a tag to compare
ipa: rpi: Fix bug in AfState reporting

A previous change introduced a bug in which it reported AfStateIdle
when idle in Auto mode, when it should continue to report the most
recent AF cycle's outcome (AfStateFocused or AfStateFailed).

Also fix the Pause method so it won't reset state to AfStateIdle
when paused in Continuous AF mode (to match documented behaviour).

Signed-off-by: Nick Hollinghurst <[email protected]>

v0.5.0+rpt20250429

29 Apr 14:09
Compare
Choose a tag to compare
utils: raspberrypi: ctt: Fix NaNs in chromatic aberration tables

NaNs can appear if no black dots can be found and analysed in a
particular region of the calibration image. There needs to be at least
one such dot in every 8x8 cell covering the image.

This is now detected, and an error message issued. No CAC tables are
generated, so CAC is disabled.

Signed-off-by: David Plowman <[email protected]>

v0.4.0+rpt20250213

13 Feb 08:59
Compare
Choose a tag to compare
ipa: rpi: Fix incorrect cast for ExposureTime ControlInfo

controls::ExposureTime is of type ControlTypeInteger32, but the
default ControlInfoMap casts a value to int64_t causing incorrect
initialisation of the associated ControlInfo.

Fix this by casting correctly to int32_t.

Fixes: 8cebd777c ("ipa: rpi: Apply default ControlInfo values for sensor controls (2)")
Signed-off-by: Naushir Patuck <[email protected]>

v0.4.0+rpt20250211

11 Feb 09:01
Compare
Choose a tag to compare
ipa: rpi: Apply default ControlInfo values for sensor controls (2)

Unfortunately the previous fix for default sensor ControlInfo values was
incomplete, and the static list must also have default values so that
the ConrolInfo during ipa::init() are present. Fix this.

Fixes: ca36c77f ("ipa: rpi: Apply default ControlInfo values for sensor controls")
Signed-off-by: Naushir Patuck <[email protected]>

v0.4.0+rpt20250210

10 Feb 09:11
Compare
Choose a tag to compare
ipa: rpi: Apply default ControlInfo values for sensor controls

The existing IPA initialisation code did not set default values for
some sensor related controls. This caused a crash using libcamerify
when the it was trying to access the default value for
controls::FrameDurationLimits as part of a recent change.

Ensure controls::FrameDurationLimits, controls::AnalogueGain and
controls::ExposureTime advertise default values along with the existing
min/max values. The default is set to the defaults defined in the IPA
set during initialisation.

Bug: https://bugs.libcamera.org/show_bug.cgi?id=253
Signed-off-by: Naushir Patuck <[email protected]>

v0.4.0+rpt20250127

27 Jan 13:52
Compare
Choose a tag to compare
ipa: rpi: pisp: Update all tuning files for sync algorithm

Default to all the standard parameter values.

Signed-off-by: David Plowman <[email protected]>
Reviewed-by: Naushir Patuck <[email protected]>

v0.3.2+rpt20241119

19 Nov 12:15
Compare
Choose a tag to compare
ipa: rpi: awb: Disable CT search bias for Grey World AWB

If grey world AWB is setup in the tuning file, the CT curve will either
be missing or invalid. Disable biasing the statistics for the search in
such cases.

Fixes: ea8fd63d936f ("ipa: rpi: awb: Add a bias to the AWB search")
Signed-off-by: Naushir Patuck <[email protected]>
Reviewed-by: David Plowman <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>

v0.3.2+rpt20241112

12 Nov 11:39
Compare
Choose a tag to compare
RASPBERRYPI ONLY: Use meson from pip when generating orig tarball