diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-05-27 18:38:14 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-21 19:58:56 +0900 |
| commit | af121719c99a99fc3444d181777a6177f0d59dba (patch) | |
| tree | 786cf8548c92daf560733278701d95d3079b1d2f /kernel/include/ksquirrel-libs/fmt_utils.h | |
| parent | 5b8d2d73599f1a06c2106ef71b9774dada86e076 (diff) | |
| download | libksquirrel-af121719c99a99fc3444d181777a6177f0d59dba.tar.gz libksquirrel-af121719c99a99fc3444d181777a6177f0d59dba.zip | |
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kernel/include/ksquirrel-libs/fmt_utils.h')
| -rw-r--r-- | kernel/include/ksquirrel-libs/fmt_utils.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kernel/include/ksquirrel-libs/fmt_utils.h b/kernel/include/ksquirrel-libs/fmt_utils.h index 1ab42e3..b320b08 100644 --- a/kernel/include/ksquirrel-libs/fmt_utils.h +++ b/kernel/include/ksquirrel-libs/fmt_utils.h @@ -39,26 +39,26 @@ struct RGBA; namespace fmt_utils { - void fillAlpha(RGBA *scan, int w, u8 value = 255); + void LIBKSQUIRREL_EXPORT fillAlpha(RGBA *scan, int w, u8 value = 255); // flip the image vertically // usually BMP, SGI (or some other formats) need to be flipped - void flipv(s8 *image, s32 bytes_w, s32 h); + void LIBKSQUIRREL_EXPORT flipv(s8 *image, s32 bytes_w, s32 h); // flip the image horizontally - void fliph(s8 *image, s32 w, s32 h, s32 bpp); + void LIBKSQUIRREL_EXPORT fliph(s8 *image, s32 w, s32 h, s32 bpp); // Big endian to Little endian conversion - u16 konvertWord(u16 a); - u32 konvertLong(u32 a); + u16 LIBKSQUIRREL_EXPORT konvertWord(u16 a); + u32 LIBKSQUIRREL_EXPORT konvertLong(u32 a); // return color system name by bpp. // for example 32 bpp means RGBA image, 1 bpp - monochrome - std::string colorSpaceByBpp(const s32 bpp); + std::string LIBKSQUIRREL_EXPORT colorSpaceByBpp(const s32 bpp); - void expandMono1Byte(const u32 byte, u8 *array); - void expandMono2Byte(const u32 byte, u8 *array); - void expandMono4Byte(const u32 byte, u8 *array); + void LIBKSQUIRREL_EXPORT expandMono1Byte(const u32 byte, u8 *array); + void LIBKSQUIRREL_EXPORT expandMono2Byte(const u32 byte, u8 *array); + void LIBKSQUIRREL_EXPORT expandMono4Byte(const u32 byte, u8 *array); } #endif |
