Kwabena W. Agyeman
f9e79d1d7b
imlib: Optimize debayering with Helium.
2024-08-23 18:00:24 -07:00
Ibrahim Abdelkader
52aecffd7d
Merge pull request #2389 from openmv/llvm_path
...
github/workflows: Fix LLVM path.
2024-08-23 16:09:38 +03:00
iabdalkader
83804c9444
github/workflows: Fix LLVM path.
2024-08-23 16:02:39 +03:00
Ibrahim Abdelkader
00e4f8e161
Merge pull request #2388 from openmv/sensor_hw_flags
...
ports/all: Refactor sensor flags.
2024-08-23 15:46:07 +03:00
iabdalkader
13e6573c46
ports/all: Refactor sensor flags.
2024-08-23 15:36:31 +03:00
Ibrahim Abdelkader
a617dab56b
Merge pull request #2387 from openmv/ci_cache_fix
...
github: Fix cache key.
2024-08-23 00:44:16 +03:00
iabdalkader
5664acaf08
github: Fix cache key.
2024-08-23 00:38:10 +03:00
Ibrahim Abdelkader
3c4cfbdcd2
Merge pull request #2386 from openmv/ci_clang
...
github: Add LLVM toolchain to CI.
2024-08-23 00:29:57 +03:00
iabdalkader
cb9f343549
github: Add LLVM toolchain to CI.
2024-08-23 00:22:48 +03:00
dependabot[bot]
7cc60d61c1
build(deps): bump tj-actions/changed-files from 44 to 45
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 44 to 45.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v44...v45 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-21 15:11:45 +00:00
Ibrahim Abdelkader
b56df8dc1f
Merge pull request #2382 from openmv/clang_imlib
...
misc: Add support for building specific imlib files with clang.
2024-08-21 11:43:50 +03:00
iabdalkader
436f226c6e
misc: Add support for building specific imlib files with clang.
2024-08-21 11:39:30 +03:00
Ibrahim Abdelkader
d54476d03b
Merge pull request #2380 from openmv/fix_formatter_config
...
tools/uncrustify: Fix compound literal return indentation.
2024-08-18 19:37:22 +03:00
iabdalkader
4606fc76aa
tools/uncrustify: Fix compound literal return indentation.
2024-08-18 19:35:50 +03:00
Ibrahim Abdelkader
b14d315fde
Merge pull request #2379 from openmv/profile_macro
...
misc/common: Fix profiling macro.
2024-08-17 22:07:56 +03:00
iabdalkader
ca48b8c262
misc/common: Fix profiling macro.
...
Now it can be called multiple times in the same function and
can be nested.
2024-08-17 22:02:37 +03:00
Ibrahim Abdelkader
ca90419e5a
Merge pull request #2378 from openmv/tflite_vela_fix
...
tools/tflite2c: Add default optimization for user models.
2024-08-17 20:05:08 +03:00
iabdalkader
c514d356a8
tools/tflite2c: Add default optimization for user models.
2024-08-17 19:55:40 +03:00
Ibrahim Abdelkader
bad9342552
Merge pull request #2377 from openmv/tflite_vela_update
...
tools/tflite2c: Set Vela optimization per model.
2024-08-17 18:55:49 +03:00
Ibrahim Abdelkader
51f84b70ab
Merge pull request #2376 from openmv/framebuffer_vbuffer_fix
...
imlib: Fix automatic vbuffer count.
2024-08-17 18:39:26 +03:00
iabdalkader
4e3ec807f2
tools/tflite2c: Set Vela optimization per model.
2024-08-17 18:37:34 +03:00
iabdalkader
7b36e4ef67
imlib: Fix automatic vbuffer count.
...
Before this patch, a 1.5MB framebuffer used a single vbuffer for VGA
and smaller resolutions, causing the sensor driver to restart with
every snapshot. With this patch, a 1.5MB frame buffer uses 2 vbuffers
for VGA/RGB and 3 vbuffers for VGA/grayscale **by default**.
In the case of 2 vbuffers, it should leave the rest for `fb_alloc`, so
`fb_alloc` still gets some extra space, but only if there's any left.
`set_buffers` now replaces `auto_adjust`. Passing `-1` to `set_buffers`
will attempt to use 3 vbuffers, each with a size of `frame_size` if
they fit; otherwise, the maximum possible buffers will be used.
Passing `1` will use the whole framebuffer. In this case, `frame_size`
is ignored. Additionally, `set_buffers` is now more efficient with buffer
sizes. For example, if the source is 1bpp (Bayer) and the destination is
1bpp (grayscale or Bayer), the vbuffer size will be `w*h`, instead of
assuming that everything is 2bpp, which allows for more vbuffers.
2024-08-15 17:26:00 +03:00
Ibrahim Abdelkader
0533891c01
Merge pull request #2375 from openmv/micropython_update
...
micropython: Update submodule.
2024-08-14 11:30:46 +03:00
iabdalkader
25756429e0
micropython: Update submodule.
...
Sync upstream Open-AMP changes.
2024-08-14 11:24:25 +03:00
Ibrahim Abdelkader
fae1f16ba0
Merge pull request #2373 from openmv/update_micropython
...
micropython: Update submodule.
2024-08-13 12:04:11 +03:00
iabdalkader
bcef3e7156
micropython: Update submodule.
...
Open-AMP fixes from upstream.
2024-08-13 12:00:35 +03:00
Ibrahim Abdelkader
eaf0cbd014
Merge pull request #2371 from openmv/usbdbg_bug_fix
...
misc: USB debug fixes.
2024-08-12 23:26:07 +03:00
iabdalkader
d1a20fb89d
misc/common: Implement usb_cdc_reset_buffers for TinyUSB.
2024-08-12 23:19:18 +03:00
iabdalkader
a11635b03b
misc/common: Fix usb_cdc_reset_buffers prototype.
2024-08-12 23:18:59 +03:00
iabdalkader
b2aa7db192
micropython: Update submodule.
...
Fix CDC debug buffer issue.
2024-08-12 23:17:26 +03:00
Ibrahim Abdelkader
cadd33ffeb
Merge pull request #2370 from openmv/revert_fb_changes
...
common/usbdbg: Revert changes to usbdbg/framebuffer.
2024-08-12 22:25:55 +03:00
iabdalkader
c5e4297bef
common/usbdbg: Revert changes to usbdbg/framebuffer.
...
This reverts commit afcd12cb6a
.
2024-08-12 22:19:49 +03:00
Ibrahim Abdelkader
a0db6fe794
Merge pull request #2369 from openmv/openmv4p_enable_hw_crop
...
boards/OPENMV4P: Set HW crop flag.
2024-08-12 17:30:17 +03:00
iabdalkader
bf2e22614b
boards/OPENMV4P: Set HW crop flag.
...
This should have been enabled in 51e6fd2912
.
2024-08-12 17:25:41 +03:00
Ibrahim Abdelkader
ae4394590f
Merge pull request #2363 from openmv/dave2d_license
...
drivers/dave2d: Add license file.
2024-08-07 19:19:15 +02:00
iabdalkader
bbc48aa0b2
drivers/dave2d: Add license file.
2024-08-07 20:17:22 +03:00
Ibrahim Abdelkader
107326f0c3
Merge pull request #2360 from openmv/sensor_raw_flag
...
misc/sensor: Add raw sensor flag.
2024-08-06 22:06:02 +02:00
iabdalkader
da4c686dc3
sensors/ov7725: Set bayer format.
2024-08-06 17:43:41 +03:00
iabdalkader
b93b43f506
imlib: Fix raw framebuffer size.
2024-08-06 17:42:01 +03:00
iabdalkader
6508282562
misc/sensor: Add RAW flag.
...
For sensors that only support bayer output.
2024-08-06 17:35:52 +03:00
Ibrahim Abdelkader
c57ffdc61e
Merge pull request #2359 from openmv/pyopenmv_updates
...
tools/pyopenmv: Display image size and format.
2024-08-06 09:57:15 +02:00
iabdalkader
44bf1f7d5b
tools/pyopenmv: Display image size and format.
2024-08-06 10:55:52 +03:00
Ibrahim Abdelkader
d7eccdbb88
Merge pull request #2358 from kwagyeman/kwabena/fixes_for_raw_streaming
...
boards/OPENMV_RT1060: Add support for RAW streaming.
2024-08-06 09:31:22 +02:00
Kwabena W. Agyeman
afcd12cb6a
common/usbdbg: Enable RAW binary mode streaming.
2024-08-05 18:43:24 -07:00
Kwabena W. Agyeman
6e705114f1
imlib/framebuffer: Fix RAW streaming call to draw_image.
2024-08-05 18:43:23 -07:00
Kwabena W. Agyeman
50639050fb
imlib/draw: Move bilinear offset after GPU call.
2024-08-05 14:20:47 -07:00
Ibrahim Abdelkader
0ad4d34a42
Merge pull request #2356 from openmv/fb_preview
...
imlib: Add support for sending raw preview frames.
2024-08-05 16:59:56 +02:00
iabdalkader
18bc05d132
imlib: Add support for sending raw preview frames.
...
This allows boards that don't have a hardware JPEG encoder, but
do have fast scaling, to bypass JPEG encoding and send down-scaled
raw frames. The raw preview frames are capped at a configurable max,
but should not exceed ~60KBs.
2024-08-05 17:53:19 +03:00
Ibrahim Abdelkader
168ff0f501
Merge pull request #2355 from openmv/common_linker
...
misc/linker: Update linker script variables.
2024-08-05 15:43:32 +02:00
iabdalkader
dbe6ae9f18
misc/linker: Update linker script variables.
...
* Add start/end to JPEG buffer. This allows board config files to
define them using linker script syntax (K, M etc..).
* Rename variables more consistently.
2024-08-05 16:23:34 +03:00