43 Commits

Author SHA1 Message Date
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
bbb1b32e08 Revert "debug: add more logs for VIDIOC_QBUF"
This reverts commit 5a3085a2f63c7ede601841fd42c602e697ad4662.
2023-03-06 10:08:04 +01:00
Kamil Trzcinski
9c3414a653 links: restart if not enqueued for too long 2023-02-26 20:47:25 +01:00
Kamil Trzcinski
5a3085a2f6 debug: add more logs for VIDIOC_QBUF 2023-02-25 00:13:56 +01:00
Kamil Trzcinski
49c7d01789 buffer: if last buffer is discovered restart streaming 2023-02-24 19:59:56 +01:00
Kamil Trzcinski
53bfdcfedf decoder: improve support for rescaller to prefer NV12 2023-02-24 00:08:37 +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
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
MK3S+ Printer
ec2ed5e392 Fix top bar for H264 stream 2022-10-29 11:10:49 +02:00
Kamil Trzcinski
0a37c63d00 Enumerate v4l2 devices 2022-09-03 10:21:46 +02:00
Kamil Trzcinski
f5726fc9b2 Move opts/ into util/opts/ 2022-09-02 22:00:01 +02:00
Kamil Trzcinski
883a951cea Expose options for v4l2 2022-07-08 12:41:08 +02:00
Kamil Trzcinski
9c7f5fed12 Enable -Wall 2022-04-14 10:13:44 +02:00
Kamil Trzcinski
ae18e06098 Fail on wrong resolution 2022-04-12 10:05:03 +02:00
Kamil Trzcinski
b9fd63154c Improve regular messages 2022-04-12 08:51: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
753e9d4255 Clone dev->dev_fd to provide buf_list->dev_fd 2022-04-11 19:00:06 +02:00
Kamil Trzcinski
b15d5b28af Improve supported formats 2022-04-11 16:15:06 +02:00
Kamil Trzcinski
ae12963c6e Update logs 2022-04-11 13:52:46 +02:00
Kamil Trzcinski
7c56fa2813 Improve controls handling (preload) 2022-04-11 13:00:45 +02:00
Kamil Trzcinski
8adcd67569 Allow to configure controls 2022-04-11 12:42:17 +02:00
Kamil Trzcinski
d5571f095d Move queueing buffer message into device/buffer_queue.c 2022-04-11 10:05:38 +02:00
Kamil Trzcinski
95c7b06e1e Move int nbufs into buffer_list_open 2022-04-11 09:28:05 +02:00
Kamil Trzcinski
2ec7347b26 Set mpad for buffer_list on capture 2022-04-11 09:23:17 +02:00
Kamil Trzcinski
f5a6e4ceab Rename buf_list->device to buf_list->dev 2022-04-11 09:01:15 +02:00
Kamil Trzcinski
f6309fa3b3 Add buffer_v4l2_t 2022-04-10 16:05:58 +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
b21ddd2519 Fix support for keyframes 2022-04-10 14:29:22 +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
Kamil Trzcinski
09c2f6e595 Move remaining device methods 2022-04-10 11:58:59 +02:00
Kamil Trzcinski
33b7062bf1 Make device/buffer_list* be generic 2022-04-10 11:24:25 +02:00
Kamil Trzcinski
fd2f19270c Move device/hw/buffer.c to device/buffer.c 2022-04-10 11:11:50 +02:00
Kamil Trzcinski
20c48607c5 Make buffer handling to be made via device/v4l2 2022-04-10 11:09:42 +02:00
Kamil Trzcinski
4d01c86398 Get rid of v4l2_buffer/v4l2_plane from buffer_t 2022-04-10 10:37:52 +02:00
Kamil Trzcinski
4746484844 Make bufer_list to be more v4l2-less 2022-04-10 09:57:23 +02:00
Kamil Trzcinski
76f35f37c8 Add device_hw_t and device_v4l2_open 2022-04-10 09:54:02 +02:00