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
iabdalkader
d6b3b5a02f
imlib: Fix framebuffer_get_buffer_size().
...
If the frame size is set, the memory for each buffer can be reduced,
freeing up space for fb_alloc(). However this can only be done if
the camera interface supports hardware cropping, i.e., the actual
frame size will match the specified window size, otherwise the
frame buffer size needs to stay the same.
2024-07-31 20:22:22 +03:00
iabdalkader
c9de724be0
misc: Rename JPEG buffer size.
2024-06-30 17:32:13 +02:00
Kwabena W. Agyeman
cc823e2fbb
ports: Fix accidental CPU cache invalidation.
2024-06-18 22:04:31 -07:00
iabdalkader
80fce781ab
imlib: Invalidate vbuffers before returning them.
...
* Fixes #2216
2024-05-20 22:59:35 +02:00
Kwabena W. Agyeman
b037b2208a
modules/py_image: Add support to control jpeg subsampling.
2024-03-20 10:33:56 -07: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
9999e0a9ea
imlib: Combine framebuffer reset and flush.
...
To simplify the API, a single function is now used to flush old
frames only, or reset and drop all frames.
2024-01-26 09:05:45 +02:00
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
iabdalkader
35ed56310d
misc: Format code.
2023-07-02 21:49:23 +02:00
Kwabena W. Agyeman
7c5fa8641d
imlib: Fix black lines on first frame.
2022-04-03 16:42:59 -07: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
Kwabena W. Agyeman
f12a4659c8
Add PNG Support
2022-01-27 03:04:59 +02:00
iabdalkader
1c6b452bba
* Invalidate framebuffer cache before using.
...
* Fixes #1407
2022-01-09 21:06:29 +02: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
Kwabena W. Agyeman
ada18eceed
Fix mutex init
2021-05-13 07:32:08 -07:00
Kwabena W. Agyeman
8150459399
Make frame buffer readout locking more fair
2021-05-04 22:02:14 -07:00
Kwabena W. Agyeman
9dd90ae55f
Add support for double buffer, triple buffering, and video fifo
2021-04-15 18:13:40 -07:00
iabdalkader
5c6937bd14
Remove update_jpeg_buffer arg.
2021-04-05 02:59:30 +02:00
iabdalkader
ffdbca8cc4
Change update_jpeg_buffer arg to bool.
...
* Will be used to swap buffers later.
2021-04-05 02:10:20 +02:00
iabdalkader
d28b14e175
Make JPEG buffer update use image source arg.
2021-04-03 21:06:19 +02:00
iabdalkader
aeb7539cfa
Update license date.
2021-02-14 16:47:45 +02:00
iabdalkader
55cde3ff08
Move framebuffer initialization to framebuffer.c
...
* This decouples the framebuffer from the sensor
2020-12-30 01:33:02 +02:00
iabdalkader
bc6d1d22f0
Split code into common and port specific code.
2020-12-18 00:59:28 +02:00