21 Commits

Author SHA1 Message Date
Ruslan Sayfutdinov
6deb9c513c
libcamera: fix bytesperline calculation for libcamera0.2 (#140)
For libcamera0.2 configuraiton.stride is already set to some incorrect value and configurations->validate() doesn't update it if it's not 0.

For libcamera0.1 it was set to 0. So set it to 0 manually to make sure configurations->validate() computes the correct value.
2024-03-08 08:30:59 +01:00
Kamil Trzcinski
bc231917d8 libcamera: support transform to orientation rename 2023-11-27 22:21:18 +01:00
Kamil Trzcinski
899f2c5e62 status: extend to provide all camera options and properties in JSON payload
- control: add `device_option_is_equal`
- libcamera: provide human readable configurable options
- v4l2: include camera control values
- libcamera: store all applied controls
- libcamera: use `device_option_is_equal`
2023-06-12 22:38:08 +02:00
Kamil Trzcinski
f742c1a7fc Fix camera-vflip/hflip support on arm32v7
This adds `buffer_list_alloc_buffers` and `buffer_list_free_buffers`
to delay buffers allocation for `libcamera`.

Doing this allows to setup RAW stream afterwards.
2023-04-29 10:21:52 +02:00
Kamil Trzcinski
23491cef49 libcamera: dynamically add new configurations
device: add `buffer_type_t`
2023-02-23 19:17:11 +01:00
Kamil Trzcinski
529d72b105 libcamera: configure RAW to force correct resolution 2023-02-22 23:04:39 +01:00
Kamil Trzcinski
e2e5762b2b libcamera: improve configuration management 2023-02-22 23:04:39 +01:00
Kamil Trzcinski
a9c65fae0d Allow to set -camera-vflip and -camera-hflip 2022-08-24 17:48:55 +02:00
Kamil Trzcinski
4e8e74c716 Fix dynamic setting of auto-focus 2022-07-07 11:37:36 +02:00
Kamil Trzcinski
07a46ee7cc Make libcamera to support some formats 2022-07-07 11:37:19 +02:00
Kamil Trzcinski
8dd470cb49 Make device to support composite devices (single output, many captures) 2022-04-11 22:02:22 +02:00
Kamil Trzcinski
5a9e871484 Introduce buffer_format_t and use it for buffer_list_open 2022-04-11 20:48:09 +02:00
Kamil Trzcinski
a3e8ef1e24 Make buffer_list_open to accept const char *path 2022-04-11 19:14:06 +02:00
Kamil Trzcinski
e69f707ef0 Fix frame rate 2022-04-11 17:07:35 +02:00
Kamil Trzcinski
ae12963c6e Update logs 2022-04-11 13:52:46 +02:00
Kamil Trzcinski
9eeee04560 Allow to disable libcamera 2022-04-11 10:55:54 +02:00
Kamil Trzcinski
aa0f7276bf Make libcamera to work? 2022-04-11 10:51:05 +02:00
Kamil Trzcinski
4783fe31a5 The libcamera starts 2022-04-11 10:01:18 +02:00
Kamil Trzcinski
95c7b06e1e Move int nbufs into buffer_list_open 2022-04-11 09:28:05 +02:00
Kamil Trzcinski
abb94b1e29 Fix libcamera compilation 2022-04-11 09:23:23 +02:00
Kamil Trzcinski
2e36ac9aed Add libcamera - dummy (for now) 2022-04-11 09:23:23 +02:00