Home
last modified time | relevance | path

Searched refs:CL_UCHAR_MAX (Results 1 – 11 of 11) sorted by relevance

/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_add_sat.cpp59 r = MIN( r, CL_UCHAR_MAX ); in verify_addsat_uchar()
Dtest_sub_sat.cpp60 r = MIN( r, CL_UCHAR_MAX ); in verify_subsat_uchar()
Dverification_and_generation_functions.cpp1651 …static const cl_uchar specialCaseList[] = { 0, -1, 1, CL_CHAR_MAX, CL_CHAR_MAX + 1, CL_UCHAR_MAX }; in init_uchar_data()
Dtest_integers.cpp1663 ((cl_uchar*) destination)[0] = (cl_uchar) MIN( multLo, (cl_ulong) CL_UCHAR_MAX ); in verify_integer_mad_sat()
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl_platform.h164 #define CL_UCHAR_MAX 255 macro
266 #define CL_UCHAR_MAX 255
/external/angle/include/CL/
Dcl_platform.h164 #define CL_UCHAR_MAX 255 macro
266 #define CL_UCHAR_MAX 255
/external/mesa3d/include/CL/
Dcl_platform.h144 #define CL_UCHAR_MAX 255 macro
246 #define CL_UCHAR_MAX 255
Dcl2.hpp6943 cl_uchar ucValue = value ? CL_UCHAR_MAX : 0;
/external/OpenCL-CTS/test_conformance/conversions/
Dbasic_test_conversions.cpp880 … void *in){ cl_short s = ((cl_short*) in)[0]; ((cl_uchar*) out)[0] = CLAMP( 0, s, CL_UCHAR_MAX ); } in short2uchar_sat()
889 …ut, void *in){ cl_uint u = ((cl_uint*) in)[0]; ((cl_uchar*) out)[0] = CLAMP( 0, u, CL_UCHAR_MAX); } in uint2uchar_sat()
898 …*out, void *in){ cl_int i = ((cl_int*) in)[0]; ((cl_uchar*) out)[0] = CLAMP( 0, i, CL_UCHAR_MAX); } in int2uchar_sat()
907 … void *in){ ((cl_uchar*) out)[0] = CLAMP( 0, lrintf_clamped(((cl_float*) in)[0]), CL_UCHAR_MAX ); } in float2uchar_sat()
942 … void *in){ ((cl_uchar*) out)[0] = CLAMP( 0, lrint_clamped(((cl_double*) in)[0]), CL_UCHAR_MAX ); } in double2uchar_sat()
951 … void *in){ cl_ulong u = ((cl_ulong*) in)[0]; ((cl_uchar*) out)[0] = CLAMP( 0, u, CL_UCHAR_MAX ); } in ulong2uchar_sat()
960 …t, void *in){ cl_long u = ((cl_long*) in)[0]; ((cl_uchar*) out)[0] = CLAMP( 0, u, CL_UCHAR_MAX ); } in long2uchar_sat()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_numeric_constants.cpp66 TEST_VALUE_EQUAL_LITERAL( "CL_UCHAR_MAX", CL_UCHAR_MAX, 255) in test_host_numeric_constants()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp2734 (cl_uchar)CONVERT_UINT(srcVector[i], 255.f, CL_UCHAR_MAX); in pack_image_pixel()
2903 - (cl_int)CONVERT_UINT(srcVector[i], 255.f, CL_UCHAR_MAX); in pack_image_pixel_error()