Improve the SSSE3 scaler.

This commit is contained in:
wolfbeast 2018-06-07 15:53:37 +02:00 • committed by Roy Tam
commit a1fee5622b
3 changed files with 25 additions and 9 deletions

View file

@ -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,