Commit Graph

204 Commits

Author SHA1 Message Date
Benjamin Schaaf f1947f134e Rework pipeline to allow for DMA support
The process pipeline is now tasked with releasing the camera buffer,
rather than being given a copy. This enables being able to avoid the
copy in the future if it has a performance advantage.
2021-04-08 19:56:51 +10:00
Martijn Braam a3c8b280f2 Made the QR outline more visible 2021-03-26 22:58:47 +01:00
Martijn Braam 721f943da9 Trigger capture with spacebar 2021-03-26 22:47:00 +01:00
Maarten van Gompel ea20aa26fb
Implementing fallbacks when special dirs don't behave as expected #44
This solves https://todo.sr.ht/~martijnbraam/Megapixels/44 , seems need
in sxmo (at least for me).
2021-03-26 01:21:56 +01:00
Benjamin Schaaf 867b0c9bef
Use glib to check for a valid URI in bar codes
Fixes #46
2021-03-26 01:20:13 +01:00
Benjamin Schaaf af641f2a63
Fix memory leak 2021-03-26 01:14:03 +01:00
Martijn Braam cfba98593c
Fix bash-ism in postprocess.sh 2021-03-26 01:07:13 +01:00
Martijn Braam 30a7bd77be
Update chatroom info 2021-02-21 22:40:13 +01:00
Martijn Braam a9ceaaa609
Add zbar dep to CI 2021-02-21 17:35:20 +01:00
Martijn Braam 36193243f5
Fix qr segfault and support gemini urls 2021-02-21 17:32:53 +01:00
Benjamin Schaaf a9d01640bd
Add bar code scanning using zbar
Fixes #41
2021-02-21 16:26:00 +01:00
Martijn Braam 8867b41a7a
Support graphicsmagick as alternative to imagemagick 2021-02-21 16:19:47 +01:00
Martijn Braam 349d2c5ad4 Added IRC address to the README 2021-01-11 17:39:03 +01:00
Martijn Braam c89aba22ac Better error messages for open() 2021-01-11 17:15:20 +01:00
Martijn Braam d0601dd234 Updated metainfo for 0.14 2021-01-11 17:05:53 +01:00
Benjamin Schaaf cc21f1b538 Use XDG special directory instead of hard-coding ~/Pictures
Fixes #22
2021-01-11 16:59:09 +01:00
Martijn Braam d140e44d73 Fix path for the generated picture and improve error message 2021-01-11 16:43:48 +01:00
Benjamin Schaaf 3f8ee6227f Move thumbnail generation to processing pipeline
This ensures the thumbnail is properly created from the captured frame
instead of whatever the current preview is when the post-processing
finishes.
2021-01-06 23:24:05 +11:00
Benjamin Schaaf 21547ed210 Show spinner while capturing and processing an image 2021-01-06 19:12:43 +11:00
Benjamin Schaaf 153d8c93e2 Wait for postprocess process to complete before updating preview
Fixes #27
Fixes #28
2021-01-06 19:12:11 +11:00
Martijn Braam 52e2fdcbd0
Added repository to sources for CI 2020-12-30 00:39:01 +01:00
Martijn Braam 3d1dcebc8c Update metainfo for 0.13.2 2020-12-23 00:45:04 +01:00
Martijn Braam edd1de7a9e Add meson option for the tiff cfa pattern bug 2020-12-22 17:13:36 +01:00
Martijn Braam 684a81e546 Fix libtiff 4.2 incompatability 2020-12-22 16:05:06 +01:00
Martijn Braam 1025cfe8c1 Drop support for HDR+ stacker
The current HDR stacker is incredibly buggy and was only
added so it can be quickly be tested by building/installing it
locally. Some distributions have actually packaged this buggy mess
and made it a dependency of megapixes meaning the whole experience
is broken for users.

This drops support for trying to use stack_frames by default so
hdr-plus being installed for users doesn't break/corrupt photos.
2020-12-22 15:27:37 +01:00
Michal Ciesielski 29ad14c78b Read slider value when changing from auto to manual
The user might have moved the slider while in Auto. When exiting Auto
mode the value and the slider will be desynced. This change syncs the
value with the slider position when entering Manual mode.
2020-12-22 15:19:22 +01:00
Martijn Braam cd1d030886 Update metainfo for 0.13.1 2020-12-06 17:46:07 +01:00
Martijn Braam 98aa9e385c Update camera rates to improve latency and quality 2020-12-06 17:44:35 +01:00
Martijn Braam 3d4eabe8e8 Update changelog in metainfo 2020-12-06 16:23:39 +01:00
Martijn Braam b8842ae7e8 Added back srgb curve 2020-12-06 16:13:18 +01:00
Martijn Braam 4df62aa21e More codestyle 2020-12-06 16:03:25 +01:00
Martijn Braam 5703ecc786 Fix help message in camera test 2020-12-06 15:49:15 +01:00
Martijn Braam e595b6f4e2 Also install tools 2020-12-06 15:48:04 +01:00
Martijn Braam 72105c9491 Code style 2020-12-06 15:44:31 +01:00
Martijn Braam 101abe33cd Add editorconfig 2020-12-06 15:26:01 +01:00
Martijn Braam 08520e6e6c Use the proper color matrix for preview 2020-12-06 15:22:53 +01:00
Martijn Braam 7665f5d85b Use MPLANE buffers for MPLANE cameras 2020-11-28 19:19:12 +01:00
Martijn Braam 3cc9c9b867 Find interface entity by type 2020-11-28 18:57:11 +01:00
Martijn Braam 26f0d561cd Fixed typos in error messages 2020-11-28 18:47:45 +01:00
Martijn Braam 493a228f7d Run unit tests in CI 2020-11-28 16:25:51 +01:00
Martijn Braam c591e60ebd Add black background behind preview 2020-11-28 16:21:32 +01:00
Benjamin Schaaf 0a8a0b1cff Update configs 2020-11-28 01:23:17 +11:00
Benjamin Schaaf b12021d8f5 Update source code overview in README 2020-11-28 01:07:49 +11:00
Benjamin Schaaf 2133a087d5 Fix opening captured image not working 2020-11-28 00:52:13 +11:00
Benjamin Schaaf fe18201094 Don't log an error when camera query control fails 2020-11-28 00:51:19 +11:00
Benjamin Schaaf 065bbcb7e5 Make thumbnail work 2020-11-28 00:40:34 +11:00
Benjamin Schaaf 17ade28f02 Fix controls not working 2020-11-28 00:16:46 +11:00
Benjamin Schaaf 95414adf8d Use new control APIs for io pipeline 2020-11-28 00:03:57 +11:00
Benjamin Schaaf 8eb8441123 Add control enumeration 2020-11-28 00:03:39 +11:00
Benjamin Schaaf e6deb1cfe7 Remove debug logging 2020-11-26 22:46:22 +11:00