This function returns the current state of MMX optimization.
Copy Code
|
|
---|---|
AT_ERRCOUNT LACCUAPI IG_util_MMX_usage_get (LPBOOL lpbMMXUsage); |
Name | Type | Description |
---|---|---|
lpbMMXUsage | LPBOOL | A far pointer that returns a Boolean value indicating whether or not ImageGear is set to optimize for MMX hardware. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
JPEG
Copy Code
|
|
---|---|
AT_ERRCOUNT nErrcount; BOOL bMMXon; nErrcount = IG_util_MMX_usage_get(bMMXon); |
If lpbMMXUsage returns TRUE it means that ImageGear is set to optimize for MMX technology if the computer contains MMX hardware.
If this parameter is TRUE, but the MMX processor is not detected, then MMX optimization will not be used.
See also IG_util_MMX_usage_set() function.