57 #define DEF_TYPERESOLVER(FORMAT, CPPTYPE) \
58 template <> struct PXL_DataFormatResolver<CPPTYPE> { \
59 static constexpr PXL_DataFormat format = FORMAT; \
61 template <> struct PXL_TypeResolver<FORMAT> { \
70 #undef DEF_TYPERESOLVER
98 #define PXL_WHITE_8 UCHAR_MAX
99 #define PXL_WHITE_16 USHRT_MAX
100 #define PXL_WHITE_32 UINT_MAX
124 {
return pxlDefinesDepth[(
int) d]; }
127 {
return pxlDefinesPComp[(
int) p]; }
130 {
return pxlDefinesPDepth[(
int) p]; }
133 {
return pxlDefinesWhite[ (
int) dt]; }
PXL_API const int pxlDefinesPDepth[256]
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
int PXLpackingComponents(PXL_Packing p)
#define DEF_TYPERESOLVER(FORMAT, CPPTYPE)
unsigned int PXLwhitePoint(PXL_DataFormat dt)
PXL_API bool PXLcpuHasMMX()
PXL_API const char * PXLdataFormat(PXL_DataFormat f)
PXL_API int PXLcpuHasSSE()
PXL_API bool PXLcpuHasCondMov()
PXL_API const char * PXLgetColorSpaceName(PXL_ColorSpace cs)
UT_GPUType PXLconvertToUTGPUType(PXL_DataFormat t)
int PXLpackingDepth(PXL_Packing p)
PXL_API const unsigned int pxlDefinesWhite[6]
PXL_API const int pxlDefinesDepth[6]
PXL_API bool PXLcpuHasXMMX()
bool PXLformatIsInteger(const PXL_DataFormat d)
const char * PXLcolorSpace(PXL_ColorSpace s)
int PXLformatDepth(PXL_DataFormat d)
PXL_API PXL_ColorSpace PXLgetColorSpace(const char *csname)
PXL_API const int pxlDefinesPComp[256]
PXL_API const char * PXLpacking(PXL_Packing p)
PXL_API void PXLdetermineProcCaps()