1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef MOZILLA_GFX_2D_SSSE3_SCALER_H_ 8 #define MOZILLA_GFX_2D_SSSE3_SCALER_H_ 9 10 #include <stdbool.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 bool ssse3_scale_data(uint32_t* src, int src_width, int src_height, 16 int src_stride, uint32_t* dest, int dest_width, 17 int dest_height, int dest_rowstride, int x, int y, 18 int width, int height); 19 #ifdef __cplusplus 20 } 21 #endif 22 23 #endif // MOZILLA_GFX_2D_SSS3_SCALER_H_ 24