/third_party/opencl-headers/tests/ |
H A D | test_headers.c | 506 cl_float a = 0.0f; in test_float() 513 cl_float b = a; in test_float() 531 printf("__cl_float2: %f %f \n", ((cl_float*)&v2)[0], ((cl_float*)&v2)[1] ); in test_float() 539 printf("__cl_float4: %f %f %f %f \n", ((cl_float*)&v4)[0], ((cl_float*)&v4)[1], ((cl_float*)&v4)[2], ((cl_float*)&v4)[3] ); in test_float() 547 printf("__cl_float8: %f %f %f %f %f %f %f %f \n", ((cl_float*)&v8)[0], ((cl_float*) in test_float() [all...] |
H A D | test_cl_half.h.c | 27 int test_half_to_float(cl_half h, cl_float ref) in test_half_to_float() 29 cl_float f = cl_half_to_float(h); in test_half_to_float() 41 int test_half_from_float(cl_float f, cl_half ref, in test_half_from_float()
|
/third_party/mesa3d/include/CL/ |
H A D | cl_platform.h | 135 typedef float cl_float; typedef 217 #define CL_HUGE_VALF ((cl_float) 1e50) 237 typedef float cl_float; typedef 323 #define CL_HUGE_VALF ((cl_float) 1e50) 440 typedef cl_float __cl_float2 __attribute__((vector_size(8))); 470 typedef cl_float __cl_float8 __attribute__((vector_size(32))); 1204 cl_float CL_ALIGNED(8) s[2]; 1206 __CL_ANON_STRUCT__ struct{ cl_float x, y; }; 1207 __CL_ANON_STRUCT__ struct{ cl_float s0, s1; }; 1208 __CL_ANON_STRUCT__ struct{ cl_float l [all...] |
/third_party/opencl-headers/CL/ |
H A D | cl_platform.h | 160 typedef float cl_float; typedef 246 #define CL_HUGE_VALF ((cl_float) 1e50) 266 typedef float cl_float; typedef 352 #define CL_HUGE_VALF ((cl_float) 1e50) 469 typedef cl_float __cl_float2 __attribute__((vector_size(8))); 499 typedef cl_float __cl_float8 __attribute__((vector_size(32))); 1231 cl_float CL_ALIGNED(8) s[2]; 1233 __CL_ANON_STRUCT__ struct{ cl_float x, y; }; 1234 __CL_ANON_STRUCT__ struct{ cl_float s0, s1; }; 1235 __CL_ANON_STRUCT__ struct{ cl_float l [all...] |
H A D | cl_half.h | 26 * cl_float f = cl_half_to_float(h); 107 * Convert a cl_float to a cl_half. 109 static inline cl_half cl_half_from_float(cl_float f, cl_half_rounding_mode rounding_mode) in cl_half_from_float() 114 cl_float f; in cl_half_from_float() 359 * Convert a cl_half to a cl_float. 361 static inline cl_float cl_half_to_float(cl_half h) in cl_half_to_float() 366 cl_float f; in cl_half_to_float()
|
/third_party/skia/third_party/externals/angle2/include/CL/ |
H A D | cl_platform.h | 155 typedef float cl_float; typedef 237 #define CL_HUGE_VALF ((cl_float) 1e50) 257 typedef float cl_float; typedef 343 #define CL_HUGE_VALF ((cl_float) 1e50) 460 typedef cl_float __cl_float2 __attribute__((vector_size(8))); 490 typedef cl_float __cl_float8 __attribute__((vector_size(32))); 1224 cl_float CL_ALIGNED(8) s[2]; 1226 __CL_ANON_STRUCT__ struct{ cl_float x, y; }; 1227 __CL_ANON_STRUCT__ struct{ cl_float s0, s1; }; 1228 __CL_ANON_STRUCT__ struct{ cl_float l [all...] |
H A D | cl_half.h | 26 * cl_float f = cl_half_to_float(h); 107 * Convert a cl_float to a cl_half. 109 static inline cl_half cl_half_from_float(cl_float f, cl_half_rounding_mode rounding_mode) in cl_half_from_float() 114 cl_float f; in cl_half_from_float() 359 * Convert a cl_half to a cl_float. 361 static inline cl_float cl_half_to_float(cl_half h) in cl_half_to_float() 366 cl_float f; in cl_half_to_float()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_convolution_opencl.c | 49 cl_float rdivs[4]; 50 cl_float biases[4]; 53 cl_float scale; 54 cl_float delta; 227 CL_SET_KERNEL_ARG(ctx->kernel, 4, cl_float, &ctx->rdivs[p]); in convolution_opencl_filter_frame() 228 CL_SET_KERNEL_ARG(ctx->kernel, 5, cl_float, &ctx->biases[p]); in convolution_opencl_filter_frame() 256 CL_SET_KERNEL_ARG(ctx->kernel, 2, cl_float, &ctx->scale); in convolution_opencl_filter_frame() 257 CL_SET_KERNEL_ARG(ctx->kernel, 3, cl_float, &ctx->delta); in convolution_opencl_filter_frame()
|
H A D | vf_unsharp_opencl.c | 60 cl_float amount; 61 cl_float threshold; 255 CL_SET_KERNEL_ARG(ctx->kernel, 4, cl_float, &ctx->plane[p].amount); in unsharp_opencl_filter_frame()
|
H A D | vf_xfade_opencl.c | 144 cl_float progress = av_clipf(1.f - ((cl_float)(ctx->pts - ctx->first_pts - ctx->offset_pts) / ctx->duration_pts), 0.f, 1.f); in xfade_frame() 183 CL_SET_KERNEL_ARG(ctx->kernel, kernel_arg, cl_float, &progress); in xfade_frame()
|
H A D | vf_neighbor_opencl.c | 45 cl_float threshold[4]; 178 CL_SET_KERNEL_ARG(ctx->kernel, 2, cl_float, &ctx->threshold[p]); in neighbor_opencl_filter_frame()
|
H A D | vf_nlmeans_opencl.c | 258 CL_SET_KERNEL_ARG(ctx->accum_kernel, 7, cl_float, &ctx->h); in nlmeans_plane()
|
H A D | vf_tonemap_opencl.c | 317 CL_SET_KERNEL_ARG(kernel, 5, cl_float, &peak); in launch_kernel()
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | printf.cpp | 141 cl_float f; in print_formatted()
|