diff options
| author | Markus Volk <f_l_k@t-online.de> | 2023-05-16 06:40:38 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-15 22:51:10 -0700 |
| commit | 50601e60f7f561c94080d23e6ed25b62553406c2 (patch) | |
| tree | c2c1f51208ab22bcf6415c29dc8632e8891d564e /meta-multimedia | |
| parent | c70f8a0dc51551bcce801107436d5fcea90a9682 (diff) | |
| download | meta-openembedded-50601e60f7f561c94080d23e6ed25b62553406c2.tar.gz | |
libcamera: update 0.0.4 -> 0.0.5
libcamera v0.0.5
Bugfixes:
- meson: Ignore -Wredundant-move with gcc-13 and newer
- cam: file_sink: Workaround gcc-13 dangling-reference false positive
- libcamera: Open files with O_CLOEXEC
- meson: Fix git version parsing
- libcamera: camera_manager: Stop exponential explosive calls to createPipelineHandlers
- py: cam: Fix demosaic overflow issue
- libcamera: base: Make the registration of log categories atomic
Core:
- test: controls: control_info_map: Test default constructor
- controls: guard ControlInfoMap against nullptr idmap_
- device_enumerator_udev: Use std::string_view
- formats: Add 14-bits Bayer RAW formats
- device_enumerator_udev: Remove devnum from dependency map
- meson: libcamera: Report IPA signature method
- meson: Align handling of build metadata
- converter: Check converter validity
- Keep using syslog for isolated IPA modules
- utils: ipc: Update parser.py
- utils: checkstyle.py: Don't run commit title checker on staged commits
- framebuffer: Allow inheritance of FrameBuffer
- Remove transform from V4L2SubdeviceFormat
- libcamera: camera_sensor: Add tryFormat()
- camera_sensor: Fix typo in comment
- camera_sensor: Demote flip support message to Debug
- internal: tracepoints: Use correct include directive
- libcamera: camera: Ensure queued requests are invalid
ipa:
- doc: Clarify IPA acronym in its namespace description
- rkisp1: Add tuning files for PinephonePro sensors
- rkisp1: Add tuning files for Google DRU "Scarlet" sensors
- rkisp1: lsc: Fix integer division error
- libipa: Add OV2685 Camera Sensor Helper
- libipa: Add OV5647 Camera Sensor Helper
- raspberrypi: agc: Add "shadows" constraint mode
- raspberrypi: generalise algorithms
- raspberrypi: Fix default frame durations calculation
- raspberrypi: Ensure shutter speed and gain are clipped in the AGC
- raspberrypi: Use the new sensor limits fields in CameraMode
- raspberrypi: Add sensor mode limits to CameraMode
- raspberrypi: Fix crash under LTO
- raspberrypi: imx296: Minor tuning updates
- raspberrypi: agc: Fix overflow in Y value calculation
- raspberrypi: Better heuristics for calculating Unicam timeout
- raspberrypi: Generalise statistics
- raspberrypi: Change Unicam timeout handling
pipeline:
- simple: Validate transform
- imx8-isi: Remove mbusCode from formatsMap_
- imx8-isi: Automatically select media bus code
- imx8-isi: Split Bayer/YUV config generation
- imx8-isi: Break out RAW/YUV format selection
- raspberrypi: Iterate over all Unicam instances in match()
- raspberrypi: Add a Unicam timeout override config options
- raspberrypi: Always use ColorSpace::Raw for raw streams
- raspberrypi: Drop unused code
- ipu3: Drop unused code
apps:
- cam: kms_sink: Drop unique_ptr<> from DRM::AtomicRequest
- cam Return std::optional<> from StreamKeyValueParser::parseRole()
- android: jpeg: Add JEA implementation
ABI Compliance:
* abi-compliance-checker reports 98.6% ABI and 100% API compatibility with
with v0.0.4
Total binary compatibility problems: 1, warnings: 1
Total source compatibility problems: 0, warnings: 0
- First virtual method ~__dt ( ) has been added to this class.
1) The layout of type structure has been shifted by 8 bytes by the added v-table pointer.
2) Size of class has been increased by 8 bytes.
affected symbols: 6 (1.4%)
FrameBuffer::releaseFence ( )
FrameBuffer::setCookie ( uint64_t cookie )
FrameBuffer::cookie ( )
FrameBuffer::planes ( )
FrameBuffer::request ( )
FrameBuffer::metadata ( )
This ABI breakage was introduced by:
4843bfa ("libcamera: framebuffer: Allow inheritance of FrameBuffer")
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-file_sink.cpp-Avoid-dangling-reference.patch | 44 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.5.bb (renamed from meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.4.bb) | 3 |
2 files changed, 1 insertions, 46 deletions
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-file_sink.cpp-Avoid-dangling-reference.patch b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-file_sink.cpp-Avoid-dangling-reference.patch deleted file mode 100644 index 55a5977a7a..0000000000 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-file_sink.cpp-Avoid-dangling-reference.patch +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | From 2eaffc9ac8b47c354404075761fe8f76fad0ced4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 24 Jan 2023 01:18:25 -0800 | ||
| 4 | Subject: [PATCH] file_sink.cpp: Avoid dangling-reference | ||
| 5 | |||
| 6 | Fixes following errors with gcc-13 | ||
| 7 | |||
| 8 | ../git/src/cam/file_sink.cpp:92:45: error: possibly dangling reference to a temporary [-Werror=dangling-reference] | ||
| 9 | 92 | const FrameMetadata::Plane &meta = buffer->metadata().planes()[i]; | ||
| 10 | | ^~~~ | ||
| 11 | ../git/src/cam/file_sink.cpp:92:81: note: the temporary was destroyed at the end of the full expression '(& buffer->libcamera::FrameBuffer::metadata())->libcamera::FrameMetadata::planes().libcamera::Span<const libcamera::FrameMetadata::Plane>::operator[](i)' | ||
| 12 | 92 | const FrameMetadata::Plane &meta = buffer->metadata().planes()[i]; | ||
| 13 | | ^ | ||
| 14 | cc1plus: all warnings being treated as errors | ||
| 15 | |||
| 16 | Upstream-Status: Submitted [https://lists.libcamera.org/pipermail/libcamera-devel/2023-January/036575.html] | ||
| 17 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 18 | |||
| 19 | --- | ||
| 20 | src/apps/cam/file_sink.cpp | 8 ++++---- | ||
| 21 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
| 22 | |||
| 23 | diff --git a/src/apps/cam/file_sink.cpp b/src/apps/cam/file_sink.cpp | ||
| 24 | index b32aad24..9f4c5648 100644 | ||
| 25 | --- a/src/apps/cam/file_sink.cpp | ||
| 26 | +++ b/src/apps/cam/file_sink.cpp | ||
| 27 | @@ -114,13 +114,13 @@ void FileSink::writeBuffer(const Stream *stream, FrameBuffer *buffer, | ||
| 28 | } | ||
| 29 | |||
| 30 | for (unsigned int i = 0; i < buffer->planes().size(); ++i) { | ||
| 31 | - const FrameMetadata::Plane &meta = buffer->metadata().planes()[i]; | ||
| 32 | + unsigned int bytesused = buffer->metadata().planes()[i].bytesused; | ||
| 33 | |||
| 34 | Span<uint8_t> data = image->data(i); | ||
| 35 | - unsigned int length = std::min<unsigned int>(meta.bytesused, data.size()); | ||
| 36 | + unsigned int length = std::min<unsigned int>(bytesused, data.size()); | ||
| 37 | |||
| 38 | - if (meta.bytesused > data.size()) | ||
| 39 | - std::cerr << "payload size " << meta.bytesused | ||
| 40 | + if (bytesused > data.size()) | ||
| 41 | + std::cerr << "payload size " << bytesused | ||
| 42 | << " larger than plane size " << data.size() | ||
| 43 | << std::endl; | ||
| 44 | |||
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.4.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.5.bb index 12d42991eb..14a20b4317 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.4.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.5.bb | |||
| @@ -10,10 +10,9 @@ LIC_FILES_CHKSUM = "\ | |||
| 10 | 10 | ||
| 11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
| 12 | git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \ | 12 | git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master \ |
| 13 | file://0001-file_sink.cpp-Avoid-dangling-reference.patch \ | ||
| 14 | " | 13 | " |
| 15 | 14 | ||
| 16 | SRCREV = "6cf637eb253a68edebe59505bea55435fafb00cd" | 15 | SRCREV = "fb44403f1c5571549ac128c21daee9761eb9249c" |
| 17 | 16 | ||
| 18 | PE = "1" | 17 | PE = "1" |
| 19 | 18 | ||
