419 Commits

Author SHA1 Message Date
Kamil Trzcinski
42dbdb7345 cmd: add NV12 and NV21 formats support 2023-03-08 19:37:28 +01:00
Kamil Trzcinski
04dd8c926f debug: dump all buffers to path specified by CAMERA_DEBUG_CAPTURE 2023-03-08 19:37:28 +01:00
Kamil Trzcinski
dce3a388b0 debug: add Orange PI 4 LTS and RockPI 4 SE 2023-03-08 19:37:28 +01:00
Kamil Trzcinski
59977a55a9 debug: add dump cameras from raspi4 2023-03-08 19:37:28 +01:00
Kamil Trzcinski
22fc4d9bcd tools: improve dump_cameras.sh 2023-03-08 19:37:28 +01: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
b4fda62ea8 rtsp: enable non-truncated version 2023-03-03 21:25:50 +01:00
Kamil Trzcinski
305481b458 rtsp: use std::mutex instead of pthread 2023-03-03 19:59:32 +01:00
Kamil Trzcinski
43f2817442 rtsp: fix SIGSEGV 2023-03-03 17:41:38 +01:00
Kamil Trzcinski
9db8ba5fa5 device: fix compiler bugs 2023-03-03 00:28:48 +01:00
Kamil Trzcinski
edba5098d2 camera: improve resolution scaling for non-block camera inputs 2023-03-02 12:54:41 +01:00
Kamil Trzcinski
abacfe89ea rtsp: fix SIGSEGV 2023-03-02 00:56:11 +01:00
Kamil Trzcinski
65e3b17397 cmd: add and print --version on startup 2023-02-28 21:59:55 +01:00
Kamil Trzcinski
20ca08ffad camera: use CAMERA_DECODER_DEBUG to define output folder 2023-02-28 21:59:54 +01:00
Kamil Trzcinski
9c3414a653 links: restart if not enqueued for too long 2023-02-26 20:47:25 +01:00
Kamil Trzcinski
0344a231a9 tools: add a script to run all cameras at the same time for debugging purposes 2023-02-26 20:47:25 +01:00
Kamil Trzcinski
8f2361bc16 util: fix broken ioctl_retried improperly handling success condition 2023-02-26 19:28:49 +01:00
Kamil Trzcinski
81653d1edc libdatachannel: update to 0.17.12 2023-02-26 18:09:37 +01:00
Kamil Trzcinski
5a3085a2f6 debug: add more logs for VIDIOC_QBUF 2023-02-25 00:13:56 +01:00
Kamil Trzcinski
67a43e7bc9 buffer: queue all keyed packets 2023-02-24 22:22:00 +01:00
Kamil Trzcinski
19302b93d1 links: to avoid overrun limit amount of buffers enqueued on v4l2 2023-02-24 22:22:00 +01:00
Kamil Trzcinski
d57feb0359 links: enqueue and dequeue buffers in sync (output and capture) asynchronously 2023-02-24 22:22:00 +01:00
Kamil Trzcinski
34ff200ceb camera: add force_active option to make camera always hot 2023-02-24 22:20:36 +01:00
Kamil Trzcinski
6d30270b16 links: improve the implementation (simplify it) 2023-02-24 22:20:36 +01:00
Kamil Trzcinski
e4d5986e99 webrtc: request keyframe exactly once 2023-02-24 22:20:36 +01:00
Kamil Trzcinski
a8a3e4242b rtsp: request keyframe exactly once 2023-02-24 22:20:36 +01:00
Kamil Trzcinski
49c7d01789 buffer: if last buffer is discovered restart streaming 2023-02-24 19:59:56 +01:00
Kamil Trzcinski
6c14564e75 device: check hw methods being present 2023-02-24 19:59:54 +01:00
Kamil Trzcinski
27b93facc9 libcamera: add frame timeout 2023-02-24 19:59:54 +01:00
Kamil Trzcinski
f2ad561734 libcamera: find camera by partial match (if not found) 2023-02-24 19:59:53 +01:00
Kamil Trzcinski
cd7ab4c281 buffer_lock: Fix buffer lock checking for streaming 2023-02-24 19:59:52 +01:00
Kamil Trzcinski
f7f4eba9ca links: use n_output_lists for link_t 2023-02-24 19:59:51 +01:00
Kamil Trzcinski
17fc87a2d8 gitignore: ignore all .vscode/ files 2023-02-24 19:59:50 +01:00
Kamil Trzcinski
2413c7f4fc device: remove decoder_started 2023-02-24 19:59:46 +01:00
Kamil Trzcinski
6ce1869f71 camera: improve resolution scaling to avoid extra rescallers 2023-02-24 19:59:42 +01:00
Kamil Trzcinski
425bbe7745 links: remove link_validate_buffer 2023-02-24 11:40:46 +01:00
Kamil Trzcinski
456eec5847 links: rename buf_list to capture_list or output_list 2023-02-24 11:40:46 +01:00
Kamil Trzcinski
8042743e1a links: allow to log processing statistics 2023-02-24 11:30:26 +01:00
Kamil Trzcinski
8b3ed0b599 links: introduce link_pool_t 2023-02-24 11:27:07 +01:00
Kamil Trzcinski
7c375f70a6 links: rename source and sinks to capture_list and output_lists 2023-02-24 11:26:49 +01:00
Kamil Trzcinski
bf14b915eb links: remove unused global links_init and links_step 2023-02-24 00:26:44 +01:00
Kamil Trzcinski
53bfdcfedf decoder: improve support for rescaller to prefer NV12 2023-02-24 00:08:37 +01:00
Kamil Trzcinski
cdecb592b9 gitignore: ignore Procfile 2023-02-24 00:08:18 +01:00
Kamil Trzcinski
8992ae8f5b utils: improve ioctl retry 2023-02-24 00:08:13 +01:00
Kamil Trzcinski
c139a13ec2 camera: add camera_get_scaled_resolution 2023-02-24 00:07:57 +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
23491cef49 libcamera: dynamically add new configurations
device: add `buffer_type_t`
2023-02-23 19:17:11 +01:00
Kamil Trzcinski
21ce78a277 camera: improve FPS handling 2023-02-23 19:17:07 +01:00
Kamil Trzcinski
a24e100983 camera: fix output matches to find close-by resolutions 2023-02-23 19:16:11 +01:00