Commit Graph

7 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
84cca7c6ca modules/py_image: Optimize invert and negate. 2024-02-10 11:54:26 -08: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
iabdalkader
35ed56310d misc: Format code. 2023-07-02 21:49:23 +02:00
Kwabena W. Agyeman
899f80759f Fix errode/dilate to work on non-white pixels 2021-10-16 12:10:24 -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
aeb7539cfa Update license date. 2021-02-14 16:47:45 +02:00
iabdalkader
bc6d1d22f0 Split code into common and port specific code. 2020-12-18 00:59:28 +02:00