HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_CommonMMXFuncs.h File Reference
#include "UT_API.h"
#include <SYS/SYS_Types.h>
#include <SYS/SYS_Floor.h>
+ Include dependency graph for UT_CommonMMXFuncs.h:

Go to the source code of this file.

Functions

UT_API void UTconvertFPto8 (unsigned char *dest, const fpreal32 *source, int length, int useprocext=0)
 
UT_API void UTconvertFPto8BW (unsigned char *dest, const fpreal32 *source, int length, unsigned int black, unsigned int white, int useprocext=0)
 
UT_API void UTconvert8toFP (fpreal32 *dest, const unsigned char *source, int length, bool usesse=true)
 
UT_API void UTconvert8BWtoFP (fpreal32 *dest, const unsigned char *source, int length, unsigned int black, unsigned int white, bool usesse=true)
 
UT_API void UTconvertFPto16 (unsigned short *dest, const fpreal32 *source, int length, int procext=0)
 
UT_API void UTconvertFPto16BW (unsigned short *dest, const fpreal32 *source, int length, unsigned int black, unsigned int white, bool usesse=true)
 
UT_API void UTconvert16toFP (fpreal32 *dest, const unsigned short *source, int length, bool usesse=true)
 
UT_API void UTconvert16BWtoFP (fpreal32 *dest, const unsigned short *source, int length, unsigned int black, unsigned int white, bool usesse=true)
 
UT_API unsigned char UTconvertFPto8 (fpreal32 fval)
 
UT_API unsigned short UTconvertFPto16 (fpreal32 fval)
 

Function Documentation

UT_API void UTconvert16BWtoFP ( fpreal32 dest,
const unsigned short *  source,
int  length,
unsigned int  black,
unsigned int  white,
bool  usesse = true 
)
UT_API void UTconvert16toFP ( fpreal32 dest,
const unsigned short *  source,
int  length,
bool  usesse = true 
)
UT_API void UTconvert8BWtoFP ( fpreal32 dest,
const unsigned char *  source,
int  length,
unsigned int  black,
unsigned int  white,
bool  usesse = true 
)
UT_API void UTconvert8toFP ( fpreal32 dest,
const unsigned char *  source,
int  length,
bool  usesse = true 
)
UT_API void UTconvertFPto16 ( unsigned short *  dest,
const fpreal32 source,
int  length,
int  procext = 0 
)
UT_API unsigned short UTconvertFPto16 ( fpreal32  fval)
inline

Definition at line 128 of file UT_CommonMMXFuncs.h.

UT_API void UTconvertFPto16BW ( unsigned short *  dest,
const fpreal32 source,
int  length,
unsigned int  black,
unsigned int  white,
bool  usesse = true 
)
UT_API void UTconvertFPto8 ( unsigned char *  dest,
const fpreal32 source,
int  length,
int  useprocext = 0 
)
UT_API unsigned char UTconvertFPto8 ( fpreal32  fval)
inline

Definition at line 90 of file UT_CommonMMXFuncs.h.

UT_API void UTconvertFPto8BW ( unsigned char *  dest,
const fpreal32 source,
int  length,
unsigned int  black,
unsigned int  white,
int  useprocext = 0 
)