Kamil Trzcinski
3c116f2307
device: some v4l2 cameras do not accept parameters unless streaming
...
This fixes 3DO camera not accepting `--camera-options=focus_absolute=100`
and `--camera-options=focus_automatic_continuous=0`, and not properly
configuring the sensor.
The settings are applied twice (if failed) to ignore ordering problems
related to auto-focus and focus-absolute value command line order.
2023-11-20 21:28:31 +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
9db8ba5fa5
device: fix compiler bugs
2023-03-03 00:28:48 +01:00
Kamil Trzcinski
6c14564e75
device: check hw methods being present
2023-02-24 19:59:54 +01:00
Kamil Trzcinski
b1c6fb33ec
device: remove device_consume_event
and device_set_decoder_start
2023-02-24 00:07:24 +01:00
Kamil Trzcinski
86e89a6291
device: add helpers for count enqueued
2023-02-24 00:07:19 +01:00
Kamil Trzcinski
21ce78a277
camera: improve FPS handling
2023-02-23 19:17:07 +01:00
Kamil Trzcinski
aafd120af3
libcamera: support Rectangle
and Size
types
...
Fixes: https://github.com/ayufan/camera-streamer/issues/28
Replaces: https://github.com/ayufan/camera-streamer/pull/30
2023-02-22 18:07:27 +01:00
Kamil Trzcinski
2e9718fea7
device: make device_open_buffer_list_capture
to use buffer_format_t
2023-02-22 17:32:46 +01:00
Kamil Trzcinski
0c244a61c8
Pass sizeimage
to ensure that allocated buffers are of a correct size
2023-02-22 17:32:46 +01:00
Kamil Trzciński
ca08adb62f
Add -snapshot.height
, -stream.height
and -video.height
2023-02-22 17:32:46 +01:00
Kamil Trzcinski
f5726fc9b2
Move opts/
into util/opts/
2022-09-02 22:00:01 +02:00
Kamil Trzcinski
a9c65fae0d
Allow to set -camera-vflip
and -camera-hflip
2022-08-24 17:48:55 +02:00
Kamil Trzcinski
6460d1b902
Emit options of all devices
2022-07-08 12:20:09 +02:00
Kamil Trzcinski
b4668aa320
Output all properties and options
2022-07-08 12:12:30 +02:00
Kamil Trzcinski
9c7f5fed12
Enable -Wall
2022-04-14 10:13:44 +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
d7c263bae9
Remove dependency on output_list
and capture_list
to create a pipeline
2022-04-11 21:50:48 +02:00
Kamil Trzcinski
4497c91ae8
Make buffer_list_t *device_open_buffer_list_capture
2022-04-11 21:09:30 +02:00
Kamil Trzcinski
cde6185963
Make buffer_list_t *device_open_buffer_list_output
2022-04-11 21:07:04 +02:00
Kamil Trzcinski
d4b18aac2a
Make buffer_list_t *device_open_buffer_list
to return buffer_list
2022-04-11 20:58:30 +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
6ce5b5ce4a
Add device->opts.allow_dma
2022-04-11 16:28:36 +02:00
Kamil Trzcinski
ae12963c6e
Update logs
2022-04-11 13:52:46 +02:00
Kamil Trzcinski
95c7b06e1e
Move int nbufs
into buffer_list_open
2022-04-11 09:28:05 +02:00
Kamil Trzcinski
f5a6e4ceab
Rename buf_list->device
to buf_list->dev
2022-04-11 09:01:15 +02:00
Kamil Trzcinski
4a345ed048
Create private data for buffer_list_v4l2_t
2022-04-10 16:03:55 +02:00
Kamil Trzcinski
5760f5fbac
Add device_v4l2_t
(private data)
2022-04-10 15:49:41 +02:00
Kamil Trzcinski
cae3087116
Optimise usage of videodev2.h
header
2022-04-10 14:41:00 +02:00
Kamil Trzcinski
ec50191992
Move dev->fd
to dev->v4l2.dev_fd
2022-04-10 12:02:54 +02:00
Kamil Trzcinski
ce439fc1ee
Move dev->subdev_fd
to dev->v4l2.subdev_fd
2022-04-10 12:01:30 +02:00
Kamil Trzcinski
645f4a6f33
Move device/hw/device.h
to device/device.h
2022-04-10 11:59:48 +02:00