Commit Graph

410 Commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
35b212b11e process_pipeline: Don't store unspecified ISO values in metadata
When the camera config does not specify ISO range, all we get there
is garbage.
2021-11-10 21:26:48 +01:00
Sebastian Krzyszkowiak
c03fade3cd process_pipeline: Store a default whitelevel in the DNG file
This helps unpacked 10-bit formats, as otherwise applications
assume the image to be 16-bit because of TIFFTAG_BITSPERSAMPLE.
2021-11-10 21:26:48 +01:00
Benjamin Schaaf
05d6c3fa6d Release 1.3.2 2021-11-10 23:21:57 +11:00
Benjamin Schaaf
c78b2d66ca Fix assertion failure on consecutive pictures
Fixes #23
2021-11-10 23:15:00 +11:00
Benjamin Schaaf
16e9bff190 Release 1.3.1
* Fix memory leak
2021-11-10 20:36:55 +11:00
Benjamin Schaaf
df0e1c91ce Use gitlab for CI 2021-11-09 20:04:55 +11:00
David Hedberg
9ce07167dc Fix an off-by-one error and a memory leak 2021-11-09 18:43:36 +11:00
Martijn Braam
fa5cbb5d9b Bump to 1.3.0 2021-09-10 03:39:03 +02:00
Martijn Braam
7c218cddd3 Redesign data QR dialog 2021-09-10 03:34:30 +02:00
Martijn Braam
7d8404d895 Remove repetiton in the QR code message
As noted by ~ferenc, the message for QR code popups translates to
"QR-Code code" which doesn't look nice.
2021-09-10 02:52:23 +02:00
Martijn Braam
85819660a7 postprocess: Add sigmoidal contrast to imagemagick postprocessing 2021-09-10 02:48:34 +02:00
Martijn Braam
c584583d29 Update version number to 1.2.0 2021-07-30 18:14:42 +02:00
Martijn Braam
68bba0a8a5 Fix glib schemas 2021-07-30 18:14:28 +02:00
Guido Günther
561c10c612 data: Add X-Purism-FormFactor to desktop file
This allows shells like phosh to filter on form factor so
the app list isn't cluttered with applications that don't
fit the screen when not docked.

Reference: https://source.puri.sm/Librem5/phosh/-/merge_requests/639
2021-07-30 17:50:59 +02:00
WebFreak001
974fafc1d1 focus now only triggerable once in parallel 2021-07-30 17:48:20 +02:00
WebFreak001
7314739dfc free cameras on process exit 2021-07-30 17:48:19 +02:00
WebFreak001
ccbaaad72b keep track of bg tasks for clean up 2021-07-30 17:48:18 +02:00
WebFreak001
1282a75db9 run most camera control setting in background
makes trigger focus, continuous focus, autogain, gain ctrl, auto
exposure, exposure ctrl run in background to not block the UI thread.

The camera updates the image while this is in progress, so you can for
example see the camera live focus as on common other phones.
2021-07-30 17:48:17 +02:00
Martijn Braam
5ad97d03f6 Add save-dng setting 2021-06-14 00:32:55 +02:00
Martijn Braam
295476c3f6 Add about dialog 2021-06-13 23:23:13 +02:00
Martijn Braam
8e2c11d5e4 Disable matrices in preview
For some reason it looks work with the matrices, skipped for now
2021-06-13 21:43:41 +02:00
Martijn Braam
95cfc652c8 Matrix cleanup 2021-06-13 21:43:27 +02:00
Martijn Braam
3408d6262d Add debug function to print matrices 2021-06-13 21:30:53 +02:00
Martijn Braam
4cf16a54b4 Update CI for gtk4 2021-06-13 18:24:11 +02:00
Martijn Braam
7a3e470b29 Reverse the matrix and srgb conversion for the preview
The sRGB curve should be applied after the color matrices
2021-06-13 18:22:24 +02:00
Sebastian Krzyszkowiak
b29f04c05d process_pipeline: Drop unnecessary malloc 2021-06-13 17:01:58 +02:00
Sebastian Krzyszkowiak
9179b29f7c process_pipeline: Handle non-RAW8 images when saving DNG 2021-06-13 17:01:58 +02:00
Sebastian Krzyszkowiak
3691ece911 process_pipeline: Correctly set BlackLevel TIFF tag 2021-06-13 17:01:58 +02:00
Sebastian Krzyszkowiak
52cc52437e process_pipeline: Set the thumbnail row buffer to correct size
Otherwise it's saving 2*image->width bytes of uninitialized memory
image->height times into the DNG file.
2021-06-13 17:01:58 +02:00
Martijn Braam
4ca703d9cc Update README for 1.0.0 2021-05-04 22:22:27 +02:00
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