diff options
Diffstat (limited to 'src/emu/video/rgbutil.h')
-rw-r--r-- | src/emu/video/rgbutil.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/emu/video/rgbutil.h b/src/emu/video/rgbutil.h new file mode 100644 index 00000000000..d3c94496976 --- /dev/null +++ b/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 (c) 1996-2007, 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) && defined(_MSC_VER)) +#include "rgbsse.h" +#elif defined(__ALTIVEC__) +#include "rgbvmx.h" +#else +#include "rgbgen.h" +#endif + +#endif /* __RGBUTIL__ */ |