Commit Graph

3 Commits

Author SHA1 Message Date
tho3.nguyen 65f0ffec50 libcamera: Fix build with gcc-15
Backport patch to fix the following error:
...
In file included from ../git/src/libcamera/dma_buf_allocator.cpp:9:
../git/include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared
   66 |         void sync(uint64_t step);
      |                   ^~~~~~~~
../git/include/libcamera/internal/dma_buf_allocator.h:17:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
...

Signed-off-by: tho3.nguyen <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-28 10:28:13 -07:00
Koen Kooi d9c5ae5c03 libcamera: add support for DNG files
The 'cam' app in libcamera will turn on DNG support if it finds libtiff,
but it has no way to explicitly disable it. Add a 'dng' PACKAGECONFIG to
reliably enable it, disabling it will take more effort when using
gstreamer.

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-18 13:53:08 -07:00
Alexander Stein dfa40e1f4e libcamera: update to 0.4.0
Upgrade libcamera to version 0.4.0, gaining support for ARM Mali-C55 ISP.

Patches 0002-options-Replace-use-of-VLAs-in-C.patch and
0001-rpi-Use-malloc-instead-of-variable-length-arrays.patch are obsolete.
Issues have been fixed upstream (differently).

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-08 08:02:10 -08:00