diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-07 15:53:37 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-07 15:53:37 +0200 |
commit | cd4da92df48738574c832d9badefd9c542fc6149 (patch) | |
tree | 645f48ad2b1892ed64bb9b1eeacd61e5a23994b6 /gfx/2d/ssse3-scaler.h | |
parent | f3657d6b4d4b30574a43a886bed6945590bf1508 (diff) | |
download | uxp-cd4da92df48738574c832d9badefd9c542fc6149.tar.gz |
Improve the SSSE3 scaler.
Diffstat (limited to 'gfx/2d/ssse3-scaler.h')
-rw-r--r-- | gfx/2d/ssse3-scaler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gfx/2d/ssse3-scaler.h b/gfx/2d/ssse3-scaler.h index b3b53ed643..ea8d8a0663 100644 --- a/gfx/2d/ssse3-scaler.h +++ b/gfx/2d/ssse3-scaler.h @@ -6,10 +6,12 @@ #ifndef MOZILLA_GFX_2D_SSSE3_SCALER_H_ #define MOZILLA_GFX_2D_SSSE3_SCALER_H_ +#include <stdbool.h> + #ifdef __cplusplus extern "C" { #endif -void ssse3_scale_data(uint32_t *src, int src_width, int src_height, +bool ssse3_scale_data(uint32_t *src, int src_width, int src_height, int src_stride, uint32_t *dest, int dest_width, int dest_height, int dest_rowstride, |