1- '' FreeBASIC binding for SDL_gfx-2.0.13
1+ '' FreeBASIC binding for SDL_gfx-2.0.26
22''
33'' based on the C header files:
4- '' LGPL (c) A. Schiffler
4+ '' Copyright (C) 2001-2013 Andreas Schiffler
5+ ''
6+ '' This software is provided 'as-is', without any express or implied
7+ '' warranty. In no event will the authors be held liable for any damages
8+ '' arising from the use of this software.
9+ ''
10+ '' Permission is granted to anyone to use this software for any purpose,
11+ '' including commercial applications, and to alter it and redistribute it
12+ '' freely, subject to the following restrictions:
13+ ''
14+ '' 1. The origin of this software must not be misrepresented; you must not
15+ '' claim that you wrote the original software. If you use this software
16+ '' in a product, an acknowledgment in the product documentation would be
17+ '' appreciated but is not required.
18+ ''
19+ '' 2. Altered source versions must be plainly marked as such, and must not be
20+ '' misrepresented as being the original software.
21+ ''
22+ '' 3. This notice may not be removed or altered from any source
23+ '' distribution.
24+ ''
25+ '' Andreas Schiffler -- aschiffler at ferzkopp dot net
526''
627'' translated to FreeBASIC by:
7- '' Copyright © 2015 FreeBASIC development team
28+ '' Copyright © 2020 FreeBASIC development team
829
930#pragma once
1031
@@ -16,33 +37,33 @@ extern "C"
1637declare function SDL_imageFilterMMXdetect() as long
1738declare sub SDL_imageFilterMMXoff()
1839declare sub SDL_imageFilterMMXon()
19- declare function SDL_imageFilterAdd( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
20- declare function SDL_imageFilterMean( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
21- declare function SDL_imageFilterSub( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
22- declare function SDL_imageFilterAbsDiff( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
23- declare function SDL_imageFilterMult( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
24- declare function SDL_imageFilterMultNor( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
25- declare function SDL_imageFilterMultDivby2( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
26- declare function SDL_imageFilterMultDivby4( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
27- declare function SDL_imageFilterBitAnd( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
28- declare function SDL_imageFilterBitOr( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
29- declare function SDL_imageFilterDiv( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
30- declare function SDL_imageFilterBitNegation( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long ) as long
31- declare function SDL_imageFilterAddByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval C as ubyte) as long
32- declare function SDL_imageFilterAddUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval C as ulong) as long
33- declare function SDL_imageFilterAddByteToHalf( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval C as ubyte) as long
34- declare function SDL_imageFilterSubByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval C as ubyte) as long
35- declare function SDL_imageFilterSubUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval C as ulong) as long
36- declare function SDL_imageFilterShiftRight( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval N as ubyte) as long
37- declare function SDL_imageFilterShiftRightUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval N as ubyte) as long
38- declare function SDL_imageFilterMultByByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval C as ubyte) as long
39- declare function SDL_imageFilterShiftRightAndMultByByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval N as ubyte, byval C as ubyte) as long
40- declare function SDL_imageFilterShiftLeftByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval N as ubyte) as long
41- declare function SDL_imageFilterShiftLeftUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval N as ubyte) as long
42- declare function SDL_imageFilterShiftLeft( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval N as ubyte) as long
43- declare function SDL_imageFilterBinarizeUsingThreshold( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval T as ubyte) as long
44- declare function SDL_imageFilterClipToRange( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval Tmin as ubyte, byval Tmax as ubyte) as long
45- declare function SDL_imageFilterNormalizeLinear( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as long , byval Cmin as long , byval Cmax as long , byval Nmin as long , byval Nmax as long ) as long
40+ declare function SDL_imageFilterAdd( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
41+ declare function SDL_imageFilterMean( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
42+ declare function SDL_imageFilterSub( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
43+ declare function SDL_imageFilterAbsDiff( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
44+ declare function SDL_imageFilterMult( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
45+ declare function SDL_imageFilterMultNor( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
46+ declare function SDL_imageFilterMultDivby2( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
47+ declare function SDL_imageFilterMultDivby4( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
48+ declare function SDL_imageFilterBitAnd( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
49+ declare function SDL_imageFilterBitOr( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
50+ declare function SDL_imageFilterDiv( byval Src1 as ubyte ptr, byval Src2 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
51+ declare function SDL_imageFilterBitNegation( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong ) as long
52+ declare function SDL_imageFilterAddByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval C as ubyte) as long
53+ declare function SDL_imageFilterAddUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval C as ulong) as long
54+ declare function SDL_imageFilterAddByteToHalf( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval C as ubyte) as long
55+ declare function SDL_imageFilterSubByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval C as ubyte) as long
56+ declare function SDL_imageFilterSubUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval C as ulong) as long
57+ declare function SDL_imageFilterShiftRight( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval N as ubyte) as long
58+ declare function SDL_imageFilterShiftRightUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval N as ubyte) as long
59+ declare function SDL_imageFilterMultByByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval C as ubyte) as long
60+ declare function SDL_imageFilterShiftRightAndMultByByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval N as ubyte, byval C as ubyte) as long
61+ declare function SDL_imageFilterShiftLeftByte( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval N as ubyte) as long
62+ declare function SDL_imageFilterShiftLeftUint( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval N as ubyte) as long
63+ declare function SDL_imageFilterShiftLeft( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval N as ubyte) as long
64+ declare function SDL_imageFilterBinarizeUsingThreshold( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval T as ubyte) as long
65+ declare function SDL_imageFilterClipToRange( byval Src1 as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval Tmin as ubyte, byval Tmax as ubyte) as long
66+ declare function SDL_imageFilterNormalizeLinear( byval Src as ubyte ptr, byval Dest as ubyte ptr, byval length as ulong , byval Cmin as long , byval Cmax as long , byval Nmin as long , byval Nmax as long ) as long
4667declare function SDL_imageFilterConvolveKernel3x3Divide( byval Src as ubyte ptr, byval Dest as ubyte ptr, byval rows as long , byval columns as long , byval Kernel as short ptr, byval Divisor as ubyte) as long
4768declare function SDL_imageFilterConvolveKernel5x5Divide( byval Src as ubyte ptr, byval Dest as ubyte ptr, byval rows as long , byval columns as long , byval Kernel as short ptr, byval Divisor as ubyte) as long
4869declare function SDL_imageFilterConvolveKernel7x7Divide( byval Src as ubyte ptr, byval Dest as ubyte ptr, byval rows as long , byval columns as long , byval Kernel as short ptr, byval Divisor as ubyte) as long
0 commit comments