Commit Graph

180 Commits

Author SHA1 Message Date
Benjamin Schaaf 055ff6e266 Fix preview color 2021-05-04 23:40:45 +10:00
Martijn Braam e577872925
Updated metainfo for 1.0.0 2021-05-04 00:04:26 +02:00
Martijn Braam b0a513490e
Updated desktop file to no longer pass useless argument 2021-05-04 00:02:34 +02:00
Martijn Braam d32324208c Merge branch 'opengl' 2021-05-03 22:16:51 +02:00
Martijn Braam d27fbcc447 Revert "Use g_get_user_config_dir"
Reverting and re-applying after gtk4 switch

This reverts commit 5bceb2e931.
2021-05-03 22:16:29 +02:00
nwlyoc e17a516564 Copy data from QR code to default clipboard instead of primary selection clipbord because the latter is in no obvious way reachable inside Phosh. 2021-05-03 21:49:28 +02:00
Guido Günther 0046986e3e Use g_get_user_config_dir
Instead of opencoding rely on glib which handles XDG_CONFIG_HOME and
such. This also prevents xdg_config from leaking.
2021-05-03 21:45:12 +02:00
Martijn Braam 59dde6bb74 Fix crash on musl and clean up dependency 2021-05-03 18:57:08 +02:00
Benjamin Schaaf b22053dadb UI rotation follows device 2021-05-04 00:34:52 +10:00
Benjamin Schaaf 64b75bcbe5 Preview rotation follows device 2021-05-04 00:06:55 +10:00
Benjamin Schaaf 46bfb39dfd Cleanup 2021-05-01 23:36:31 +10:00
Benjamin Schaaf 8ccf1451ed Fix image capture 2021-05-01 21:32:32 +10:00
Benjamin Schaaf 70f8ddbada Improve preview positioning 2021-05-01 20:12:58 +10:00
Benjamin Schaaf 207aabf16a Add workaround for OV5640 capture mode not being set on first start after reboot 2021-05-01 19:57:15 +10:00
Guido Günther 5bceb2e931
Use g_get_user_config_dir
Instead of opencoding rely on glib which handles XDG_CONFIG_HOME and
such. This also prevents xdg_config from leaking.
2021-04-26 18:18:17 +02:00
Benjamin Schaaf 36b7b2b38d Fix gain and exposure being switched in io pipeline 2021-04-26 22:31:14 +10:00
Benjamin Schaaf d03d4b99e3 Make pressing the preview work again 2021-04-26 19:07:59 +10:00
Benjamin Schaaf 1bd975698c Average green samples for debayering
Gives a slightly cleaner image
2021-04-26 19:07:33 +10:00
Benjamin Schaaf 44fc390b99 Get zbar working again 2021-04-26 18:09:04 +10:00
Benjamin Schaaf f9e6576266 Progress on controls 2021-04-22 01:41:23 +10:00
Benjamin Schaaf ea0fd24cc8 More progress on GTK4 port 2021-04-20 23:50:26 +10:00
Benjamin Schaaf d42ee3e1c0 Progress on GTK4 port 2021-04-20 00:04:53 +10:00
Benjamin Schaaf 91817b167a Reorganization, replacing CPU debayering entirely 2021-04-18 23:13:56 +10:00
Benjamin Schaaf 337526e9b9 It works! 2021-04-15 23:14:20 +10:00
Benjamin Schaaf aa8b2409d9 Second pass at OpenGL debayering 2021-04-10 22:39:55 +10:00
Benjamin Schaaf 1ffaba5f7e First pass at OpenGL debayering 2021-04-09 22:57:14 +10:00
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