Ibrahim Abdelkader
7b1468ce89
Merge pull request #2154 from kwagyeman/kwabena/subsample_speedup
...
imlib/jpege: Improve jpeg YUV422/420 UV sub-sampling speed.
2024-03-30 12:30:32 +02:00
Ibrahim Abdelkader
d8a42359e5
Merge pull request #2180 from kwagyeman/kwabena/fix_spi_cs_slave_mode
...
ports/stm32: Don't control CS pin in slave mode.
2024-03-25 19:52:54 +02:00
Kwabena W. Agyeman
3dd93c4ffb
ports/stm32: Don't control CS pin in slave mode.
2024-03-20 10:50:33 -07:00
Kwabena W. Agyeman
b037b2208a
modules/py_image: Add support to control jpeg subsampling.
2024-03-20 10:33:56 -07:00
Kwabena W. Agyeman
31f58cc99a
ports/stm32: Add support for YUV422 hardware JPEG compression.
2024-03-16 10:51:06 -07:00
Ibrahim Abdelkader
dbe5187558
Merge pull request #2161 from kwagyeman/kwabena/update_macros
...
imlib: Update min/max usage to clamp and sat.
2024-03-11 09:06:53 +02:00
Kwabena W. Agyeman
99d22d4eb0
imlib/fmath: Fix fmath function inlining.
2024-03-10 15:29:25 +01:00
Ibrahim Abdelkader
3a2ffc5106
Merge pull request #2148 from kwagyeman/kwabena/erode_dilate_cleanup
...
modules/py_image: Use mp_arg_pasrse_all for erode/dilate.
2024-03-10 09:15:14 +02:00
Kwabena W. Agyeman
f523602719
modules/py_image: Use mp_arg_pasrse_all for erode/dilate.
2024-03-09 18:56:28 -08:00
iabdalkader
caedd26f51
misc: Bump firmware version.
2024-03-04 18:38:30 +01:00
iabdalkader
c7d40f6af7
ports/mimxrt: Set the default WiFi AP's security mode.
2024-03-04 12:32:36 +01:00
iabdalkader
55cab8733f
ports/stm32: Set the default WiFi AP's security mode.
2024-03-04 12:32:36 +01:00
iabdalkader
9244c61771
modules/winc1500: Activate the NIC on connect.
...
Activate the NIC on connect/config if it's not active, to allow
config to be called before the NIC is activated.
2024-03-04 12:32:36 +01:00
Kwabena W. Agyeman
83e12de2b0
sensors/gc2145: Fix hmirror and vflip.
2024-02-26 11:45:42 -08:00
iabdalkader
834d157008
sensors/GC2145: Fix chip id bug in sensor probe.
2024-02-26 12:33:26 +01:00
Kwabena W. Agyeman
3705652b23
imlib: Update min/max usage to clamp and sat.
2024-02-24 13:46:04 -08:00
Ibrahim Abdelkader
47da5ec07c
Merge pull request #2145 from kwagyeman/kwabena/optimize_math_ops
...
imlib: Optimize math ops.
2024-02-23 09:25:28 +02:00
Kwabena W. Agyeman
a1b484f378
imlib: Optimize math ops.
2024-02-22 12:21:10 -08:00
Kwabena W. Agyeman
e1aeef49fa
imlib: Optimize binary ops.
2024-02-19 21:30:03 -08:00
Ibrahim Abdelkader
7084effc7f
Merge pull request #2139 from kwagyeman/kwabena/optimize_invert
...
modules/py_image: Optimize invert and negate.
2024-02-18 11:21:07 +02:00
Kwabena W. Agyeman
5b993fa765
imlib/jpege: Fix jpeg timing code.
2024-02-17 23:20:48 -08:00
Ibrahim Abdelkader
c0ee9a967f
Merge pull request #2068 from kwagyeman/kwabena/add_user_spi_display_control
...
modules/py_display: Add user SPI LCD register control.
2024-02-18 00:39:25 +02:00
Kwabena W. Agyeman
59fea5bc52
imlib/jpege: Improve jpeg YUV422/420 UV sub-sampling speed.
2024-02-16 16:51:12 -08:00
Kwabena W. Agyeman
4fe7fb63b9
imlib: Remove mul().
2024-02-16 11:49:19 -08:00
Kwabena W. Agyeman
179888f233
modules: Add controller and bus write support to spi display.
2024-02-15 13:45:42 -08:00
Kwabena W. Agyeman
7d1f378a08
modules: Change dsi read/write to generic bus read/write.
2024-02-15 13:43:03 -08:00
iabdalkader
694e783f14
boards/ARDUINO_GIGA: Enable GC2145 driver.
2024-02-15 21:06:19 +01:00
Ibrahim Abdelkader
17412e544c
Merge pull request #2151 from openmv/ov5640_gc2145_fix
...
misc: Support using GC2145 and OV5640 at the same time.
2024-02-15 22:05:33 +02:00
Ibrahim Abdelkader
3f1b71cb48
Merge pull request #2147 from kwagyeman/kwabena/remove_cartoon
...
imlib: Remove cartoon() method.
2024-02-15 22:02:33 +02:00
iabdalkader
a62d606467
misc: Support using GC2145 and OV5640 at the same time.
...
Both sensors have the same I2C address, so can't be enabled at the
same time. This patch tries to read a byte-sized address first,
if GC2145 chip id is not read back, then it retries reading wide
address. I tested this with RT1060 and H7 and I can detect the OV5640
fine.
2024-02-15 21:01:47 +01:00
Kwabena W. Agyeman
c017cde2bb
ports/stm32: Move instances to init functions.
2024-02-14 17:02:29 -08:00
Kwabena W. Agyeman
567cc08281
ports/stm32: Fix setting freq to zero bug.
2024-02-14 16:57:43 -08:00
Kwabena W. Agyeman
c5cf3cf498
ports/stm32: Fix xclk duty cycle to 50%.
2024-02-14 16:53:57 -08:00
Ibrahim Abdelkader
78c7d1aa43
Merge pull request #2140 from kwagyeman/kwabena/remove_slow_stuff
...
modules/py_image: Remove div() method.
2024-02-14 09:39:17 +02:00
Ibrahim Abdelkader
82b61a8553
Merge pull request #2138 from kwagyeman/kwabena/move_ksize_helper
...
imlib: Add ksize helper.
2024-02-14 09:37:58 +02:00
Kwabena W. Agyeman
055a468b83
imlib: Remove cartoon() method.
2024-02-12 20:27:41 -08:00
Ibrahim Abdelkader
32b7075bc6
Merge pull request #2141 from openmv/sensor_utils_reconfigure
...
ports/all: Add a sensor function to reconfigure hardware if/when needed.
2024-02-12 22:30:19 +02:00
Ibrahim Abdelkader
afe7087b5e
Merge pull request #2123 from kwagyeman/kwabena/enable_edma
...
ports/mimxrt: Enable edma memcpy.
2024-02-12 22:30:01 +02:00
Kwabena W. Agyeman
63edb776c3
ports/mimxrt: Enable edma memcpy.
2024-02-12 12:05:24 -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
Ibrahim Abdelkader
262eb98e43
Merge pull request #2133 from kwagyeman/kwabena/tensor_flow_update_2_2024
...
modules/py_tf: Refactor regression() code to handle arrays correctly.
2024-02-11 21:37:05 +02:00
Kwabena W. Agyeman
84cca7c6ca
modules/py_image: Optimize invert and negate.
2024-02-10 11:54:26 -08:00
Kwabena W. Agyeman
7c932602e2
modules/py_image: Remove div() method.
2024-02-10 11:49:17 -08:00
Kwabena W. Agyeman
70ea77c044
imlib: Add ksize helper.
2024-02-10 11:24:57 -08:00
Kwabena W. Agyeman
61ec9006bb
hal/sensor_utils: Allow DMA memcpy fallback to CPU.
2024-02-10 10:42:30 -08:00
Kwabena W. Agyeman
7c6105e54c
ports/mimxrt: Use hardware byteswap support.
2024-02-10 10:31:52 -08:00
Kwabena W. Agyeman
c5ec576c11
modules/py_tf: Refactor regression() code to handle arrays correctly.
2024-02-09 11:43:37 -08:00
iabdalkader
b69f9306d4
boards/NICLA_VISION: Reduce flash usage.
2024-02-09 16:50:16 +02:00
iabdalkader
602530c5fd
imlib: Add config options for find_features.
2024-02-09 16:08:12 +02:00
iabdalkader
1b58433320
imlib: Refactor collections linked list.
...
- Remove unused linked list functions.
- Remove iterator functions and replace them with a list_for_each macro.
Note the smaller iterator functions may Not have been inlined because
we -fno-inline-small-functions is used.
- Replace iterator_get which used memcpy, with a cast.
- Add list_insert and list_remove functions.
2024-02-07 13:25:00 +02:00