Skip to content

Commit 0062ac4

Browse files
authored
Merge pull request #2473 from Starbuck5/smoothscale-intrinsics
Add SSE2 intrinsics smoothscale backend
2 parents b64c90d + 3027208 commit 0062ac4

File tree

4 files changed

+419
-4
lines changed

4 files changed

+419
-4
lines changed

src_c/simd_transform.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@
99

1010
// SSE2 functions
1111
#if defined(__SSE2__) || defined(PG_ENABLE_ARM_NEON)
12+
13+
// smoothscale filters
14+
void
15+
filter_shrink_X_SSE2(Uint8 *srcpix, Uint8 *dstpix, int height, int srcpitch,
16+
int dstpitch, int srcwidth, int dstwidth);
17+
void
18+
filter_shrink_Y_SSE2(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch,
19+
int dstpitch, int srcheight, int dstheight);
20+
void
21+
filter_expand_X_SSE2(Uint8 *srcpix, Uint8 *dstpix, int height, int srcpitch,
22+
int dstpitch, int srcwidth, int dstwidth);
23+
void
24+
filter_expand_Y_SSE2(Uint8 *srcpix, Uint8 *dstpix, int width, int srcpitch,
25+
int dstpitch, int srcheight, int dstheight);
26+
1227
#endif /* (defined(__SSE2__) || defined(PG_ENABLE_ARM_NEON)) */
1328

1429
// AVX2 functions

0 commit comments

Comments
 (0)