Searched refs:CONVERT_UINT (Results 1 – 2 of 2) sorted by relevance
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 2734 (cl_uchar)CONVERT_UINT(srcVector[i], 255.f, CL_UCHAR_MAX); in pack_image_pixel() 2740 ptr[i] = (cl_ushort)CONVERT_UINT(srcVector[i], 32767.f, in pack_image_pixel() 2747 ptr[i] = (cl_uint)CONVERT_UINT( in pack_image_pixel() 2903 - (cl_int)CONVERT_UINT(srcVector[i], 255.f, CL_UCHAR_MAX); in pack_image_pixel_error() 2910 - (cl_int)CONVERT_UINT(srcVector[i], 32767.f, CL_USHRT_MAX); in pack_image_pixel_error() 2918 - (cl_long)CONVERT_UINT( in pack_image_pixel_error()
|
D | imageHelpers.h | 76 #define CONVERT_UINT(v, max, max_val) \ macro
|