59 Commits

Author SHA1 Message Date
Kamil Trzcinski
53bfdcfedf decoder: improve support for rescaller to prefer NV12 2023-02-24 00:08:37 +01:00
Kamil Trzcinski
c139a13ec2 camera: add camera_get_scaled_resolution 2023-02-24 00:07:57 +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
Kamil Trzcinski
529d72b105 libcamera: configure RAW to force correct resolution 2023-02-22 23:04:39 +01:00
Kamil Trzcinski
10545b6b7a camera: match resolutions close to 32x32 blocks (when re-using) 2023-02-22 21:49:06 +01:00
Kamil Trzcinski
72dfc2e731 camera: limit max rescaller size to 1920 (default for Raspi) 2023-02-22 17:32:47 +01:00
Kamil Trzcinski
3bc447c772 camera: add support for V4L2_PIX_FMT_SBGGR10P 2023-02-22 17:32:47 +01:00
Kamil Trzcinski
c9600d1253 device: allow to use dummy as a way to test streamer
This adds loopback tests via `tests/`
2023-02-22 17:32:47 +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
168181afa5 camera: find device handling the format by format order 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
MK3S+ Printer
f0d16f491c Add CAMERA_DECODER_DEBUG to capture debug output of capture into /tmp 2022-10-29 11:10:36 +02:00
MK3S+ Printer
8359362204 Improve decoder selected formats to choose ones with best quality first 2022-10-29 11:10:16 +02:00
Kamil Trzcinski
6bdb33ff3a Fix buffer leakage on camera reconnect 2022-10-25 16:37:30 +02:00
Kamil Trzcinski
6eaaa57d0b Do not use ISP to produce concurrently low resolution 2022-09-04 20:30:27 +02:00
Kamil Trzcinski
5031cd99f6 Register buffer_lock as a global output 2022-09-04 20:30:26 +02:00
Kamil Trzcinski
0a37c63d00 Enumerate v4l2 devices 2022-09-03 10:21:46 +02:00
Kamil Trzcinski
dd3aa47805 Move http/ and rtsp/ into output/ 2022-09-02 22:06:19 +02:00
Kamil Trzcinski
17ec167dd9 Move part of http/ into util/http/ 2022-09-02 22:02:41 +02:00
Kamil Trzcinski
f5726fc9b2 Move opts/ into util/opts/ 2022-09-02 22:00:01 +02:00
Kamil Trzcinski
d430d68fc7 Improve RTSP support to configure port and expose low res stream 2022-08-27 20:38:15 +02:00
Kamil Trzcinski
d49169070a Add RTSP support via live555 2022-08-25 17:16:24 +02:00
Kamil Trzcinski
a9c65fae0d Allow to set -camera-vflip and -camera-hflip 2022-08-24 17:48:55 +02:00
Kamil Trzcinski
4e641dea1e Open default camera of a given type 2022-07-12 21:59:02 +02:00
Kamil Trzcinski
1857cd8d77 Improve options handling 2022-07-12 21:49:49 +02:00
Kamil Trzcinski
9051518082 Better print available cameras 2022-07-08 10:54:18 +02:00
Kamil Trzcinski
1f5262afd8 Add -camera-auto-focus option 2022-07-07 12:08:56 +02:00
Kamil Trzcinski
4eaa42f1ea Add Af-Trigger 2022-07-05 12:05:17 +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
ddca582551 Automatically reconnect 2022-04-12 09:23:46 +02:00
Kamil Trzcinski
a1c974c9be Remove camera_legacy_isp.c 2022-04-12 09:18:40 +02:00
Kamil Trzcinski
04bf3a2442 Optimize decoder 2022-04-12 09:17:56 +02:00
Kamil Trzcinski
5ab25f435a Improve how options are handled 2022-04-12 08:59:04 +02:00
Kamil Trzcinski
887b88fdda Print links pipeline (for informational purposes) 2022-04-12 08:49:19 +02:00
Kamil Trzcinski
d688f7127f Support all rescaling aspects 2022-04-12 01:01:06 +02:00
Kamil Trzcinski
5160bdeb3d Use legacy isp to rescale outputs 2022-04-12 00:38:27 +02:00
Kamil Trzcinski
80b69bd3eb Rework links handling to create a complete pipeline 2022-04-12 00:33:24 +02:00
Kamil Trzcinski
a4d6f35004 Get rid of pipeline 2022-04-11 22:06: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
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
fb400f3139 Fix libcamera resolution handling 2022-04-11 16:49:21 +02:00
Kamil Trzcinski
facd1fa41e Pass expected output width 2022-04-11 16:32:05 +02:00