diff options
| author | George Hazan <ghazan@miranda.im> | 2021-12-26 16:39:04 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2021-12-26 16:39:04 +0300 |
| commit | 62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch) | |
| tree | 1437d0906218fae8827aed384026f2b7e656f4ac /libs/freeimage/src/FreeImage/Conversion16_555.cpp | |
| parent | fcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff) | |
BYTE -> uint8_t
Diffstat (limited to 'libs/freeimage/src/FreeImage/Conversion16_555.cpp')
| -rw-r--r-- | libs/freeimage/src/FreeImage/Conversion16_555.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/freeimage/src/FreeImage/Conversion16_555.cpp b/libs/freeimage/src/FreeImage/Conversion16_555.cpp index a51d9ee6a5..ae0a4b6d1a 100644 --- a/libs/freeimage/src/FreeImage/Conversion16_555.cpp +++ b/libs/freeimage/src/FreeImage/Conversion16_555.cpp @@ -32,7 +32,7 @@ // ---------------------------------------------------------- void DLL_CALLCONV -FreeImage_ConvertLine1To16_555(BYTE *target, BYTE *source, int width_in_pixels, RGBQUAD *palette) { +FreeImage_ConvertLine1To16_555(uint8_t *target, uint8_t *source, int width_in_pixels, RGBQUAD *palette) { WORD *new_bits = (WORD *)target; for (int cols = 0; cols < width_in_pixels; cols++) { @@ -43,7 +43,7 @@ FreeImage_ConvertLine1To16_555(BYTE *target, BYTE *source, int width_in_pixels, } void DLL_CALLCONV -FreeImage_ConvertLine4To16_555(BYTE *target, BYTE *source, int width_in_pixels, RGBQUAD *palette) { +FreeImage_ConvertLine4To16_555(uint8_t *target, uint8_t *source, int width_in_pixels, RGBQUAD *palette) { WORD *new_bits = (WORD *)target; BOOL lonibble = FALSE; int x = 0; @@ -64,7 +64,7 @@ FreeImage_ConvertLine4To16_555(BYTE *target, BYTE *source, int width_in_pixels, } void DLL_CALLCONV -FreeImage_ConvertLine8To16_555(BYTE *target, BYTE *source, int width_in_pixels, RGBQUAD *palette) { +FreeImage_ConvertLine8To16_555(uint8_t *target, uint8_t *source, int width_in_pixels, RGBQUAD *palette) { WORD *new_bits = (WORD *)target; for (int cols = 0; cols < width_in_pixels; cols++) { @@ -75,7 +75,7 @@ FreeImage_ConvertLine8To16_555(BYTE *target, BYTE *source, int width_in_pixels, } void DLL_CALLCONV -FreeImage_ConvertLine16_565_To16_555(BYTE *target, BYTE *source, int width_in_pixels) { +FreeImage_ConvertLine16_565_To16_555(uint8_t *target, uint8_t *source, int width_in_pixels) { WORD *src_bits = (WORD *)source; WORD *new_bits = (WORD *)target; @@ -87,7 +87,7 @@ FreeImage_ConvertLine16_565_To16_555(BYTE *target, BYTE *source, int width_in_pi } void DLL_CALLCONV -FreeImage_ConvertLine24To16_555(BYTE *target, BYTE *source, int width_in_pixels) { +FreeImage_ConvertLine24To16_555(uint8_t *target, uint8_t *source, int width_in_pixels) { WORD *new_bits = (WORD *)target; for (int cols = 0; cols < width_in_pixels; cols++) { @@ -98,7 +98,7 @@ FreeImage_ConvertLine24To16_555(BYTE *target, BYTE *source, int width_in_pixels) } void DLL_CALLCONV -FreeImage_ConvertLine32To16_555(BYTE *target, BYTE *source, int width_in_pixels) { +FreeImage_ConvertLine32To16_555(uint8_t *target, uint8_t *source, int width_in_pixels) { WORD *new_bits = (WORD *)target; for (int cols = 0; cols < width_in_pixels; cols++) { |
