2003-08-18 01:47:10 +00:00
|
|
|
#ifndef gimp_composite_sse2_h
|
|
|
|
#define gimp_composite_sse2_h
|
|
|
|
|
migrated to new (trimmer) code and removed dead code. Some beautification
* app/composite/make-install.py: migrated to new (trimmer) code and
removed dead code. Some beautification for generated code.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
All init() functions are also a run-time check and now expected to
return TRUE/FALSE if the particular set of compositing functions can
be used.
* app/composite/gimp-composite.c: No longer has to determine if
the particular set of compositing functions can be used.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
Regenerated
* app/composite/test-composite.c: Deprecated, removed. All tests are automatically
generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
* app/composite/Makefile.am: removed unused references to test-composite.c
2003-10-06 02:46:15 +00:00
|
|
|
extern gboolean gimp_composite_sse2_init (void);
|
2003-08-18 01:47:10 +00:00
|
|
|
|
|
|
|
/*
|
2006-04-12 12:49:29 +00:00
|
|
|
* The function gimp_composite_*_install() is defined in the code generated by make-install.py
|
|
|
|
* I hate to create a .h file just for that declaration, so I do it here (for now).
|
2003-08-18 01:47:10 +00:00
|
|
|
*/
|
migrated to new (trimmer) code and removed dead code. Some beautification
* app/composite/make-install.py: migrated to new (trimmer) code and
removed dead code. Some beautification for generated code.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
All init() functions are also a run-time check and now expected to
return TRUE/FALSE if the particular set of compositing functions can
be used.
* app/composite/gimp-composite.c: No longer has to determine if
the particular set of compositing functions can be used.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
Regenerated
* app/composite/test-composite.c: Deprecated, removed. All tests are automatically
generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
* app/composite/Makefile.am: removed unused references to test-composite.c
2003-10-06 02:46:15 +00:00
|
|
|
extern gboolean gimp_composite_sse2_install (void);
|
2003-08-18 01:47:10 +00:00
|
|
|
|
2004-09-03 02:53:19 +00:00
|
|
|
#if !defined(__INTEL_COMPILER) || defined(USE_INTEL_COMPILER_ANYWAY)
|
2004-07-17 05:24:08 +00:00
|
|
|
#if defined(USE_SSE)
|
|
|
|
#if defined(ARCH_X86)
|
|
|
|
#if __GNUC__ >= 3
|
2006-02-28 06:34:16 +00:00
|
|
|
#if defined(ARCH_X86_64) || (!defined(PIC) && !defined(__PIC__))
|
2004-08-28 21:21:07 +00:00
|
|
|
#define COMPILE_SSE2_IS_OKAY (1)
|
2006-02-28 06:34:16 +00:00
|
|
|
#endif /* defined(ARCH_X86_64) || (!defined(PIC) && !defined(__PIC__)) */
|
|
|
|
#endif /* __GNUC__ >= 3*/
|
|
|
|
#endif /* defined(ARCH_X86) */
|
|
|
|
#endif /* defined(USE_SSE) */
|
|
|
|
#endif /* !defined(__INTEL_COMPILER) */
|
2004-07-17 05:24:08 +00:00
|
|
|
|
2004-08-28 21:21:07 +00:00
|
|
|
#ifdef COMPILE_SSE2_IS_OKAY
|
app/composite/gimp-composite.h app/composite/gimp-composite-generic.h
* app/composite/gimp-composite.h
* app/composite/gimp-composite-generic.h
* app/composite/gimp-composite-regression.h: Reformatted to include
argument names in function prototypes.
* app/composite/gimp-composite.c
* app/composite/gimp-composite-generic.c
* app/composite/gimp-composite-regression.c: Added gtk-doc templates for functions.
* app/composite/make-install.py: migrated to new (trimmer) code and
removed dead code. Some beautification for generated code.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
All init() functions are also a run-time check and now expected to
return TRUE/FALSE if the particular set of compositing functions can
be used.
* app/composite/gimp-composite.c: No longer has to determine if
the particular set of compositing functions can be used.
* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
Regenerated
* app/composite/test-composite.c: Deprecated, removed. All tests are automatically
generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:
* app/composite/Makefile.am: removed unused references to test-composite.c
2003-10-12 00:10:21 +00:00
|
|
|
extern void gimp_composite_addition_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_darken_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_difference_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_grain_extract_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_lighten_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_subtract_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_swap_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_dodge_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *ctx);
|
2003-08-18 01:47:10 +00:00
|
|
|
#endif
|
2004-07-17 05:24:08 +00:00
|
|
|
#endif
|