blob: d3c94496976ae4489635f430b486c3c66667c1d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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__ */
|