Searched refs:CONVERT_INT (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 2711 (cl_char)CONVERT_INT(srcVector[i], -127.0f, 127.f, 127); in pack_image_pixel() 2718 (short)CONVERT_INT(srcVector[i], -32767.f, 32767.f, 32767); in pack_image_pixel() 2724 ptr[i] = (int)CONVERT_INT( in pack_image_pixel() 2877 ptr[i] - CONVERT_INT(srcVector[i], -127.0f, 127.f, 127); in pack_image_pixel_error() 2885 - CONVERT_INT(srcVector[i], -32767.f, 32767.f, 32767); in pack_image_pixel_error() 2893 - (cl_long)CONVERT_INT( in pack_image_pixel_error()
|
D | imageHelpers.h | 74 #define CONVERT_INT(v, min, max, max_val) \ macro
|