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
Martijn Braam
894e090b1c
Bump version to 1.5.1
2022-06-27 15:45:53 +02:00
Martijn Braam
2b0569a903
Set captures_remaining properly in all cases
2022-06-27 15:42:29 +02:00
Martijn Braam
77a3abf4a6
Only disable flash when flashing is enabled
...
If the flash was disabled and screne flash is used it will try to set
the screen brightness back to the original value. Because the check for
mp_flash_enable and mp_flash_disable is different there's cases where
enable wasn't run but disable is, causing it to use the initial zero
brightness as the restore value.
2022-06-27 15:40:44 +02:00
Martijn Braam
7a14333ffc
Update metadata for 1.5.0
2022-06-27 14:13:30 +02:00
Martijn Braam
ee26b8e6f7
Add postprocessor setting dropdown (MR 18)
2022-06-24 15:38:56 +02:00
Martijn Braam
46b07c6c4d
Move postprocessor script to a gsetting (MR 18)
2022-06-24 14:38:11 +02:00
Martijn Braam
6ebf06ea13
Fix argument order for mp_device_setup_entity_link (MR 13)
2022-06-21 19:53:36 +02:00
Yassine Oudjana
29687edd57
Add initial configuration for Xiaomi Mi Note 2 (MR 13)
2022-06-21 17:31:23 +02:00
Yassine Oudjana
eb05dc56b4
zbar_pipeline: Skip padding bytes when creating grayscale image (MR 13)
2022-06-21 17:31:22 +02:00
Yassine Oudjana
cf0f02228a
process_pipeline: Skip padding when repacking 10-bit image (MR 13)
2022-06-21 17:31:21 +02:00
Yassine Oudjana
81859e54e7
Crop out padding on preview processing (MR 13)
2022-06-21 17:31:21 +02:00
Yassine Oudjana
f107a2ff3f
Use mp_pixel_format_width_to_bytes to get row length (MR 13)
2022-06-21 17:31:20 +02:00