forked from jengelh/libcamera
Accepting request 1108405 from home:rfrohl:branches:graphics
libcamera 0.1.0 OBS-URL: https://build.opensuse.org/request/show/1108405 OBS-URL: https://build.opensuse.org/package/show/graphics/libcamera?expand=0&rev=41
This commit is contained in:
parent
34258b2447
commit
1b1066df71
2
_service
2
_service
@ -3,7 +3,7 @@
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">git://linuxtv.org/libcamera</param>
|
||||
<param name="revision">refs/tags/v0.0.4</param>
|
||||
<param name="revision">refs/tags/v0.1.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://linuxtv.org/libcamera</param>
|
||||
<param name="changesrevision">6cf637eb253a68edebe59505bea55435fafb00cd</param></service></servicedata>
|
||||
<param name="changesrevision">668a5e674aed65b8982b449b4bed58ff7e3e1413</param></service></servicedata>
|
@ -1,2 +1,2 @@
|
||||
libcamera0_0_4
|
||||
libcamera-base0_0_4
|
||||
libcamera0_1
|
||||
libcamera-base0_1
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:69a9bc4e24666fca0e5a408f68e1d57a09a3711529b38d29591d4a28bbcbba4f
|
||||
oid sha256:1c1b5df9d77ebb4946e1e4e48a324e36e055105f3dd9a0881de08d3a55e2d487
|
||||
size 5986317
|
||||
|
3
libcamera-0.1.0.obscpio
Normal file
3
libcamera-0.1.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b6d31f10166ba3c934746d2cca715467ffd59bc13a55ed5935c09e243ab9b72
|
||||
size 6214157
|
@ -1,3 +1,173 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 01 07:00:58 UTC 2023 - rfrohl@suse.com
|
||||
|
||||
- Update to version 0.1.0:
|
||||
* libcamera v0.1.0
|
||||
* tests: gstreamer: Fix compiler error with gcc 8.4.0
|
||||
* libcamera: CameraManager: Remove ::get(dev_t)
|
||||
* v4l2: Use SystemDevices properties to identify cameras
|
||||
* v4l2: v4l2_camera_proxy: Prevent ioctl sign-extensions
|
||||
* ipa: rpi: imx296_mono: Disable all colour shading
|
||||
* ipa: rpi: imx708: Fix mode switch drop frame count
|
||||
* pipeline: rpi: Account for Bayer packing when validating format
|
||||
* libcamera: pipeline: simple: Support TI CSI-RX
|
||||
* libcamera: Add option to configure udev support
|
||||
* meson: Fix space around colon issues
|
||||
* tests: gstreamer: Test cameras' enumeration from GstDeviceProvider
|
||||
* utils: checkstyle: Add trailers checker
|
||||
* utils: checkstyle: Don't include commit ID in commit title
|
||||
* utils: checkstyle: Support running checkers selectively
|
||||
* utils: checkstyle: Add __repr__ method to CommitFile class
|
||||
* apps: Add ipa-verify application
|
||||
* Documentation: Add predefined macros from config.h to Doxyfile
|
||||
* utils: ipu3-capture.sh: Fix the script to work with recent media-ctl versions
|
||||
* libcamera: Remove `StreamRoles` alias
|
||||
* libcamera: camera: Take span of StreamRole instead of vector
|
||||
* meson: Use x.y soname versioning
|
||||
* utils: ABI Compatibility checker
|
||||
* libcamera: base: Do not install private headers
|
||||
* libcamera: base: Move thread_annotations to private
|
||||
* gstreamer: Drop libcamera_private dependency
|
||||
* libcamera: meson: Allow PH to change libcamera_deps
|
||||
* pipeline: rpi: Do not return an error from pipeline config file handling
|
||||
* ipa: rpi: agc: Do not switch to a default if a mode is unavailable
|
||||
* libcamera: camera_sensor: Adjust properties::Rotation
|
||||
* gstreamer: Add enable_auto_focus option to the GStreamer plugin
|
||||
* libcamera: pipeline: Register device numbers with camera
|
||||
* libcamera: properties: Provide a Devices camera property
|
||||
* libcamera: camera_manager: Move {add,remove}Camera to internal
|
||||
* libcamera: camera_manager: Move private implementation to internal
|
||||
* libcamera: internal: request: convert to pragma once
|
||||
* ipa: rpi: agc: Gracefully handle missing agc modes
|
||||
* ipa: rpi: agc: Use std::string instead of char arrays
|
||||
* ipa: rpi: tunings: Add missing short and long exposure profiles
|
||||
* libcamera: rkisp1: Fix enumeration of RAW formats
|
||||
* libcamera: rkisp1: Assign sizes to roles
|
||||
* libcamera: rkisp1: Crop on ISP before downscaling
|
||||
* libcamera: rkisp1: Generate config using main path
|
||||
* ipa: rpi: Set lens position to hyperfocal on startup
|
||||
* pipeline: ipa: rpi: Return lens controls from ipa->configure()
|
||||
* libcamera: controls: Define a default lens position behaviour
|
||||
* ipa: rkisp1: agc: Restore minimum analogue gain limit
|
||||
* ipa: ipu3: agc: Drop hard-codec analogue gain max
|
||||
* libipa: camera_sensor_helper: Restore alphabetical order
|
||||
* libcamera: controls: Drop reference to IPA in controls documentation
|
||||
* ipa: rpi: Handle controls for mono variant sensors
|
||||
* camera_sensor: ipa: core: Add CFA pattern to IPACameraSensorInfo
|
||||
* py: unittests.py: Fix type checker warnings
|
||||
* py: Fix code formatting
|
||||
* subprojects: Drop leftovers of pybind11
|
||||
* ipa: rpi: imx296: Small refinements to the IMX296 mono sensor tuning
|
||||
* py: Move to mainline pybind11 version
|
||||
* py: unittests.py: Add weakref helpers and use del
|
||||
* py: Use exceptions instead of returning error codes
|
||||
* py: Move ColorSpace and Transform classes to separate files
|
||||
* py: Fix CameraManager.version property
|
||||
* android: mm: Stub libhardware for build tests
|
||||
* android: mm: generic: use GRALLOC_HARDWARE_MODULE_ID
|
||||
* libcamera: camera_sensor: Add Sony IMX327 sensor properties
|
||||
* pipeline: rpi: ipa_base: Parse config files after platformRegister()
|
||||
* libipa: camera_sensor_helper: Add IMX327 helper
|
||||
* ipa: rkisp1: agc: drop hard-coded analogue gain range
|
||||
* meson: Fix usage of overwritten pipeline variable
|
||||
* libcamera: ipa_manager: Allow IPA loading in nested subdirs
|
||||
* libcamera: v4l2_videodevice: Use O_CLOEXEC when exporting DMA buffers
|
||||
* v4l2: Move the v4l2 compat layer to libexec/libcamera
|
||||
* pipeline: raspberrypi: Add stream flags to RPi::Stream
|
||||
* pipeline: raspberrypi: Introduce PipelineHandlerBase class
|
||||
* pipeline: raspberrypi: Make RPi::Stream::name() return const std::string &
|
||||
* ipa: raspberrypi: agc: Move weights out of AGC
|
||||
* ipa: raspberrypi: Introduce IpaBase class
|
||||
* pipeline: ipa: raspberrypi: Restructure the IPA mojom interface
|
||||
* pipeline: raspberrypi: rpi_stream: Set invalid buffer to id == 0
|
||||
* pipeline: ipa: raspberrypi: Refactor and move the Raspberry Pi code
|
||||
* pipeline: meson: Allow nested pipeline handler directory structures
|
||||
* ipa: meson: Allow nested IPA directory structures
|
||||
* libcamera: ipa: Remove character restriction on the IPA name
|
||||
* meson: ipa: Add mapping for pipeline handler to mojom interface file
|
||||
* apps: qcam: Remove redundant check
|
||||
* libcamera: pipeline: simple: Add support for ST's DCMIPP
|
||||
* libcamera v0.0.5
|
||||
* cam: file_sink: Workaround gcc-13 dangling-reference false positive
|
||||
* meson: Ignore -Wredundant-move with gcc-13 and newer
|
||||
* ipa: rkisp1: Add tuning files for PinephonePro sensors
|
||||
* ipa: rkisp1: Add tuning files for Google DRU "Scarlet" sensors
|
||||
* pipeline: simple: Validate transform
|
||||
* libcamera: imx8-isi: Remove mbusCode from formatsMap_
|
||||
* libcamera: imx8-isi: Split Bayer/YUV config generation
|
||||
* libcamera: camera_sensor: Add tryFormat()
|
||||
* libcamera: imx8-isi: Automatically select media bus code
|
||||
* libcamera: imx8-isi: Break out YUV format selection
|
||||
* libcamera: imx8-isi: Break out RAW format selection
|
||||
* Documentation: guides: pipeline-handler: Fix spelling error
|
||||
* apps: cam: kms_sink: Drop unique_ptr<> from DRM::AtomicRequest
|
||||
* test: controls: control_info_map: Test default constructor
|
||||
* libcamera: controls: guard ControlInfoMap against nullptr idmap_
|
||||
* libcamera: device_enumerator_udev: Use std::string_view
|
||||
* libcamera: formats: Add 14-bits Bayer RAW formats
|
||||
* libcamera: device_enumerator_udev: Remove devnum from dependency map
|
||||
* ipa: raspberrypi: agc: Add "shadows" constraint mode
|
||||
* utils: ipc: Update parser.py
|
||||
* doc: ipa: Clarify IPA acronym in its namespace description
|
||||
* libcamera: Open files with O_CLOEXEC
|
||||
* meson: Really fix git version parsing
|
||||
* ipa: raspberrypi: Generalise the focus reporting code
|
||||
* ipa: raspberrypi: Generalise the autofocus algorithm
|
||||
* ipa: raspberrypi: Generalise the agc algorithm
|
||||
* ipa: raspberrypi: Make RegionStats::get() always return a Region struct
|
||||
* ipa: raspberrypi: Generalise the contrast algorithm
|
||||
* ipa: raspberrypi: alsc: Use a better type name for sparse arrays
|
||||
* ipa: raspberrypi: alsc: Replace std::vectors by Array2D class
|
||||
* ipa: raspberrypi: Generalise the ALSC algorithm
|
||||
* ipa: raspberrypi: Add hardware configuration to the controller
|
||||
* ipa: raspberrypi Store the target string in the controller
|
||||
* ipa: raspberrypi: Fix default frame durations calculation
|
||||
* ipa: raspberrypi: Ensure shutter speed and gain are clipped in the AGC
|
||||
* ipa: raspberrypi: Use the new sensor limits fields in CameraMode
|
||||
* ipa: raspberrypi: Add sensor mode limits to CameraMode
|
||||
* libcamera: v4l2_device: openat(2) with O_CLOEXEC to cleanup after exec(3)
|
||||
* libcamera: camera: Ensure queued requests are invalid
|
||||
* meson: libcamera: Report IPA signature method
|
||||
* ipa: libipa: Add OV2685 Camera Sensor Helper
|
||||
* ipa: libipa: Add OV5647 Camera Sensor Helper
|
||||
* py: cam: Fix demosaic overflow issue
|
||||
* ipa: raspberrypi: Fix crash under LTO
|
||||
* meson: Fix git version parsing
|
||||
* libcamera: base: Make the registration of log categories atomic
|
||||
* meson: Align handling of build metadata
|
||||
* libcamera: converter: Check converter validity
|
||||
* ipa: raspberrypi: imx296: Minor tuning updates
|
||||
* ipa: raspberrypi: agc: Fix overflow in Y value calculation
|
||||
* pipeline: raspberrypi: Iterate over all Unicam instances in match()
|
||||
* pipeline: raspberrypi: Add a Unicam timeout override config options
|
||||
* ipa: raspberrypi: Better heuristics for calculating Unicam timeout
|
||||
* pipeline: ipa: raspberrypi: Change Unicam timeout handling
|
||||
* ipa: rkisp1: lsc: Fix integer division error
|
||||
* libcamera: camera_manager: Stop exponential explosive calls to createPipelineHandlers
|
||||
* Documentation: guides: pipeline-handler: Fix spelling error
|
||||
* libcamera: Keep using syslog for isolated IPA modules
|
||||
* utils: checkstyle.py: Don't run commit title checker on staged commits
|
||||
* apps: Return std::optional<> from StreamKeyValueParser::parseRole()
|
||||
* pipeline: raspberrypi: Always use ColorSpace::Raw for raw streams
|
||||
* Documentation: Small typo fix
|
||||
* android: jpeg: Add JEA implementation
|
||||
* android: jpeg: Pass StreamBuffer to Encoder::encoder
|
||||
* android: jpeg: Add meson.build in src/android/jpeg
|
||||
* android: framebuffer: Add HALFrameBuffer and replace FrameBuffer
|
||||
* libcamera: framebuffer: Allow inheritance of FrameBuffer
|
||||
* libcamera: Remove transform from V4L2SubdeviceFormat
|
||||
* pipeline: raspberrypi: Drop unused code
|
||||
* pipeline: ipu3: Drop unused code
|
||||
* libcamera: camera_sensor: Fix typo in comment
|
||||
* libcamera: camera_sensor: Demote flip support message to Debug
|
||||
* libcamera: internal: tracepoints: Use correct include directive
|
||||
* ipa: raspberrypi: Normalise region sums to 16-bits
|
||||
* ipa: raspberrypi: Use the generic statistics structure in the algorithms
|
||||
* ipa: raspberrypi: awb: Delay release of the statistics buffer
|
||||
* ipa: raspberrypi: histogram: Add a constructor for an empty histogram
|
||||
* ipa: raspberrypi: Generalise statistics
|
||||
- Drop silent-Werror_dangling-reference.patch: fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 13 08:48:30 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: libcamera
|
||||
version: 0.0.4
|
||||
mtime: 1675212256
|
||||
commit: 6cf637eb253a68edebe59505bea55435fafb00cd
|
||||
version: 0.1.0
|
||||
mtime: 1689507961
|
||||
commit: 668a5e674aed65b8982b449b4bed58ff7e3e1413
|
||||
|
@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libcamera0_0_4
|
||||
%define lname_base libcamera-base0_0_4
|
||||
%define lname libcamera0_1
|
||||
%define lname_base libcamera-base0_1
|
||||
Name: libcamera
|
||||
Version: 0.0.4
|
||||
Version: 0.1.0
|
||||
Release: 0
|
||||
Summary: A complex camera support library in C++
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
@ -28,7 +28,6 @@ URL: http://libcamera.org/
|
||||
|
||||
Source: %name-%version.tar.xz
|
||||
Source1: baselibs.conf
|
||||
Patch0: silent-Werror_dangling-reference.patch
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: c++_compiler
|
||||
|
@ -1,21 +0,0 @@
|
||||
diff --git a/src/apps/cam/file_sink.cpp b/src/apps/cam/file_sink.cpp
|
||||
index b32aad24..9a543dc1 100644
|
||||
--- a/src/apps/cam/file_sink.cpp
|
||||
+++ b/src/apps/cam/file_sink.cpp
|
||||
@@ -114,7 +114,16 @@ void FileSink::writeBuffer(const Stream *stream, FrameBuffer *buffer,
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < buffer->planes().size(); ++i) {
|
||||
+
|
||||
+#if __GNUC__ >= 13
|
||||
+#pragma GCC diagnostic push
|
||||
+#pragma GCC diagnostic ignored "-Wdangling-reference"
|
||||
+#endif
|
||||
+
|
||||
const FrameMetadata::Plane &meta = buffer->metadata().planes()[i];
|
||||
+#if __GNUC__ >= 13
|
||||
+#pragma GCC diagnostic pop
|
||||
+#endif
|
||||
|
||||
Span<uint8_t> data = image->data(i);
|
||||
unsigned int length = std::min<unsigned int>(meta.bytesused, data.size());
|
Loading…
Reference in New Issue
Block a user