70 Commits

Author SHA1 Message Date
dec641dc51 load_camera: initialize with calloc to avoid uninitialized reads
in particular: if a sensor can't be found, then camera->sensor_path is
unassigned. this would cause a segfault later, in libmegapixels_open.
2024-05-19 02:43:59 +00:00
db064d4eee config: fix syntax error in pinepone.conf 2024-05-18 23:54:44 +00:00
Kristian Vos
4da88c662b Improve PPP config, notably the preview mode for front camera 2024-05-11 19:44:09 +02:00
Martijn Braam
ef39de0c48 Add YUYV mode for the pinephone 2024-05-09 20:50:34 +00:00
Luis Garcia
e2ee7d2ac1 Fix ppp rear camera modes 2024-05-01 08:32:29 -06:00
Martijn Braam
3669b8a32a Fix getframe build in cmake 2024-04-27 18:54:38 +02:00
Martijn Braam
21fe3eb9ce Display actual camera index numbers in findconfig 2024-04-27 18:54:37 +02:00
Martijn Braam
d1f3ce6071 Fix camera index for UVC cameras 2024-04-27 18:54:37 +02:00
Kristian Vos
31699feee1 Set camera index in load_camera 2024-04-27 18:54:36 +02:00
Martijn Braam
92cad09b2c Force cmake to make a dummy config header 2024-04-27 18:38:56 +02:00
Kristian Vos
9efc806478 Add missing build steps/includes to allow changing SYSCONFDIR/DATADIR 2024-04-26 14:18:41 +02:00
Kristian Vos
82a7a2ed8f Fix rear camera pipeline, add front camera, add disabled front/rear camera modes for the future 2024-04-24 22:13:50 +00:00
Kristian Vos
0cb1061e1b Fix getframe saving empty file due to buf.bytesused always being 0 2024-04-24 22:13:50 +00:00
Kristian Vos
0f9d6ea6c4 Add a temporary fix to allow PPP to function despite rkisp1 driver bug 2024-04-24 22:13:50 +00:00
Kristian Vos
d6402cab36 Improve a few log messages 2024-04-24 22:13:50 +00:00
Kristian Vos
3d8ff4ea64 Fix optional, enabled links not being reset properly 2024-04-24 22:13:50 +00:00
Pavel Machek
4fee82901a Make conf file work with libconfig from Mobian. 2024-04-24 13:50:41 +02:00
Pavel Machek
9d13caa464 Report diagnostics from libconfig when parsing fails. 2024-04-24 13:50:06 +02:00
Martijn Braam
bd1ea477f8 Add a verbosity flag to getframe 2024-02-14 14:25:27 +01:00
Martijn Braam
2f369fbab1 Log error when the VIDIOC_SUBDEV_S_FMT call applies another mode than requested. 2024-02-14 01:32:09 +01:00
Martijn Braam
72aa1be491 Add the 2 missing YUV modes 2024-02-14 00:10:50 +01:00
Martijn Braam
f6686d7a5a Add linearity calibration tool 2024-01-24 19:36:24 +01:00
Martijn Braam
3eaf162515 Make parameters to the libmegapixels_aaa_set_matrix function consistent 2024-01-13 16:57:51 +01:00
Martijn Braam
ad0309d484 Add build documentation 2024-01-13 16:50:18 +01:00
Martijn Braam
502409f82f Add inline disclaimer to the header for the aaa exports 2024-01-13 16:31:29 +01:00
Martijn Braam
cf0c7f7846 Lower cmake minimal version 2024-01-13 16:31:29 +01:00
Martijn Braam
48320f4efc WIP AAA stuff 2024-01-13 16:31:29 +01:00
Martijn Braam
f766e71935 More documentation 2023-12-04 16:35:39 +01:00
Martijn Braam
89af026c8e Remove old doc folder 2023-12-04 14:07:38 +01:00
Martijn Braam
8406815c7c Add documentation generation 2023-12-03 14:30:46 +01:00
Martijn Braam
56abeeddf8 Add CI 2023-12-03 14:26:19 +01:00
Martijn Braam
92044e7233 Fix potential unitialized variable 2023-12-02 20:26:11 +01:00
Martijn Braam
c889483b9c Fix pixelformat for UVC cameras 2023-11-23 17:08:04 +01:00
Martijn Braam
ab81150c14 Display pixelformat in the findconfig utility 2023-11-23 17:01:30 +01:00
Martijn Braam
6593ef84e1 Add Xiaomi Scorpio config file 2023-11-14 14:25:14 +01:00
Martijn Braam
65c2918b52 Merge branch 'feature/findconfig-verbose' into 'master'
add verbose option to findconfig

See merge request megapixels-org/libmegapixels!1
2023-11-14 13:20:50 +00:00
Martijn Braam
a9724c1b01 add verbose option to findconfig 2023-11-14 03:31:58 +01:00
Martijn Braam
3985eee5f6 Output floats in the AAA code 2023-08-16 14:38:43 +02:00
Martijn Braam
0598d0e560 AAA improvements 2023-07-26 16:29:33 +02:00
Martijn Braam
8eb42d77e6 Add support for defining the transfer curve per mode 2023-07-22 16:38:39 +02:00
Martijn Braam
62f75fafcb Fetch the entity id for rate commands 2023-07-21 12:16:29 +02:00
Martijn Braam
9e6a58f7db Add AAA code to meson 2023-07-21 12:12:46 +02:00
Martijn Braam
9137d56ea6 Implement rate command 2023-07-20 22:50:43 +02:00
Martijn Braam
23ec7fd7e4 Add faster mode for the Librem 5 2023-07-20 22:38:21 +02:00
Martijn Braam
6fbb99a637 Import the millipixels AAA stats 2023-07-20 20:33:55 +02:00
Martijn Braam
84de134497 Fixed pixelformat for the PinePhone Pro 2023-07-19 00:11:33 +02:00
Martijn Braam
1f3831f85a Add config for the PinePhone Pro 2023-07-19 00:09:18 +02:00
Martijn Braam
1b47dd9053 Add crop and mplane support 2023-07-19 00:08:30 +02:00
Martijn Braam
a1778cbf37 Fix pinephone preview rotation 2023-07-12 15:48:09 +02:00
Martijn Braam
609955c484 Export CFA pattern as string 2023-07-12 15:47:44 +02:00