Commit Graph

131 Commits

Author SHA1 Message Date
Martijn Braam 684a81e546 Fix libtiff 4.2 incompatability 2020-12-22 16:05:06 +01:00
Martijn Braam 1025cfe8c1 Drop support for HDR+ stacker
The current HDR stacker is incredibly buggy and was only
added so it can be quickly be tested by building/installing it
locally. Some distributions have actually packaged this buggy mess
and made it a dependency of megapixes meaning the whole experience
is broken for users.

This drops support for trying to use stack_frames by default so
hdr-plus being installed for users doesn't break/corrupt photos.
2020-12-22 15:27:37 +01:00
Michal Ciesielski 29ad14c78b Read slider value when changing from auto to manual
The user might have moved the slider while in Auto. When exiting Auto
mode the value and the slider will be desynced. This change syncs the
value with the slider position when entering Manual mode.
2020-12-22 15:19:22 +01:00
Martijn Braam cd1d030886 Update metainfo for 0.13.1 2020-12-06 17:46:07 +01:00
Martijn Braam 98aa9e385c Update camera rates to improve latency and quality 2020-12-06 17:44:35 +01:00
Martijn Braam 3d4eabe8e8 Update changelog in metainfo 2020-12-06 16:23:39 +01:00
Martijn Braam b8842ae7e8 Added back srgb curve 2020-12-06 16:13:18 +01:00
Martijn Braam 4df62aa21e More codestyle 2020-12-06 16:03:25 +01:00
Martijn Braam 5703ecc786 Fix help message in camera test 2020-12-06 15:49:15 +01:00
Martijn Braam e595b6f4e2 Also install tools 2020-12-06 15:48:04 +01:00
Martijn Braam 72105c9491 Code style 2020-12-06 15:44:31 +01:00
Martijn Braam 101abe33cd Add editorconfig 2020-12-06 15:26:01 +01:00
Martijn Braam 08520e6e6c Use the proper color matrix for preview 2020-12-06 15:22:53 +01:00
Martijn Braam 7665f5d85b Use MPLANE buffers for MPLANE cameras 2020-11-28 19:19:12 +01:00
Martijn Braam 3cc9c9b867 Find interface entity by type 2020-11-28 18:57:11 +01:00
Martijn Braam 26f0d561cd Fixed typos in error messages 2020-11-28 18:47:45 +01:00
Martijn Braam 493a228f7d Run unit tests in CI 2020-11-28 16:25:51 +01:00
Martijn Braam c591e60ebd Add black background behind preview 2020-11-28 16:21:32 +01:00
Benjamin Schaaf 0a8a0b1cff Update configs 2020-11-28 01:23:17 +11:00
Benjamin Schaaf b12021d8f5 Update source code overview in README 2020-11-28 01:07:49 +11:00
Benjamin Schaaf 2133a087d5 Fix opening captured image not working 2020-11-28 00:52:13 +11:00
Benjamin Schaaf fe18201094 Don't log an error when camera query control fails 2020-11-28 00:51:19 +11:00
Benjamin Schaaf 065bbcb7e5 Make thumbnail work 2020-11-28 00:40:34 +11:00
Benjamin Schaaf 17ade28f02 Fix controls not working 2020-11-28 00:16:46 +11:00
Benjamin Schaaf 95414adf8d Use new control APIs for io pipeline 2020-11-28 00:03:57 +11:00
Benjamin Schaaf 8eb8441123 Add control enumeration 2020-11-28 00:03:39 +11:00
Benjamin Schaaf e6deb1cfe7 Remove debug logging 2020-11-26 22:46:22 +11:00
Benjamin Schaaf dda7367368 Remove commented out code in main 2020-11-26 22:39:43 +11:00
Benjamin Schaaf a7e7f802bc Implement mplane support 2020-11-26 22:23:18 +11:00
Benjamin Schaaf 510177b220 Rename test_camera → camera_test 2020-11-26 21:39:38 +11:00
Benjamin Schaaf 3573486267 quickpreview fixes 2020-11-26 20:59:58 +11:00
Benjamin Schaaf dd45690d47 First pass at integrating pipeline with application 2020-11-26 00:34:57 +11:00
Benjamin Schaaf e26d0ddd4b Rework quickpreview to support rotation, mirroring and a colormatrix 2020-11-26 00:32:56 +11:00
Benjamin Schaaf d2f72a9150 Pipeline improvements 2020-11-26 00:31:52 +11:00
Benjamin Schaaf 0ba1a6844e First pass at pipeline implementation 2020-11-20 22:25:39 +11:00
Martijn Braam 506b0cfca0 Cleanup after bayer changes 2020-11-11 18:19:40 +01:00
Martijn Braam 0de093b62c First pass of 10 bits quick debayer 2020-11-11 17:17:29 +01:00
Martijn Braam 89953d1c11 Set MBUS formats on all media entities in the path and define SRGGB10P 2020-11-11 16:46:42 +01:00
Martijn Braam f108fe7d06 Implement MPLANE buffers
The qualcomm driver (on MSM8916 at least) uses an MPLANE buffer
for the video capture with a single plane in it. This detects
such drivers and requests MPLANE buffers from the driver and then
always uses the first plane from that through the normal pipeline.
2020-11-10 19:28:46 +01:00
Martijn Braam 69a98fe9d4 Use the NUM_LINKS constant 2020-11-10 16:42:52 +01:00
Martijn Braam bbb60965f5 Added support for arbitrary media links 2020-11-10 16:37:07 +01:00
Martijn Braam 78d9e03f38 Implement color decoding in YUV 2020-11-09 15:48:51 +01:00
Martijn Braam cd7cd8b177 Implement YUV preview 2020-11-09 15:44:18 +01:00
Martijn Braam f36b17f5f6 Add 0.12.0 release to metainfo 2020-11-09 01:59:07 +01:00
Martijn Braam 6b775ba1f9 Disable camera switch button if only one camera exists 2020-11-09 01:52:10 +01:00
Martijn Braam 7fac6f54b9 Updated README for new config changes 2020-11-08 21:21:41 +01:00
Martijn Braam 926b98fec0 Add n-camera support 2020-11-08 21:18:13 +01:00
Martijn Braam 77e99ed6e9
Make the metainfo pass validation 2020-11-08 18:34:52 +01:00
Martijn Braam c67a36c827
Added metainfo 2020-11-08 18:16:15 +01:00
AngeloGioacchino Del Regno b56182ca33 megapixels: Implement quick-debayering all Bayer 8-bits pixel formats
This application was supporting only debayering of BGGR8 streams:
this is an issue on cameras that are outputting a different format.

Implement quick-debayering of all Bayer 8-bits pixfmts in order to
solve wrong tint issues on many, many camera sensors.

This was tested on a Sony Exmor-RS IMX300 sensor.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
2020-10-25 23:42:21 +01:00