summaryrefslogtreecommitdiffstats
path: root/gfx/2d/ssse3-scaler.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-06-07 15:53:37 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-06-07 15:53:37 +0200
commitcd4da92df48738574c832d9badefd9c542fc6149 (patch)
tree645f48ad2b1892ed64bb9b1eeacd61e5a23994b6 /gfx/2d/ssse3-scaler.h
parentf3657d6b4d4b30574a43a886bed6945590bf1508 (diff)
downloadUXP-cd4da92df48738574c832d9badefd9c542fc6149.tar
UXP-cd4da92df48738574c832d9badefd9c542fc6149.tar.gz
UXP-cd4da92df48738574c832d9badefd9c542fc6149.tar.lz
UXP-cd4da92df48738574c832d9badefd9c542fc6149.tar.xz
UXP-cd4da92df48738574c832d9badefd9c542fc6149.zip
Improve the SSSE3 scaler.
Diffstat (limited to 'gfx/2d/ssse3-scaler.h')
-rw-r--r--gfx/2d/ssse3-scaler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gfx/2d/ssse3-scaler.h b/gfx/2d/ssse3-scaler.h
index b3b53ed64..ea8d8a066 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,