2003-08-14 07:43:34 +00:00
|
|
|
#ifndef gimp_composite_sse_h
|
|
|
|
#define gimp_composite_sse_h
|
2003-07-29 02:54:09 +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_sse_init (void);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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).
|
|
|
|
*/
|
|
|
|
extern gboolean gimp_composite_sse_install (void);
|
2003-07-29 02:54:09 +00:00
|
|
|
|
2004-07-17 05:24:08 +00:00
|
|
|
#if !defined(__INTEL_COMPILER)
|
|
|
|
#if defined(USE_SSE)
|
|
|
|
#if defined(ARCH_X86)
|
2003-07-29 02:54:09 +00:00
|
|
|
#if __GNUC__ >= 3
|
2004-07-17 05:24:08 +00:00
|
|
|
#if defined(ARCH_X86_64) || !defined(PIC)
|
|
|
|
#define COMPILE_SSE_IS_OKAY
|
|
|
|
#endif /* defined(ARCH_X86_64) || !defined(PIC) */
|
|
|
|
#endif /* __GNUC__ >= 3 */
|
|
|
|
#endif /* */
|
|
|
|
#endif /* */
|
|
|
|
#endif /* */
|
|
|
|
|
|
|
|
#ifdef COMPILE_SSE_IS_OKAY
|
2003-07-18 07:36:55 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
*/
|
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_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_burn_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_coloronly_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_darken_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_difference_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_dissolve_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_divide_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_dodge_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_grain_extract_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_grain_merge_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_hardlight_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_hueonly_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_lighten_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_multiply_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_overlay_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_replace_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_saturationonly_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_screen_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_softlight_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_subtract_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_swap_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_valueonly_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
|
|
|
extern void gimp_composite_scale_rgba8_rgba8_rgba8_sse (GimpCompositeContext *ctx);
|
2003-07-18 07:36:55 +00:00
|
|
|
|
2004-07-17 05:24:08 +00:00
|
|
|
#endif /* COMPILE_SSE_IS_OKAY */
|
2003-07-18 07:36:55 +00:00
|
|
|
#endif
|