1SDL::GFX::ImageFilter(3U)ser Contributed Perl DocumentatiSoDnL::GFX::ImageFilter(3)
2
3
4

NAME

6       SDL::GFX::ImageFilter - image filtering functions
7

CATEGORY

9       TODO, GFX
10

METHODS

12   MMX_detect
13       int gfx_image_MMX_detect()      CODE:
14                 SDL_imageFilterMMXdetect();
15
16   MMX_off
17       void gfx_image_MMX_off()      CODE:           SDL_imageFilterMMXoff();
18
19   MMX_on
20       void gfx_image_MMX_on()      CODE:           SDL_imageFilterMMXon();
21
22   add
23       int gfx_image_add(Src1, Src2, Dest, length)      unsigned char *Src1
24            unsigned char *Src2      unsigned char *Dest      int length
25            CODE:           RETVAL = SDL_imageFilterAdd(Src1, Src2, Dest,
26       length);      OUTPUT:           RETVAL
27
28   mean
29       int gfx_image_mean(Src1, Src2, Dest, length)      unsigned char *Src1
30            unsigned char *Src2      unsigned char *Dest      int length
31            CODE:           RETVAL = SDL_imageFilterMean(Src1, Src2, Dest,
32       length);      OUTPUT:           RETVAL
33
34   sub
35       int gfx_image_sub(Src1, Src2, Dest, length)      unsigned char *Src1
36            unsigned char *Src2      unsigned char *Dest      int length
37            CODE:           RETVAL = SDL_imageFilterSub(Src1, Src2, Dest,
38       length);      OUTPUT:           RETVAL
39
40   abs_diff
41       int gfx_image_abs_diff(Src1, Src2, Dest, length)      unsigned char
42       *Src1      unsigned char *Src2      unsigned char *Dest      int length
43            CODE:           RETVAL = SDL_imageFilterAbsDiff(Src1, Src2, Dest,
44       length);      OUTPUT:           RETVAL
45
46   mult
47       int gfx_image_mult(Src1, Src2, Dest, length)      unsigned char *Src1
48            unsigned char *Src2      unsigned char *Dest      int length
49            CODE:           RETVAL = SDL_imageFilterMult(Src1, Src2, Dest,
50       length);      OUTPUT:           RETVAL
51
52   mult_nor
53       int gfx_image_mult_nor(Src1, Src2, Dest, length)      unsigned char
54       *Src1      unsigned char *Src2      unsigned char *Dest      int length
55            CODE:           RETVAL = SDL_imageFilterMultNor(Src1, Src2, Dest,
56       length);      OUTPUT:           RETVAL
57
58   mult_div_by_2
59       int gfx_image_mult_div_by_2(Src1, Src2, Dest, length)      unsigned
60       char *Src1      unsigned char *Src2      unsigned char *Dest      int
61       length      CODE:           RETVAL = SDL_imageFilterMultDivby2(Src1,
62       Src2, Dest, length);      OUTPUT:           RETVAL
63
64   mult_div_by_4
65       int gfx_image_mult_div_by_4(Src1, Src2, Dest, length)      unsigned
66       char *Src1      unsigned char *Src2      unsigned char *Dest      int
67       length      CODE:           RETVAL = SDL_imageFilterMultDivby4(Src1,
68       Src2, Dest, length);      OUTPUT:           RETVAL
69
70   bit_and
71       int gfx_image_bit_and(Src1, Src2, Dest, length)      unsigned char
72       *Src1      unsigned char *Src2      unsigned char *Dest      int length
73            CODE:           RETVAL = SDL_imageFilterBitAnd(Src1, Src2, Dest,
74       length);      OUTPUT:           RETVAL
75
76   bit_or
77       int gfx_image_bit_or(Src1, Src2, Dest, length)      unsigned char *Src1
78            unsigned char *Src2      unsigned char *Dest      int length
79            CODE:           RETVAL = SDL_imageFilterBitOr(Src1, Src2, Dest,
80       length);      OUTPUT:           RETVAL
81
82   div
83       int gfx_image_div(Src1, Src2, Dest, length)      unsigned char *Src1
84            unsigned char *Src2      unsigned char *Dest      int length
85            CODE:           RETVAL = SDL_imageFilterDiv(Src1, Src2, Dest,
86       length);      OUTPUT:           RETVAL
87
88   bit_negation
89       int gfx_image_bit_negation(Src1, Dest, length)      unsigned char *Src1
90            unsigned char *Dest      int length      CODE:           RETVAL =
91       SDL_imageFilterBitNegation(Src1, Dest, length);      OUTPUT:
92                 RETVAL
93
94   add_byte
95       int gfx_image_add_byte(Src1, Dest, length, C)      unsigned char *Src1
96            unsigned char *Dest      int length      unsigned char C
97            CODE:           RETVAL = SDL_imageFilterAddByte(Src1, Dest,
98       length, C);      OUTPUT:           RETVAL
99
100   add_uint
101       int gfx_image_add_uint(Src1, Dest, length, C)      unsigned char *Src1
102            unsigned char *Dest      int length      unsigned int C      CODE:
103                 RETVAL = SDL_imageFilterAddUint(Src1, Dest, length, C);
104            OUTPUT:           RETVAL
105
106   add_byte_to_half
107       int gfx_image_add_byte_to_half(Src1, Dest, length, C)      unsigned
108       char *Src1      unsigned char *Dest      int length      unsigned char
109       C      CODE:           RETVAL = SDL_imageFilterAddByteToHalf(Src1,
110       Dest, length, C);      OUTPUT:           RETVAL
111
112   sub_byte
113       int gfx_image_sub_byte(Src1, Dest, length, C)      unsigned char *Src1
114            unsigned char *Dest      int length      unsigned char C
115            CODE:           RETVAL = SDL_imageFilterSubByte(Src1, Dest,
116       length, C);      OUTPUT:           RETVAL
117
118   sub_uint
119       int gfx_image_sub_uint(Src1, Dest, length, C)      unsigned char *Src1
120            unsigned char *Dest      int length      unsigned int C      CODE:
121                 RETVAL = SDL_imageFilterSubUint(Src1, Dest, length, C);
122            OUTPUT:           RETVAL
123
124   shift_right
125       int gfx_image_shift_right(Src1, Dest, length, N)      unsigned char
126       *Src1      unsigned char *Dest      int length      unsigned char N
127            CODE:           RETVAL = SDL_imageFilterShiftRight(Src1, Dest,
128       length, N);      OUTPUT:           RETVAL
129
130   shift_right_uint
131       int gfx_image_shift_right_uint(Src1, Dest, length, N)      unsigned
132       char *Src1      unsigned char *Dest      int length      unsigned char
133       N      CODE:           RETVAL = SDL_imageFilterShiftRightUint(Src1,
134       Dest, length, N);      OUTPUT:           RETVAL
135
136   mult_by_byte
137       int gfx_image_mult_by_byte(Src1, Dest, length, C)      unsigned char
138       *Src1      unsigned char *Dest      int length      unsigned char C
139            CODE:           RETVAL = SDL_imageFilterMultByByte(Src1, Dest,
140       length, C);      OUTPUT:           RETVAL
141
142   shift_right_and_mult_by_byte
143       int gfx_image_shift_right_and_mult_by_byte(Src1, Dest, length, N, C)
144            unsigned char *Src1      unsigned char *Dest      int length
145            unsigned char N      unsigned char C      CODE:           RETVAL =
146       SDL_imageFilterShiftRightAndMultByByte(Src1, Dest, length, N, C);
147            OUTPUT:           RETVAL
148
149   shift_left_byte
150       int gfx_image_shift_left_byte(Src1, Dest, length, N)      unsigned char
151       *Src1      unsigned char *Dest      int length      unsigned char N
152            CODE:           RETVAL = SDL_imageFilterShiftLeftByte(Src1, Dest,
153       length, N);      OUTPUT:           RETVAL
154
155   shift_left_uint
156       int gfx_image_shift_left_uint(Src1, Dest, length, N)      unsigned char
157       *Src1      unsigned char *Dest      int length      unsigned char N
158            CODE:           RETVAL = SDL_imageFilterShiftLeftUint(Src1, Dest,
159       length, N);      OUTPUT:           RETVAL
160
161   shift_left
162       int gfx_image_shift_left(Src1, Dest, length, N)      unsigned char
163       *Src1      unsigned char *Dest      int length      unsigned char N
164            CODE:           RETVAL = SDL_imageFilterShiftLeft(Src1, Dest,
165       length, N);      OUTPUT:           RETVAL
166
167   binarize_using_threshold
168       int gfx_image_binarize_using_threshold(Src1, Dest, length, T)
169            unsigned char *Src1      unsigned char *Dest      int length
170            unsigned char T      CODE:           RETVAL =
171       SDL_imageFilterBinarizeUsingThreshold(Src1, Dest, length, T);
172            OUTPUT:           RETVAL
173
174   clip_to_range
175       int gfx_image_clip_to_range(Src1, Dest, length, Tmin, Tmax)
176            unsigned char *Src1      unsigned char *Dest      int length
177            unsigned char Tmin      unsigned char Tmax      CODE:
178                 RETVAL = SDL_imageFilterClipToRange(Src1, Dest, length, Tmin,
179       Tmax);      OUTPUT:           RETVAL
180
181   normalize_linear
182       int gfx_image_normalize_linear(Src1, Dest, length, Cmin, Cmax, Nmin,
183       Nmax)      unsigned char *Src1      unsigned char *Dest      int length
184            int Cmin      int Cmax      int Nmin      int Nmax      CODE:
185                 RETVAL = SDL_imageFilterNormalizeLinear(Src1, Dest, length,
186       Cmin, Cmax, Nmin, Nmax);      OUTPUT:           RETVAL
187
188   convolve_kernel_3x3_divide
189       int gfx_image_convolve_kernel_3x3_divide(Src, Dest, rows, columns,
190       Kernel, Divisor)      unsigned char *Src      unsigned char *Dest
191            int rows      int columns      Sint16 *Kernel      unsigned char
192       Divisor      CODE:           RETVAL =
193       SDL_imageFilterConvolveKernel3x3Divide(Src, Dest, rows, columns,
194       Kernel, Divisor);      OUTPUT:           RETVAL
195
196   convolve_kernel_5x5_divide
197       int gfx_image_convolve_kernel_5x5_divide(Src, Dest, rows, columns,
198       Kernel, Divisor)      unsigned char *Src      unsigned char *Dest
199            int rows      int columns      Sint16 *Kernel      unsigned char
200       Divisor      CODE:           RETVAL =
201       SDL_imageFilterConvolveKernel5x5Divide(Src, Dest, rows, columns,
202       Kernel, Divisor);      OUTPUT:           RETVAL
203
204   convolve_kernel_7x7_divide
205       int gfx_image_convolve_kernel_7x7_divide(Src, Dest, rows, columns,
206       Kernel, Divisor)      unsigned char *Src      unsigned char *Dest
207            int rows      int columns      Sint16 *Kernel      unsigned char
208       Divisor      CODE:           RETVAL =
209       SDL_imageFilterConvolveKernel7x7Divide(Src, Dest, rows, columns,
210       Kernel, Divisor);      OUTPUT:           RETVAL
211
212   convolve_kernel_9x9_divide
213       int gfx_image_convolve_kernel_9x9_divide(Src, Dest, rows, columns,
214       Kernel, Divisor)      unsigned char *Src      unsigned char *Dest
215            int rows      int columns      Sint16 *Kernel      unsigned char
216       Divisor      CODE:           RETVAL =
217       SDL_imageFilterConvolveKernel9x9Divide(Src, Dest, rows, columns,
218       Kernel, Divisor);      OUTPUT:           RETVAL
219
220   convolve_kernel_3x3_shift_right
221       int gfx_image_convolve_kernel_3x3_shift_right(Src, Dest, rows, columns,
222       Kernel, NRightShift)      unsigned char *Src      unsigned char *Dest
223            int rows      int columns      Sint16 *Kernel      unsigned char
224       NRightShift      CODE:           RETVAL =
225       SDL_imageFilterConvolveKernel3x3ShiftRight(Src, Dest, rows, columns,
226       Kernel, NRightShift);      OUTPUT:           RETVAL
227
228   convolve_kernel_5x5_shift_right
229       int gfx_image_convolve_kernel_5x5_shift_right(Src, Dest, rows, columns,
230       Kernel, NRightShift)      unsigned char *Src      unsigned char *Dest
231            int rows      int columns      Sint16 *Kernel      unsigned char
232       NRightShift      CODE:           RETVAL =
233       SDL_imageFilterConvolveKernel5x5ShiftRight(Src, Dest, rows, columns,
234       Kernel, NRightShift);      OUTPUT:           RETVAL
235
236   convolve_kernel_7x7_shift_right
237       int gfx_image_convolve_kernel_7x7_shift_right(Src, Dest, rows, columns,
238       Kernel, NRightShift)      unsigned char *Src      unsigned char *Dest
239            int rows      int columns      Sint16 *Kernel      unsigned char
240       NRightShift      CODE:           RETVAL =
241       SDL_imageFilterConvolveKernel7x7ShiftRight(Src, Dest, rows, columns,
242       Kernel, NRightShift);      OUTPUT:           RETVAL
243
244   convolve_kernel_9x9_shift_right
245       int gfx_image_convolve_kernel_9x9_shift_right(Src, Dest, rows, columns,
246       Kernel, NRightShift)      unsigned char *Src      unsigned char *Dest
247            int rows      int columns      Sint16 *Kernel      unsigned char
248       NRightShift      CODE:           RETVAL =
249       SDL_imageFilterConvolveKernel9x9ShiftRight(Src, Dest, rows, columns,
250       Kernel, NRightShift);      OUTPUT:           RETVAL
251
252   sobel_x
253       int gfx_image_sobel_x(Src, Dest, rows, columns)      unsigned char *Src
254            unsigned char *Dest      int rows      int columns      CODE:
255                 RETVAL = SDL_imageFilterSobelX(Src, Dest, rows, columns);
256            OUTPUT:           RETVAL
257
258   sobel_x_shift_right
259       int gfx_image_sobel_x_shift_right(Src, Dest, rows, columns,
260       NRightShift)      unsigned char *Src      unsigned char *Dest      int
261       rows      int columns      unsigned char NRightShift      CODE:
262                 RETVAL = SDL_imageFilterSobelXShiftRight(Src, Dest, rows,
263       columns, NRightShift);      OUTPUT:           RETVAL
264
265   align_stack
266       void gfx_image_align_stack()      CODE:
267                 SDL_imageFilterAlignStack();
268
269   restore_stack
270       void gfx_image_restore_stack()      CODE:
271                 SDL_imageFilterRestoreStack();
272

AUTHORS

274       See "AUTHORS" in SDL.
275
276
277
278perl v5.28.1                      2019-02-02          SDL::GFX::ImageFilter(3)
Impressum