home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Panoráma
/
computer_panorama_1997-12-hibas.iso
/
SHARE
/
GRAPH
/
PTC051.ZIP
/
SRC
/
MMX_16.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-20
|
2KB
|
58 lines
///////////////////////////////////////
// 16bit -> X conversion (intel MMX) //
///////////////////////////////////////
#ifndef __MMX_16BIT_H
#define __MMX_16BIT_H
#include "misc.h"
#include "config.h"
#if defined(__16BIT__) && defined(__MMX__)
// interface to external asm converters (do not call directly)
extern "C" void Convert16_ARGB8888_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_ABGR8888_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_RGBA8888_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_BGRA8888_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_RGB888_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_BGR888_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_BGR565_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_ARGB1555_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_ABGR1555_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_GREY8_MMX(void *src,void *dest,uint pixels,void *extra);
extern "C" void Convert16_RGB332_MMX(void *src,void *dest,uint pixels,void *extra);
// watcom c++ interface
#ifdef __WATCOMC__
#pragma warning 601 9
#pragma aux Convert16_ARGB8888_MMX "_*"
#pragma aux Convert16_ABGR8888_MMX "_*"
#pragma aux Convert16_RGBA8888_MMX "_*"
#pragma aux Convert16_BGRA8888_MMX "_*"
#pragma aux Convert16_RGB888_MMX "_*"
#pragma aux Convert16_BGR888_MMX "_*"
#pragma aux Convert16_BGR565_MMX "_*"
#pragma aux Convert16_ARGB1555_MMX "_*"
#pragma aux Convert16_ABGR1555_MMX "_*"
#pragma aux Convert16_GREY8_MMX "_*"
#pragma aux Convert16_RGB332_MMX "_*"
#endif
#endif
#endif