Martijn Braam
d13cdd5dcb
Add color correction to the gles shader
2023-07-27 00:54:33 +02:00
Martijn Braam
10103a2834
Better color pipeline
2023-07-25 16:03:51 +02:00
Martijn Braam
59f18d7bd2
Fix build issues
2023-07-25 14:05:28 +02:00
Martijn Braam
7941becb17
Use more colorscience from millipixels
2023-07-25 13:28:42 +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
9a685eb839
Use xfer function from libmegapixels instead of v4l
2023-07-22 16:41:38 +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
Martijn Braam
c62ac5950f
Decouple capture frame counter from the burst length
2023-07-22 16:01:52 +02:00
Martijn Braam
16dfb9ba19
Close the AAA loop
2023-07-21 14:06:32 +02:00
Martijn Braam
f26f81e3f1
Refactor controls more
2023-07-21 13:19:26 +02:00
Martijn Braam
d4806d6ab6
Don't make stats a pointer
2023-07-21 12:18:47 +02:00
Martijn Braam
e90f16dcfa
AE stats
2023-07-21 12:08:12 +02:00
Martijn Braam
e97ce527b0
Pause frame processing when window is not active
2023-07-20 18:27:17 +02:00
Martijn Braam
6e8293116b
Process pipeline refactoring
2023-07-20 17:40:00 +02:00
Martijn Braam
2a7a5d37e6
Fix burst length calculation
2023-07-20 16:55:39 +02:00
Martijn Braam
b86c816c34
Pick preview mode closest to screen size
2023-07-20 16:50:16 +02:00
Martijn Braam
d51a2fb263
Refactor controls
2023-07-20 16:36:58 +02:00
Martijn Braam
c4969cec6c
Continue refactoring of global state
2023-07-20 11:39:30 +02:00
Martijn Braam
0170544013
WIP
2023-07-16 23:18:14 +02:00
Martijn Braam
2f48f31b6a
Set a nonzero burst length
2023-07-12 16:20:42 +02:00
Martijn Braam
2c3a16332d
Ensure the capture terminates
2023-07-12 16:06:32 +02:00
Martijn Braam
be5197d050
Fix CFA define
2023-07-12 15:49:07 +02:00
Martijn Braam
78cccdd596
Pass the correct buffer size through the pipeline again
2023-07-12 15:30:03 +02:00
Martijn Braam
64a4c8e869
Remove ini files from meson
2023-07-12 15:07:26 +02:00
Martijn Braam
e3dce3bccc
gles2_debayer cleanup
2023-07-12 15:06:06 +02:00
Martijn Braam
5f270c1ef0
Remove unneeded files
2023-07-12 14:51:18 +02:00
Martijn Braam
472f84b741
Don't crash on the L5
2023-07-12 14:48:52 +02:00
Martijn Braam
3ee314a68d
Add libmegapixels
2023-07-11 23:43:23 +02:00
Martijn Braam
b5161db18e
Add DCP calibration files for sensors
...
Read .dcp files stored in the same directory as the camera configuration
files and copy over the calibration curves into the DNG files after
taking a picture.
2023-07-07 17:14:24 +02:00
Oliver Smith
92f5270f87
Bump version to 1.6.1
2023-05-30 09:08:56 +02:00
ArenM
38bbee0841
camera_test: add bridge support (MR 31)
2023-05-28 13:42:20 -04:00
ArenM
f43fcdb241
Set bridge resolution when setting the mode (MR 31)
...
sun6i-csi-bridge will return EINVAL if the resolution it is configured
with is different than the resolution the camera is configured with. So
we have to set it's resolution when changing the camera resolution.
2023-05-28 13:42:20 -04:00
ArenM
ebfcf10fa6
get pad from vid_if_bridge instead of io_v4l (MR 31)
...
The camera pipline on the PinePhone the cameras connected to a bridge
node instead of directly to the output.
2023-05-26 11:22:44 -04:00
ArenM
a1243430b1
Add missing cases to entity_type_str (MR 31)
...
There is now a VID_IF_BRIDGE node in the pinephone pipeline.
2023-05-24 16:30:07 -04:00
Luigi311
31ec47a6cb
Increase capture-rate to 15 on pinephone (MR 29)
2023-02-02 14:06:04 +01:00
Luigi311
f1ad116a23
Increase burst minimum (MR 28)
2023-02-02 14:01:55 +01:00
Martijn Braam
dac8c83457
Bump version to 1.6.0
2023-02-02 13:59:00 +01:00
spacescientist
98473f2356
README: typo and formatting fixes (MR 27)
2023-01-10 12:44:58 +01:00
Martijn Braam
444cacfa6c
Workaround for camera enumeration (MR 9)
...
The setup_camera() function removes found media devices
from the device list on run but somehow avoids this on
the pinephone due more bugs in the software. This makes
it run with a clean list for every camera to fix this.
The proper fix is dropping the whole setup_camera()
procedure in the future.
2022-11-22 14:51:46 +01:00
Sebastian Krzyszkowiak
1dc3d3d455
device: Always use a pair of driver and subdev names to find the device (MR 9)
...
Otherwise Megapixels fails to find the correct device on systems where
there are multiple media devices handled by the same driver, like imx8mq.
2022-11-21 20:51:57 +01:00
xad6
e75eb375de
detect rotation directly via X or Wayland
...
Fixes #44
This commit changes the way that screen rotation is detected. Instead of
using Mutter's DBus interface, we now listen directly for X and Wayland
events indicating the screen has been rotated (RRScreenChangeNotify and
wl_output::geometry events). This has the advantage of working outside
of Phosh.
2022-11-21 20:10:46 +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
0dbb567445
Use libfeedback to emit shutter sound (MR 24)
...
This makes it simpler to notice that a picture was taken
2022-10-20 12:28:19 +02:00
Guido Günther
ca85be4e92
ci: Add libfeedback-dev to build dependencies (MR 24)
...
This will be used in the following commit
2022-10-14 09:53:31 +02:00
Guido Günther
aa6aca4765
ui: Use heading style for setting descrption (MR 24)
2022-10-14 09:53:31 +02:00
Guido Günther
f77e28924e
main: Untabify (MR 24)
...
Don't mix tab and spaces. This makes untabifying after changes simpler.
2022-10-12 11:00:05 +02:00
Martijn Braam
8df79054c3
Bump version to 1.5.2
2022-06-29 13:47:47 +02:00
Martijn Braam
89f7abd749
Capture at least 2 frames
...
Current post processing scripts assume at least 2 frames are captured.
With the rear pinephone camera the automatic gain control will always
raise the gain high enough that the frame count will be 2 or higher. For
the front camera the gain might be zero causing the burst to be 1 frame
long.
2022-06-27 16:50:05 +02:00