iabdalkader
0a5b1e9774
modules: Add RGB stats ioctl.
2024-09-28 22:24:44 +02:00
Kwabena W. Agyeman
8d3eb90a06
sensors: Add genx320 driver.
2024-09-26 14:02:31 -07:00
Kwabena W. Agyeman
2586c60af2
sensors: Update chip_id to 4 bytes.
2024-09-26 13:59:56 -07:00
iabdalkader
0937bc8a05
misc/common: Support overriding the resolution table.
...
Fixes #2385
2024-09-04 21:14:29 +02:00
iabdalkader
13e6573c46
ports/all: Refactor sensor flags.
2024-08-23 15:36:31 +03:00
iabdalkader
6508282562
misc/sensor: Add RAW flag.
...
For sensors that only support bayer output.
2024-08-06 17:35:52 +03:00
FU CHEN-WEI
b3f9d70003
sensors/PAG7980: Support PixArt image sensor PAG7920.
...
1. Add a sensor driver for PAG7920.
2. Add PAG7920-related definitions.
2024-04-18 16:59:12 +08:00
iabdalkader
ebc4c6c831
ports/all: Add a sensor function to reconfigure hardware if/when needed.
...
sensor_dcmi_config function was called every time the pixel format changed,
and typically reconfigured the capture interface. This originated from the
stm32 port, which required reconfiguring the DCMI if the pixel format changed.
However, most ports only require configuring the capture interface once
during initialization (for example nrf, rp2 and mimxrt ports).
The new sensor_config function is called after a setting that may require
reconfiguring the hardware changes, such as such as window size, frame size,
or pixel format. The exact setting that has changed is passed to the function,
allowing ports to decide whether to do a full reconfiguration of the hardware,
or just ignore it based on the changed setting.
2024-02-12 18:32:36 +01:00
iabdalkader
bc5222df03
misc: Refactor board config files.
...
- Rename options more consistently.
- Add OMV prefix to every config option.
- Replace the ST-specific DCMI prefix with CSI.
- Remove the clock source defined in every header to a common enum.
- Remove obsolete board config options.
2024-02-06 21:20:56 +02:00
iabdalkader
345b80358d
ports/all: Refactor frame buffer line copying code.
2024-02-03 09:07:02 +02:00
iabdalkader
db65ab81d8
ports/all: Refactor frame rate control.
2024-02-03 08:59:52 +02:00
Kwabena W. Agyeman
9b0dc3458a
common/sensor: Add comments about bayer patterns.
2024-02-01 18:12:17 -08:00
Kwabena W. Agyeman
b5d9bbca30
ports: Move first_line and drop_frame to sensor.c.
2024-02-01 17:57:25 -08:00
Kwabena W. Agyeman
018f2eaed1
ports: Move copy_transposed_line to sensor.h.
2024-02-01 17:40:23 -08:00
iabdalkader
d478f19326
ports/all: Allow sensor_abort() to be called from different contexts.
...
This patch removes the duplicated `sensor_abort()` logic in the stm32 and mimxrt ports.
This is done by adding a `flush_fifo` argument, which controls the flush operation, and
a `in_irq` argument , which indicates whether `sensor_abort()` is called from within an
IRQ context or not.
2024-01-26 19:42:48 +02:00
Kwabena W. Agyeman
55e12f2499
sensors/gc2145: Add support for a wider FoV.
2023-11-17 08:16:22 -05:00
Kwabena W. Agyeman
abfd430854
sensors/ov7725: Add ioctl to control nightmode.
2023-10-03 14:18:17 -07:00
Kwabena W. Agyeman
3fde9542a8
sensors: Add stubs for controlling sensor blc.
2023-10-03 14:18:06 -07:00
Kwabena W. Agyeman
16c9faa179
sensors: Allow disabling settling time delays.
2023-09-10 18:47:57 -07:00
iabdalkader
35ed56310d
misc: Format code.
2023-07-02 21:49:23 +02:00
iabdalkader
e7b5a3f7e0
ports/all: Refactor cambus code.
...
* Rename cambus to omv_i2c for consistency with other HALs.
* Rename sensor I2C handle from bus to i2c_bus to allow adding
another handle (ex spi_bus).
2023-06-10 22:00:56 +02:00
iabdalkader
cc9ed3a477
sensors: Add support for HIMAX HM0360.
2022-06-02 21:30:40 +02:00
Kwabena W. Agyeman
87c3ac5d95
sensors/mt9v0xx: Add support for color MT9V0xx sensors.
2022-05-29 18:26:58 -07:00
Kwabena W. Agyeman
859d8139db
Lepton: Update to support version number in IDE.
2022-03-10 08:27:30 -08:00
Kwabena W. Agyeman
84f53d01bb
Update MT driver to support the 22/24/32/34
2022-01-02 13:54:17 -08:00
Kwabena W. Agyeman
7f84ce5010
Add frogeye sensor driver
2021-10-16 12:10:00 -07:00
Kwabena W. Agyeman
bf447e5599
Add yuv image processing support
2021-09-19 09:42:28 -07:00
Ibrahim Abd Elkader
d5ad043c30
Advanced pixel formats. ( #1448 )
...
* Advanced pixel formats.
* Use a new pixel format that encodes flags, id and bpp in the pixel format itself.
* Fixes for review comments.
2021-09-09 13:34:31 +02:00
iabdalkader
c28958e04e
Replace sensor flags with bit fields.
...
* Much easier to manipulate and saves some memory.
2021-09-04 22:04:31 +02:00
iabdalkader
5ed5671423
Allow sensor_utils probe_init to take bus id/speed args.
2021-07-15 20:59:58 +02:00
iabdalkader
0491a6a884
Add sensor error codes.
2021-07-01 20:51:42 +02:00
iabdalkader
a700397b07
Move common image sensor driver code to a common file.
...
* Provide image sensor driver utility functions that can be used by all ports.
* Provide default (weak) functions that can be replaced by port-specific drivers.
2021-06-29 21:37:05 +02:00
iabdalkader
5a1d74d5eb
Rename dcmi/dma config functions.
2021-06-29 16:34:32 +02:00
iabdalkader
0da5002b79
Rename sensor functions for consistency across ports.
2021-06-29 14:36:19 +02:00
iabdalkader
25525aaf11
Rename dcmi_abort to sensor_abort.
2021-06-25 00:05:33 +02:00
Kwabena W. Agyeman
f06fce870d
Finish MT9M114 driver
2021-06-19 12:08:49 -07:00
Ibrahim Abd Elkader
ce22083930
Merge pull request #1367 from kwagyeman/kwabena/mt9m114_driver_finishing
...
Add method to get actual xclk freq
2021-06-16 22:53:55 +02:00
Lake Fu
15264b7dac
Support PixArt image sensor PAJ6100 ( #1365 )
...
* Support PixArt image sensor PAJ6100
2021-06-16 22:45:14 +02:00
Kwabena W. Agyeman
a1c2ef7612
Add method to get actual xclk freq
2021-06-15 21:32:43 -07:00
Kwabena W. Agyeman
b3d2d5484c
Update MT9M114 driver to work
2021-06-13 19:32:34 -07:00
Ibrahim Abd Elkader
a7f2a6fcab
Merge pull request #1356 from kwagyeman/kwabena/make_frame_rate_control_work
...
Add working frame rate control for all sensors to STM32
2021-06-09 19:41:00 +02:00
Ibrahim Abd Elkader
a3c7d65f26
Merge pull request #1353 from kwagyeman/kwabena/disable_auto_flush
...
Add disable full flush logic
2021-06-09 19:04:01 +02:00
Kwabena W. Agyeman
8ec2fbcb70
Add feature to disable the full flush on the frame buffer
2021-06-08 21:48:28 -07:00
Kwabena W. Agyeman
9124d765a9
set_frame_rate now works for any FPS
2021-06-08 21:16:53 -07:00
Ibrahim Abd Elkader
af79b8c3cf
Merge pull request #1355 from kwagyeman/kwabena/add_missing_resolutions
...
Add missing resolutions to sensor driver
2021-06-08 21:20:12 +02:00
Kwabena W. Agyeman
20546fc7bc
Add missing resolutions to sensor driver
2021-06-07 12:12:15 -07:00
Kwabena W. Agyeman
5669011efc
Fix RGB565 byte reversal flag name
2021-06-07 11:57:14 -07:00
iabdalkader
5810304023
Add basic GC2145 driver
2021-05-14 01:30:47 +02:00
Kwabena W. Agyeman
94462ef746
Add frame complete callback support
2021-05-06 21:12:48 -07:00
Kwabena W. Agyeman
9dd90ae55f
Add support for double buffer, triple buffering, and video fifo
2021-04-15 18:13:40 -07:00