Commit Graph

238 Commits

Author SHA1 Message Date
Yassine Oudjana 020846a3b8
zbar_pipeline: Add support for 10-bit packed format processing 2022-06-21 14:28:55 +02:00
Yassine Oudjana e6ec27e18c
Add mplanes to mp_camera_release_buffer 2022-06-21 14:28:54 +02:00
Benjamin Schaaf 908f31d5b8
Possible fix for mplane support 2022-06-21 14:28:54 +02:00
Benjamin Schaaf 5a82c5e2da
Improve megapixels-list-devices 2022-06-21 14:28:53 +02:00
Pablo Correa Gómez 7fe74ec7e4
Update website URL in About dialog 2022-06-21 14:28:52 +02:00
Pablo Correa Gómez 4160cd3f6b
Set parent window in About dialog
Fixes dialog text not always fitting in screen. Additionally,
the dialog is now centered instead of appearing at the bottom
of the screen.
2022-06-21 14:28:51 +02:00
Pablo Correa Gómez b4836b6e06
Add standard categories to desktop file
The Photography category is probably an obvious one[1].
For the main category, I think Graphics fits better than Office

[1] https://specifications.freedesktop.org/menu-spec/latest/apas02.html
2022-06-21 14:28:51 +02:00
Alexey Andreyev 6296596329
Fix minor typo in README.md
media-ctl not media-tcl
2022-06-21 14:28:50 +02:00
Benjamin Schaaf d47f80a4cb
Release 1.4.3 2022-06-21 14:28:49 +02:00
Benjamin Schaaf 6e34b5b419
Disable flash by default
The current flash implementation isn't great so should be disabled by
default for now.
2022-06-21 14:28:48 +02:00
Benjamin Schaaf d1b647474c
Fix formatting 2022-06-21 14:28:48 +02:00
Benjamin Schaaf e9c1eeaa40
Fix GVariant leak when display config is changed, ie. device is rotated 2022-06-21 14:28:47 +02:00
Guido Günther 86f50c20f2
flash: Fix GVariant leaks
All functions used there are transfer: full but only two of
them were freed.
2022-06-21 14:28:46 +02:00
Guido Günther 69df649080
Avoid g_error_free
Rely on g_autoptr() instead. This avoids having to free the
error.
2022-06-21 14:28:45 +02:00
Benjamin Schaaf 6075ce1335
Release 1.4.2 2022-06-21 14:28:45 +02:00
Benjamin Schaaf e64b4e981a
Fix incorrectly freeing GError 2022-06-21 14:28:44 +02:00
Oliver Smith e9a12fd6e4
README: update "Developing" section 2022-06-21 14:28:43 +02:00
Oliver Smith c2aacd8a45
Release 1.4.1 2022-06-21 14:28:42 +02:00
Guido Günther 12d0a7cc60
data: Add StartupNotify to desktop file (MR 2)
As a GTK app it supports startup notifications just fine and this allows
phosh to show a proper splash screen while megapixels is starting.

Reference: https://developer-old.gnome.org/integration-guide/stable/startup-notification.html.en
2022-06-21 14:28:42 +02:00
Benjamin Schaaf 16cc614cdc
Release 1.4.0 2022-06-21 14:28:41 +02:00
Benjamin Schaaf f550d431c4
Make clang-format more aggressive
clang-format always manages to mix spaces into tab-based indentation.
Since we already require an exact tab-width of 8 it makes more sense to
use spaces.
2022-06-21 14:28:40 +02:00
Benjamin Schaaf 3e1a289565
Add clang-format as part of CI 2022-06-21 14:28:39 +02:00
Benjamin Schaaf 11b8e8600c
Hide flash button when flash not available 2022-06-21 14:28:39 +02:00
Benjamin Schaaf 768e9514c8
Set brightness to 100% when using display flash 2022-06-21 14:28:38 +02:00
Benjamin Schaaf fff56c03cc
Implement flash
Fixes #5
2022-06-21 14:28:37 +02:00
Benjamin Schaaf ae6d4e2485
Fix compiler warning 2022-06-21 14:28:36 +02:00
Sebastian Krzyszkowiak d6df1458fc
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.
2022-06-21 14:28:36 +02:00
Sebastian Krzyszkowiak 363a1a0c39
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.
2022-06-21 14:28:35 +02:00
Benjamin Schaaf a3da4ae081
Fix memory leak when rotating device 2022-06-21 14:28:34 +02:00
Benjamin Schaaf 6fa41cf4d7
Release 1.3.2 2022-06-21 14:28:33 +02:00
Benjamin Schaaf a83342969d
Fix assertion failure on consecutive pictures
Fixes #23
2022-06-21 14:28:32 +02:00
Benjamin Schaaf 4dc9fea238
Release 1.3.1
* Fix memory leak
2022-06-21 14:28:32 +02:00
Benjamin Schaaf 02f129288d
Use gitlab for CI 2022-06-21 14:28:31 +02:00
David Hedberg 83d611e8ed
Fix an off-by-one error and a memory leak 2022-06-21 14:28:30 +02:00
Martijn Braam d412721222
Repo move 2021-11-08 14:29:43 +01: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