Commit Graph

69 Commits

Author SHA1 Message Date
Pavel Machek
c9dceb170b Hack: we have data from debayer -- square -- but yuv uses block of
four pixels -- YUYV.
2024-05-06 22:11:42 +02:00
Pavel Machek
875cd8dfcd fixme: naming in debayer is confusing. 2024-05-06 22:11:10 +02:00
Pavel Machek
1c9202c4cf Add support for short movies
Short movies can now be recorded (~30 seconds, depending on disk
space), with audio. New button is added, for that, depending on state
it shows "Rec" (you can record), "Stop" (you are recording) and "Busy"
(movie is being converted).
2024-04-30 18:09:42 +00:00
Martijn Braam
003c4d04e8 Change style of control icons 2024-04-13 02:36:28 +02:00
Martijn Braam
421c4afdfa Show user-visible error when no camera is available. 2024-04-13 01:53:42 +02:00
Martijn Braam
07d428178c Implement YUV sources in postprocess.sh 2024-01-18 14:38:16 +01:00
Martijn Braam
8ca9028d45 Change app-id to me.gapixels.Megapixels 2023-12-02 12:30:06 +01:00
Martijn Braam
9d189b88b4 Support rendering YUV formatted frames 2023-11-26 14:19:29 +01:00
Martijn Braam
a6de61f475 Implement whitebalance 2023-08-16 14:45:57 +02:00
Martijn Braam
d13cdd5dcb Add color correction to the gles shader 2023-07-27 00:54:33 +02:00
Martijn Braam
e9681e1eea Use calibration for preview 2023-07-23 16:29:59 +02:00
Martijn Braam
6e3f592b08 Fix shader syntax error 2023-07-22 17:55:47 +02:00
Martijn Braam
128a3696c4 Add a switch between SRGB and linear colors in the debayer shader 2023-07-22 16:29:23 +02:00
Oliver Smith
92f5270f87 Bump version to 1.6.1 2023-05-30 09:08:56 +02:00
Martijn Braam
dac8c83457 Bump version to 1.6.0 2023-02-02 13:59:00 +01:00
Guido Günther
9cb23ee076 Allow to toggle shutter sound on/off (MR 24) 2022-10-20 12:28:39 +02:00
Guido Günther
5dd2ce30d0 data: Make feedback support detectable for phosh (MR 24)
Settings apps that allow to tweak feedback per app need a way to detect
if the app supports this. For phosh this happens via
`X-Phosh-UsesFeedback` in the desktop file and results in the app
showing up in the notification settings¹.

1) https://gitlab.gnome.org/guidog/phosh-mobile-settings/-/raw/main/screenshots/feedback.png
2022-10-20 12:28:19 +02:00
Guido Günther
aa6aca4765 ui: Use heading style for setting descrption (MR 24) 2022-10-14 09:53:31 +02:00
Martijn Braam
8df79054c3 Bump version to 1.5.2 2022-06-29 13:47:47 +02:00
Martijn Braam
894e090b1c Bump version to 1.5.1 2022-06-27 15:45:53 +02:00
Martijn Braam
7a14333ffc Update metadata for 1.5.0 2022-06-27 14:13:30 +02:00
Martijn Braam
ee26b8e6f7 Add postprocessor setting dropdown (MR 18) 2022-06-24 15:38:56 +02:00
Martijn Braam
46b07c6c4d Move postprocessor script to a gsetting (MR 18) 2022-06-24 14:38:11 +02:00
Yassine Oudjana
81859e54e7 Crop out padding on preview processing (MR 13) 2022-06-21 17:31:21 +02:00
Yassine Oudjana
212e75ed3c Add debayering support for all bayer CFAs 2022-01-31 16:58:58 +04:00
Yassine Oudjana
c16dbf6810 Add support for BGGR10P debayering 2022-01-31 16:55:41 +04:00
Pablo Correa Gómez
ab2f787876 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
2021-12-16 12:48:48 +01:00
Benjamin Schaaf
c0e76da4b7 Release 1.4.3 2021-12-13 23:04:07 +11:00
Benjamin Schaaf
e494302cdc Disable flash by default
The current flash implementation isn't great so should be disabled by
default for now.
2021-12-13 22:58:53 +11:00
Benjamin Schaaf
34885afac0 Release 1.4.2 2021-11-17 00:08:27 +11:00
Oliver Smith
e86a1519cb Release 1.4.1 2021-11-14 15:17:30 +01:00
Guido Günther
d9866f6029 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
2021-11-14 13:06:59 +01:00
Benjamin Schaaf
41110321da Release 1.4.0 2021-11-13 00:14:18 +11:00
Benjamin Schaaf
772db36877 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.
2021-11-13 00:06:11 +11:00
Benjamin Schaaf
a92104e27c Add clang-format as part of CI 2021-11-12 21:47:34 +11:00
Benjamin Schaaf
24835cdc25 Implement flash
Fixes #5
2021-11-12 18:29:34 +11:00
Benjamin Schaaf
05d6c3fa6d Release 1.3.2 2021-11-10 23:21:57 +11:00
Benjamin Schaaf
16e9bff190 Release 1.3.1
* Fix memory leak
2021-11-10 20:36:55 +11:00
Martijn Braam
fa5cbb5d9b Bump to 1.3.0 2021-09-10 03:39:03 +02:00
Martijn Braam
85819660a7 postprocess: Add sigmoidal contrast to imagemagick postprocessing 2021-09-10 02:48:34 +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
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
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
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
Benjamin Schaaf
b22053dadb UI rotation follows device 2021-05-04 00:34:52 +10:00