Commit Graph

103 Commits

Author SHA1 Message Date
luzpaz
971f14daab misc: Fix typos in src/omw subdirectory
Found via `codespell -q 3 -S "*.pgm,*.ppm,./src/hal,./src/drivers" -L als,dout,erro,extint,hsi,inout,ois,paeth,re-use,ser,serie`
2023-09-16 17:01:42 +00:00
Kwabena W. Agyeman
ab0936a747 imlib/fmath: Fix invalid fp instruction usage on cortex-m4. 2023-09-07 18:12:16 -07:00
iabdalkader
26bd27bdbb misc: Rename common header. 2023-07-04 12:53:23 +02:00
iabdalkader
35ed56310d misc: Format code. 2023-07-02 21:49:23 +02:00
iabdalkader
d3840037d4 misc: Disable formatting for auto-generated files and some types. 2023-07-02 16:42:15 +02:00
Kwabena W. Agyeman
4ba1dfa443 imlib: Update gamma_corr to support bayer and yuv images. 2023-04-27 14:07:37 -07:00
Ibrahim Abdelkader
9ad2a0f156
Merge pull request #1822 from kwagyeman/kwabena/add_isp_stuff
imlib: Add support for AWB and CCM.
2023-04-26 20:26:41 +02:00
Kwabena W. Agyeman
0e0326ffab imlib: Add support for AWB and CCM. 2023-04-26 11:19:35 -07:00
Kwabena W. Agyeman
62910602ef imlib/apriltag: Add floating point centroid. 2023-04-17 17:20:49 -07:00
Kwabena W. Agyeman
3fc55ad314 imlib/mjpeg: Vastly improve MJPEG code. 2023-04-08 15:38:40 -07:00
iabdalkader
2ec70fbbaa imlib: Fix redefined assert error on some builds. 2023-03-14 17:57:44 +01:00
Ibrahim Abdelkader
580fea18ec
Merge pull request #1738 from openmv/fix_unsigned_minmax
imlib: Fix possible signed/unsigned comparisons issues.
2022-10-16 15:16:32 +02:00
iabdalkader
a1f6e04d23 imlib: Fix possible signed/unsigned comparisons issues. 2022-10-16 15:08:43 +02:00
iabdalkader
20b12228dd imlib: Detect comparison between signed and unsigned in MIN/MAX macros. 2022-10-16 15:08:40 +02:00
Kwabena W. Agyeman
c6f9aceb2a imlib: Fix Draw Image Area Scaling. 2022-09-25 19:16:21 -07:00
Kwabena W. Agyeman
29b836d342 imlib: Fix image scaler ROI support. 2022-09-22 10:14:17 -07:00
Ibrahim Abdelkader
e06cf95754
Merge pull request #1660 from kwagyeman/kwabena/stereo_disparity
imlib: Add Support for Stereo Disparity for the Arduino Portenta.
2022-06-14 21:19:34 +02:00
Kwabena W. Agyeman
ac202ab854 imlib: Add Support for Stereo Disparity for the Arduino Portenta. 2022-06-13 21:31:33 -07:00
iabdalkader
17fd6fbe4e imlib: Optimize fmath ceilf and floorf functions. 2022-06-08 22:30:52 +02:00
Ibrahim Abdelkader
dfcc649aae
Merge pull request #1605 from kwagyeman/kwabena/fix_black_lines
imlib: Fix black lines on first frame.
2022-05-06 19:39:09 +02:00
Larry Bank
5de385ed46 imlib: Fix SIMD YCbCr to RGB conversion.
* Fixes #1597
2022-04-09 12:08:14 +02:00
Kwabena W. Agyeman
7c5fa8641d imlib: Fix black lines on first frame. 2022-04-03 16:42:59 -07:00
Ibrahim Abdelkader
92da636906
Merge pull request #1606 from kwagyeman/kwabena/openmvpt_cache_fixes
imlib: Fix py_lcd cache alignment and handling.
2022-04-03 09:10:17 +02:00
Kwabena W. Agyeman
4e62482d5f imlib: Fix cache usage for the OpenMV PT for its LCD. 2022-04-02 17:49:30 -07:00
dianjixz
3bdae6d7e2
imlib: Fix quad_segment_maxima memory leak.
Memory forgot to free when nmaxima is least 4 maxima.
2022-03-30 16:21:49 +08:00
iabdalkader
c0e3a17919 boards: Remove raw FB size macro.
* This old macro is very easy to miss when updating OMV_FB_SIZE.
* Use a linker script variable to get the raw framebuffer size.
2022-03-04 01:55:30 +02:00
iabdalkader
38c26cec92 imlib: Add hardware JPEG decoder support. 2022-02-27 20:23:16 +02:00
iabdalkader
b5b26ff390 imlib: Fix JPEG decompress buffers cache alignment. 2022-02-27 17:34:40 +02:00
iabdalkader
421a685370 imlib: Update JPEG decoder and fix memory issues.
* Fix MemManage fault on decoding odd images.
* Support decoding YCBCR to Grayscale.
* Support decoding Grayscale to RGB565.
* Minor formatting fixes.
* Use a single decompress function for all formats.
* Fixes #1550
2022-02-27 16:14:49 +02:00
Ibrahim Abdelkader
3551d6d280
Merge pull request #1554 from openmv/jpeg_callbacks
imlib: Enable hardware JPEG callbacks.
2022-02-26 03:04:48 +02:00
iabdalkader
490ce48b54 imlib: Enable hardware JPEG callbacks. 2022-02-26 02:58:55 +02:00
dianjixz
aa614370df
imlib: Fix imlib_rgb565_to_l output.
It should not be negative when the imlib_rgb565_to_l function input is zero, e.g. y=0.137931f, fast_floorf(116 * 0.137931f) = 15.999996,  15.999996 - 16 < 0.
2022-02-24 13:57:36 +08:00
Kwabena W. Agyeman
f12a4659c8 Add PNG Support 2022-01-27 03:04:59 +02:00
iabdalkader
4dac638338 Lodepng updates.
* Configure the library for OpenMV.
* Reverse bit format endianness.
* Add a custom color conversion callback.
* Make RGB to GS conversion use channels average.
2022-01-27 03:04:41 +02:00
iabdalkader
f6ea2d4deb Add lodepng PND decoder/encoder. 2022-01-27 03:02:23 +02:00
iabdalkader
1c6b452bba * Invalidate framebuffer cache before using.
* Fixes #1407
2022-01-09 21:06:29 +02:00
Kwabena W. Agyeman
165408f3c8 Fix jpeg loading 2021-12-28 19:04:38 -08:00
Ibrahim Abd Elkader
d322bcf0de
Merge pull request #1460 from kwagyeman/kwabena/fix_network_usage_in_scripts
Kwabena/fix network usage in scripts
2021-10-18 21:05:04 +02:00
Kwabena W. Agyeman
2603c12854 Fix IS_JPEG 2021-10-16 21:49:36 -07:00
Ibrahim Abd Elkader
58e89f124a
Merge pull request #1455 from kwagyeman/kwabena/frog_eye
Add basic frogeye2020 driver
2021-10-16 22:47:14 +02:00
Kwabena W. Agyeman
899f80759f Fix errode/dilate to work on non-white pixels 2021-10-16 12:10:24 -07:00
Kwabena W. Agyeman
7c684670ca Move find_line_segments to draw image 2021-09-25 12:57:33 -07:00
Kwabena W. Agyeman
cfa0748a05 Fix memory allocation order 2021-09-22 15:26:44 -07:00
Kwabena W. Agyeman
66bfdd3854 find tags now use draw_image 2021-09-21 21:20:35 -07:00
Kwabena W. Agyeman
bf447e5599 Add yuv image processing support 2021-09-19 09:42:28 -07:00
Kwabena W. Agyeman
3ed668ab5b Add full debayering support 2021-09-09 14:18:57 -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
Laurence Bank
be80eb442a fixed overflow situation for jpeg encoding 2021-09-04 11:36:55 +01:00
Laurence Bank
2bc29c766b Fixed overflow situation 2021-08-31 16:24:27 +01:00
Laurence Bank
68654e70a9 speed up software JPEG encoding by about 10% with improved bit handling 2021-08-16 20:51:54 +01:00