Commit Graph

276 Commits

Author SHA1 Message Date
Martijn Braam
ed8d390bfc Convert to sRGB for preview 2020-10-07 01:51:38 +02:00
Martijn Braam
985aa00fd2 Added subjectPrefix to README.md 2020-10-06 19:59:06 +02:00
Martijn Braam
bae5f5410a postprocess: fixed filename issue if stack_frames exists 2020-10-06 18:27:16 +02:00
Arnaud Ferraris
7f8b6520c6 postprocess: allow using dcraw_emu from Debian
As `dcraw_emu` is an example program, Debian doesn't install it to
`/usr/bin`, but to `/usr/lib/libraw` instead, meaning it can't be found
the usual way.

This patch checks for `/usr/lib/libraw/dcraw_emu` if `command` can't
find it. Additionnally, cascaded if's are replaced with if..elif
statements, so we stop searching as soon as a matching program
(preferably `dcraw_emu`) is found.
2020-10-06 18:19:09 +02:00
Arnaud Ferraris
1872efd3d9 postprocess: use the proper file extension when using dcraw
Instead of simply appending ".tiff" to the existing filename (like
`dcraw_emu` does), `dcraw` fully replaces the file extension, leading
`convert` to subsequently fail as it can't find the `.dng.tiff` file.
2020-10-06 18:19:09 +02:00
Arnaud Ferraris
019771402c postprocess: use POSIX-compliant redirections
Redirecting streams using `&>` is not POSIX-compliant. This causes some
shells (such as `dash`) to evaluate `if` conditions the wrong way.

Sticking to standard `>` redirection fixes this issue.
2020-10-06 18:19:09 +02:00
Arnaud Ferraris
e7d5da17cb main: use "C" locale for LC_NUMERIC
Some locales use ',' as decimal separator instead of '.', which is taken
into account by sscanf when parsing floating point values.

This can lead to parsing failures for the `colormatrix` and
`forwardmatrix` config options. Setting LC_NUMERIC to "C" solves this
problem.
2020-10-06 16:11:35 +02:00
Martijn Braam
8393a9a906 Seperate the control box better 2020-10-06 16:08:55 +02:00
Martijn Braam
bbec2094fb Use stack_frames from hdr-plus if installed 2020-10-05 17:46:30 +02:00
Martijn Braam
d55dc1f71c Workaround for dcraw missing denoise options 2020-10-03 23:06:19 +02:00
Martijn Braam
3a12e81688 Show shutter speed as angle 2020-10-03 22:00:14 +02:00
Martijn Braam
77d496a27a Implement correct gain handeling 2020-10-03 21:51:36 +02:00
Martijn Braam
0fb190dbc7 Retrieve camera state when disableing an auto control 2020-10-03 17:38:38 +02:00
Martijn Braam
5d872860f9 Implement manual controls 2020-10-03 17:05:10 +02:00
Martijn Braam
d891f44937 Draw controls over the preview 2020-10-03 14:40:41 +02:00
Martijn Braam
2eb486bf1d Added sharpening in post processing 2020-10-02 22:20:03 +02:00
Martijn Braam
b7d43be635 Fixed buffer overflow and postprocessing metadata 2020-10-02 21:08:09 +02:00
Martijn Braam
adc584ee1d Changed the PinePhone front camera resolution
The front camera performs a lot better at 1280x960 for some reason
2020-10-02 16:41:34 +02:00
Martijn Braam
908c677c1e Fix segfault on capture 2020-10-02 15:52:00 +02:00
Martijn Braam
123499092d Leak less memory 2020-10-02 14:09:17 +02:00
Martijn Braam
74ff1c5268 Trigger autofocus if the driver has it 2020-10-02 13:23:06 +02:00
Martijn Braam
3d66c10799 Updated config file documentation 2020-10-01 17:29:26 +02:00
Martijn Braam
8863133fe2 Implement external post processing 2020-10-01 17:25:24 +02:00
Martijn Braam
9cbebee116 Front camera metadata and auto exposure switch 2020-09-27 17:25:31 +02:00
Martijn Braam
cca7e6a823 Fixed corrupt last frame and metadata 2020-09-27 16:31:48 +02:00
Martijn Braam
ae1d73fa41 Write better EXIF data 2020-09-27 15:29:14 +02:00
Martijn Braam
2345c3bde2 Improve TIFF metadata 2020-09-26 23:46:11 +02:00
Martijn Braam
737f4fd1c5 Fixed dependencies for alpine CI 2020-09-26 23:33:00 +02:00
Martijn Braam
e70eebe34b Implement DNG raw burst capture 2020-09-26 23:30:15 +02:00
Martijn Braam
e713540974 Use symbolic icons 2020-09-24 15:55:09 +02:00
Martijn Braam
83c86ac45d Add button for last image and directory 2020-09-24 15:11:03 +02:00
Martijn Braam
09ed10d85f Made settings button work 2020-09-24 14:32:32 +02:00
Martijn Braam
b19b581837 Use android-y shutter button 2020-09-24 13:58:31 +02:00
Arnaud Ferraris
1c16171ff5 config: add PineTab config 2020-09-23 22:04:21 +02:00
Martijn Braam
4fb0a5b133 Change up config lookup and add documentation for it 2020-09-22 01:14:15 +02:00
Martijn Braam
02abe20fa3 Fix broken g_printerr call 2020-09-21 19:32:25 +02:00
Martijn Braam
9d624a0cf5 Add new configs to meson 2020-09-18 17:13:46 +02:00
Martijn Braam
59dc47f72c Use dtb auto detection for config file 2020-09-18 17:07:23 +02:00
Martijn Braam
26fab100bb Better output filenames 2020-09-18 16:19:30 +02:00
Martijn Braam
efb26135bd Use gresources and add new camera icon 2020-09-18 16:10:15 +02:00
Martijn Braam
ceccf7e9d3 Added hub url to the readme 2020-09-18 15:21:03 +02:00
Martijn Braam
35770cfa3d Added end-user errors 2020-09-16 19:50:46 +02:00
Martijn Braam
9871fe602d Improved debayer implementation 2020-09-16 13:39:12 +02:00
Martijn Braam
243ef89cb5 Added quick'n'bad debayer implementation for previews 2020-09-15 00:03:41 +02:00
Martijn Braam
5c0611c64f Support setting the framerate 2020-09-14 17:07:37 +02:00
Martijn Braam
f7299add53 Fixed path to css file 2020-09-14 16:16:25 +02:00
Martijn Braam
59615b5894 Added build instructions 2020-09-08 15:30:01 +02:00
Martijn Braam
e3532c40b4 Fixed up arch CI 2020-09-08 14:45:11 +02:00
Martijn Braam
479e00030b Added a glibc system to CI 2020-09-08 14:41:12 +02:00
Martijn Braam
21ba2d54c1 Fixed build on glibc systems 2020-09-08 14:35:34 +02:00