diff options
Diffstat (limited to 'trunk/src/emu/video/rgbutil.h')
-rw-r--r-- | trunk/src/emu/video/rgbutil.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/trunk/src/emu/video/rgbutil.h b/trunk/src/emu/video/rgbutil.h new file mode 100644 index 00000000000..0213edddba1 --- /dev/null +++ b/trunk/src/emu/video/rgbutil.h @@ -0,0 +1,25 @@ +/*************************************************************************** + + rgbutil.h + + Utility definitions for RGB manipulation. Allows RGB handling to be + performed in an abstracted fashion and optimized with SIMD. + + Copyright Nicola Salmoria and the MAME Team. + Visit http://mamedev.org for licensing and usage restrictions. + +***************************************************************************/ + +#ifndef __RGBUTIL__ +#define __RGBUTIL__ + +/* use SSE on 64-bit implementations, where it can be assumed */ +#if (defined(__SSE2__) && defined(PTR64)) +#include "rgbsse.h" +#elif defined(__ALTIVEC__) +#include "rgbvmx.h" +#else +#include "rgbgen.h" +#endif + +#endif /* __RGBUTIL__ */ |