Commit Graph

464 Commits

Author SHA1 Message Date
Kristian Vos
22fc1309c5 Fix wrong rotation being used for DNG 2024-11-04 15:04:30 +01:00
Kristian Vos
98ae16848c Fix preview not working after switching windows 2024-09-30 14:38:08 +02:00
Martijn Braam
2a328e4f2d Add helper script for setting up a full megapixels system on a phone 2024-09-11 17:13:57 +02:00
Pavel Machek
bd1a19f66f ae: fix problem uncovered by alpine build 2024-09-07 23:04:32 +02:00
Pavel Machek
95f474076c ae: don't go over 1/100 sec exposure too easily 2024-09-07 22:52:31 +02:00
Pavel Machek
bfe76b7568 ui: disable for now, gtk does not like cross-calls 2024-09-07 22:52:30 +02:00
Pavel Machek
474b2db2c9 ui: display focus information, too. 2024-09-07 22:52:30 +02:00
Pavel Machek
cccfdb18c7 ui: take digital gain into consideration, too 2024-09-07 22:52:30 +02:00
Pavel Machek
13264d6b1c ui: display exposure/gain settings 2024-09-07 22:52:30 +02:00
Pavel Machek
9e4b760b77 ui: Add button with camera status. 2024-09-07 22:52:30 +02:00
Pavel Machek
47772bde2e ae: use gain/dgain minimum values 2024-09-07 22:52:30 +02:00
Pavel Machek
b5dbc416b5 ae: start using minimum values for controls, too 2024-09-07 22:52:30 +02:00
Pavel Machek
16092880d0 auto: display values in known units 2024-09-07 22:52:30 +02:00
Pavel Machek
eeca8fe4cc auto: cleanups 2024-09-07 22:52:30 +02:00
Pavel Machek
5fd1e09059 auto: tweak debugging 2024-09-07 22:52:30 +02:00
Pavel Machek
def6e19b5e ae: debugging note when out of options. 7.67 sec to "full dark". 2024-09-07 22:52:30 +02:00
Pavel Machek
8af8441bbd auto: use common functions when possible. 2024-09-07 22:52:30 +02:00
Pavel Machek
dcc73a1647 auto: Use helper function to set value. 2024-09-07 22:52:30 +02:00
Pavel Machek
d0e4e318c1 dgain: remove left-over debugging code 2024-09-03 14:18:34 +02:00
Pavel Machek
7c59259f27 dgain: Introduce digital gain 2024-09-03 13:12:23 +02:00
Pavel Machek
bbc077f528 af: if it improves on its own, likely scene or AE changed, and time to restart 2024-09-03 13:12:23 +02:00
Pavel Machek
d87c6263ed af: Port focus code from millipixels. 2024-09-03 13:12:23 +02:00
Pavel Machek
88b9ca9e50 Explain dependencies for video recording. 2024-08-31 17:06:28 +00:00
Pavel Machek
8ba6d0b96b mpegize: fix dng mode 2024-08-31 17:06:28 +00:00
Martijn Braam
7b25364b8a Create new icons for the autofocus feature 2024-08-05 00:32:21 +00:00
Kristian Vos
f8628a344c Don't call libmegapixels_open twice in a row in io_pipeline 2024-08-05 00:32:21 +00:00
Kristian Vos
8f37625309 Allow manually changing the focus using controls 2024-08-05 00:32:21 +00:00
Kristian Vos
64f93cd8f2 Run clang-format on a few files 2024-08-05 00:32:21 +00:00
Kristian Vos
3280c1d113 Refactor camera control functions to use MPControl, store fd in MPControl 2024-08-05 00:32:21 +00:00
Kristian Vos
cd392d85cd Allow getting/querying/setting controls on non-sensor devices 2024-08-05 00:32:21 +00:00
Kristian Vos
a8e8d38018 Call on_output_changed also if just the camera changed, just to be safe 2024-08-01 12:49:39 +02:00
Kristian Vos
dd8ae3be14 Fix typo to fix AWB issues 2024-08-01 12:12:27 +02:00
Kristian Vos
fe5b4651ca Set some initial calibration matrices if no DCP file is found, used for AWB 2024-08-01 12:11:22 +02:00
Kristian Vos
b1c46f7800 Re-enable flash, refactor to use libmegapixels 2024-07-24 13:57:54 +02:00
Kristian Vos
2bbc0f387f Pass mirrored to gles2_debayer to make mirrored actually work 2024-07-23 16:57:18 +02:00
Martijn Braam
a84e2c797c Update for new libmegapixels_find_config signature 2024-07-16 01:12:44 +02:00
Martijn Braam
2653c43938 Add sRGB to XYZ matrix 2024-07-15 19:36:55 +02:00
Martijn Braam
141cd8167b Fix the repository url in the about dialog 2024-07-15 19:25:49 +02:00
Martijn Braam
ccf0314b62 Make the video recording button an icon 2024-07-15 18:03:35 +02:00
Kristian Vos
8b525210bc Fix QR-code/symbol not rendering on top of QR-code correctly 2024-07-10 13:45:59 +02:00
Kristian Vos
1a27c4b15b Added debayer_packed.frag to meson.build and gresource.xml 2024-07-01 15:06:58 +00:00
Kristian Vos
32f168b6d8 Split debayer fragment between packed and unpacked, fixing preview for unpacked 10bit bayer formats 2024-07-01 15:06:58 +00:00
Kristian Vos
db188f2db7 Re-enable zbar, don't crash application if using an unsupported pixel format for preview for zbar 2024-07-01 12:48:55 +02:00
Kristian Vos
e41dc80a71 Fix various compile errors 2024-06-29 18:04:42 +02:00
Kristian Vos
cd3266466e Improve readability of shader selecting based on pixel format, add more bayer formats 2024-06-08 16:10:38 +00:00
Kristian Vos
ac80896c0c Improve gain/exposure controls 2024-05-11 13:59:48 +02:00
Pavel Machek
8d74a7da06 rmdir can be easily done without calling the shell. 2024-05-10 22:07:28 +02:00
Pavel Machek
48a4b8db2a Get rid of fragile recursive rm, move cleanup to mpegize. This way
"mpegize stop" does not have to wait for "mpegize start".
2024-05-10 10:19:56 +02:00
Pavel Machek
b77064dda0 Start encoding while the recording is running in the YUV case. This
allows "unlimited" video length. PinePhone OG is able to do the
encoding with ~180% CPU use.
2024-05-10 10:19:50 +02:00
Pavel Machek
1395f823a0 Pass start/stop down to mpegize script. 2024-05-10 10:11:07 +02:00