Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
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
Benjamin Schaaf
07adf898e7 Improve megapixels-list-devices 2022-01-26 17:24:19 +04:00
Benjamin Schaaf
772db36877 Make clang-format more aggressive
clang-format always manages to mix spaces into tab-based indentation.
Since we already require an exact tab-width of 8 it makes more sense to
use spaces.
2021-11-13 00:06:11 +11:00
Benjamin Schaaf
a92104e27c Add clang-format as part of CI 2021-11-12 21:47:34 +11:00
Benjamin Schaaf
f1947f134e Rework pipeline to allow for DMA support
The process pipeline is now tasked with releasing the camera buffer,
rather than being given a copy. This enables being able to avoid the
copy in the future if it has a performance advantage.
2021-04-08 19:56:51 +10: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
Benjamin Schaaf
8eb8441123 Add control enumeration 2020-11-28 00:03:39 +11:00
Benjamin Schaaf
510177b220 Rename test_camera → camera_test 2020-11-26 21:39:38 +11:00
Benjamin Schaaf
dd45690d47 First pass at integrating pipeline with application 2020-11-26 00:34:57 +11:00
Benjamin Schaaf
0ba1a6844e First pass at pipeline implementation 2020-11-20 22:25:39 +11:00