diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 17:06:04 +0300 |
commit | 1039b2829a264280493ba0fa979214fe024dc70c (patch) | |
tree | 8fa6a60eb46627582c372b56a4a1d4754d6732c3 /libs/freeimage/src/FreeImageToolkit/ClassicRotate.cpp | |
parent | 62a186697df33c96dc1a6dac0f4dfc38652fb96f (diff) |
WORD -> uint16_t
Diffstat (limited to 'libs/freeimage/src/FreeImageToolkit/ClassicRotate.cpp')
-rw-r--r-- | libs/freeimage/src/FreeImageToolkit/ClassicRotate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/freeimage/src/FreeImageToolkit/ClassicRotate.cpp b/libs/freeimage/src/FreeImageToolkit/ClassicRotate.cpp index 18088debff..2ccb25739b 100644 --- a/libs/freeimage/src/FreeImageToolkit/ClassicRotate.cpp +++ b/libs/freeimage/src/FreeImageToolkit/ClassicRotate.cpp @@ -42,7 +42,7 @@ /** Skews a row horizontally (with filtered weights). Limited to 45 degree skewing only. Filters two adjacent pixels. -Parameter T can be uint8_t, WORD of float. +Parameter T can be uint8_t, uint16_t of float. @param src Pointer to source image to rotate @param dst Pointer to destination image @param row Row index @@ -160,7 +160,7 @@ HorizontalSkew(FIBITMAP *src, FIBITMAP *dst, int row, int iOffset, double dWeigh case FIT_UINT16: case FIT_RGB16: case FIT_RGBA16: - HorizontalSkewT<WORD>(src, dst, row, iOffset, dWeight, bkcolor); + HorizontalSkewT<uint16_t>(src, dst, row, iOffset, dWeight, bkcolor); break; case FIT_FLOAT: case FIT_RGBF: @@ -173,7 +173,7 @@ HorizontalSkew(FIBITMAP *src, FIBITMAP *dst, int row, int iOffset, double dWeigh /** Skews a column vertically (with filtered weights). Limited to 45 degree skewing only. Filters two adjacent pixels. -Parameter T can be uint8_t, WORD of float. +Parameter T can be uint8_t, uint16_t of float. @param src Pointer to source image to rotate @param dst Pointer to destination image @param col Column index @@ -299,7 +299,7 @@ VerticalSkew(FIBITMAP *src, FIBITMAP *dst, int col, int iOffset, double dWeight, case FIT_UINT16: case FIT_RGB16: case FIT_RGBA16: - VerticalSkewT<WORD>(src, dst, col, iOffset, dWeight, bkcolor); + VerticalSkewT<uint16_t>(src, dst, col, iOffset, dWeight, bkcolor); break; case FIT_FLOAT: case FIT_RGBF: |