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
Yassine Oudjana
5f65d910f5
camera: Add padding to bytesused calculation (MR 13)
2022-06-21 17:31:19 +02:00
Yassine Oudjana
ba57d91da4
mode: Add a function to get padding bytes per line (MR 13)
...
Add a function to get extra padding bytes needed to make bytes
per width a multiple of 8.
2022-06-21 17:31:18 +02:00
Yassine Oudjana
7dbc2288d0
io_pipeline: Setup media links and formats (MR 13)
2022-06-21 17:31:16 +02:00
Yassine Oudjana
7716faa801
device: Add functions to set entity links and formats (MR 13)
...
Move part of mp_device_setup_link to a new function to allow
setting links between entities with entity and port indices,
and add a function to set entity pad formats.
2022-06-21 17:30:17 +02:00
Yassine Oudjana
a4c2c1ec1f
Move mode types and functions to a new object (MR 13)
...
Rename MPCameraMode to a more generic MPMode and move it along
with related functions to a new object in preparation for using
it in the device object.
2022-06-21 17:30:16 +02:00
FeRD (Frank Dana)
cd4ecdd964
README: Fix broken section link (MR 17)
2022-06-21 16:39:46 +02:00
Martijn Braam
899748df46
Change burst length depending on gain
...
The burst_length is now calculated before taking the first picture
by increasing the number of frames when the sensor gain is raised.
2022-06-21 16:29:23 +02:00
Martijn Braam
3c4aaf9fb5
ci: Fix debian build
...
The clang-format-12 package no longer exist and only clang-format 11, 13
and 14 remain in the repositories.
Also replace apt with apt-get since apt is not for scripting
2022-06-21 14:55:43 +02:00
Martijn Braam
f66fcc5a71
Update to clang-format 14
2022-06-21 14:50:05 +02:00
Martijn Braam
d41fb6745a
save flash state in the exif data
2022-06-21 14:39:08 +02:00
Benjamin Schaaf
0163c00eaa
Merge branch '10-bit' into 'master'
...
Add support for 10-bit packed formats
See merge request postmarketOS/megapixels!10
2022-02-01 12:04:56 +00:00
Yassine Oudjana
7b403f2e79
Set TIFFTAG_CFAPATTERN depending on pixel format
...
Add a function to get a CFA pattern string that matches a given
pixel format, and use it to set TIFFTAG_CFAPATTERN on capture.
2022-02-01 14:02:05 +04:00
Yassine Oudjana
d8f34f7f89
Fix 10-bit format capture
...
TIFF/DNG need a different packing format for 10-bit images.
Add a function to repack the raw sensor data into the required
sequencial format.
2022-02-01 14:01:50 +04:00
Yassine Oudjana
212e75ed3c
Add debayering support for all bayer CFAs
2022-01-31 16:58:58 +04:00
Yassine Oudjana
c16dbf6810
Add support for BGGR10P debayering
2022-01-31 16:55:41 +04:00
Yassine Oudjana
f8ce7abe98
zbar_pipeline: Add support for 10-bit packed format processing
2022-01-31 15:49:21 +04:00
Yassine Oudjana
b980eb5aea
Add mplanes to mp_camera_release_buffer
2022-01-26 17:26:00 +04:00
Benjamin Schaaf
868291e0c6
Possible fix for mplane support
2022-01-26 17:25:21 +04:00
Benjamin Schaaf
07adf898e7
Improve megapixels-list-devices
2022-01-26 17:24:19 +04:00
Benjamin Schaaf
94d673118f
Merge branch 'about' into 'master'
...
Set parent window in About dialog
See merge request postmarketOS/megapixels!8
2022-01-20 12:18:46 +00:00
Pablo Correa Gómez
b86fb80ed8
Update website URL in About dialog
2022-01-16 15:49:45 +01:00