Yassine Oudjana
d8f34f7f89
Fix 10-bit format capture
...
TIFF/DNG need a different packing format for 10-bit images.
Add a function to repack the raw sensor data into the required
sequencial format.
2022-02-01 14:01:50 +04: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
Guido Günther
9c5b9d67aa
Avoid g_error_free
...
Rely on g_autoptr() instead. This avoids having to free the
error.
2021-11-16 14:46:14 +01:00
Benjamin Schaaf
c277342f74
Fix incorrectly freeing GError
2021-11-16 23:22:32 +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
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
Martijn Braam
5ad97d03f6
Add save-dng setting
2021-06-14 00:32:55 +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
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
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
d03d4b99e3
Make pressing the preview work again
2021-04-26 19:07:59 +10:00
Benjamin Schaaf
44fc390b99
Get zbar working again
2021-04-26 18:09:04 +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