Egor Shestakov
29adecb84f
use snprintf instead of sprintf in format_movie_name to prevent OOB
2025-03-07 18:47:06 +07:00
Egor Shestakov
ae1faec57d
fix memory leak in process_aaa
2025-01-16 18:58:48 +07:00
Ferass El Hafidi
f5248b388e
process_pipeline.c: fix call to libdng_write
2024-12-24 16:29:58 +00:00
Martijn Braam
79eab3fe1a
Fix .jpg vs .jpeg file extension for YUV captures
2024-12-23 17:34:18 +01:00
Martijn Braam
8fbea82b2b
Rewrite YUV processing pipeline.
...
Use a 4-channel texture instead for packed YUV data so
every pixel in the texture has all the 4:2:2 color data
available.
2024-12-23 17:29:46 +01:00
Martijn Braam
1b5a871641
Don't make the missing movie.sh file fatal
2024-12-23 15:40:34 +01:00
Takuya Wakazono
a9f6291c3e
Explicitly declare function parameters for GCC 15 compatibility
...
In GCC 15, where C23 is the default, void foo() is equivalent to void
foo(void). Therefore, functions must explicitly declare their
parameters.
2024-11-30 22:38:05 +09:00
Kristian Vos
95ae684d9f
Pass color/forward matrices to libdng
2024-11-04 18:44:28 +01:00
Kristian Vos
22fc1309c5
Fix wrong rotation being used for DNG
2024-11-04 15:04:30 +01: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
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
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
Kristian Vos
3280c1d113
Refactor camera control functions to use MPControl, store fd in MPControl
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
Kristian Vos
8b525210bc
Fix QR-code/symbol not rendering on top of QR-code correctly
2024-07-10 13:45:59 +02:00
Pavel Machek
4a124688d1
mkv is better extension for the video, as we are using mkv envelope.
2024-05-07 16:01:59 +02:00
Pavel Machek
99eab6ee54
Prepare for supporting multiple YUV formats.
2024-05-07 14:22:50 +02:00
Pavel Machek
bc9085ffad
Pass dng/grw mode down to mpegize.
2024-05-06 22:18:45 +02:00
Pavel Machek
f0d8834b4a
Pipe for scripts<->application communication, write UYVY files
...
Got pipe to work between movie subprocess and main code. We use it to
display progress from the scripts. Write "gstreamer raw" files, that
can be worked with easily from gstreamer.
2024-05-06 13:50:44 +02:00
Pavel Machek
1c9202c4cf
Add support for short movies
...
Short movies can now be recorded (~30 seconds, depending on disk
space), with audio. New button is added, for that, depending on state
it shows "Rec" (you can record), "Stop" (you are recording) and "Busy"
(movie is being converted).
2024-04-30 18:09:42 +00:00
Pavel Machek
b23ec208f0
Comment mentions different filenames than code, fix that.
2024-04-30 18:09:42 +00:00
Martijn Braam
b615d23de1
Replace segfault with actual error message
2024-02-07 13:50:29 +01:00
Martijn Braam
7e3d9e9063
Change control loop for AAA
2024-01-23 17:30:34 +01:00
Martijn Braam
b140ebd9b7
Use the aaav2 code in libmegapixels
2024-01-18 15:57:18 +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
8ca9028d45
Change app-id to me.gapixels.Megapixels
2023-12-02 12:30:06 +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
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