Martijn Braam
b140ebd9b7
Use the aaav2 code in libmegapixels
2024-01-18 15:57:18 +01:00
Martijn Braam
65f18b81d1
Malloc before memcpy in DCP parser
2024-01-18 15:45:04 +01:00
Martijn Braam
dbacf8a005
Write YUV frames to jpeg directly instead of DNG
2024-01-18 03:12:57 +01:00
Martijn Braam
e0e94a62b2
Set names for the pipeline threads
2024-01-18 02:35:51 +01:00
Martijn Braam
4032b53592
Don't update metadata faster than the framerate
2024-01-18 02:34:51 +01:00
Martijn Braam
8ca9028d45
Change app-id to me.gapixels.Megapixels
2023-12-02 12:30:06 +01:00
Martijn Braam
7f5c7c1c4c
Use libdng to parse the calibration file
2023-12-02 12:30:05 +01:00
Martijn Braam
da68a1c96a
Write more metadata using libdng
2023-12-02 12:30:04 +01:00
Martijn Braam
90321888c8
Use libdng to write the output images
2023-12-02 12:30:03 +01:00
Martijn Braam
b2e8b04d26
Fix GTK4 deprecations in main.c
2023-11-26 14:32:44 +01:00
Martijn Braam
c3ad5c3dfb
Fix GTK4 deprecations in flash.c
2023-11-26 14:27:03 +01:00
Martijn Braam
9d189b88b4
Support rendering YUV formatted frames
2023-11-26 14:19:29 +01:00
Martijn Braam
e964b923c7
Write WB gains to the DNG file
2023-08-16 15:18:34 +02: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
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
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
e3dce3bccc
gles2_debayer cleanup
2023-07-12 15:06:06 +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
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
Luigi311
f1ad116a23
Increase burst minimum (MR 28)
2023-02-02 14:01:55 +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
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
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