/external/skqp/src/gpu/effects/ |
H A D | GrArithmeticFP.fp | 15 uniform float4 k;
|
H A D | GrMagnifierEffect.fp | 10 uniform float4 boundsUniform; 11 layout(ctype=SkRect) in float4 srcRect;
|
H A D | GrAARectEffect.cpp | 30 prevRect = float4(-1.0); 34 "float4 prevRect = float4(%f, %f, %f, %f);\nhalf alpha;\n@switch (%d) {\n case " 35 "0:\n case 2:\n alpha = half(all(greaterThan(float4(sk_FragCoord.xy, " 36 "%s.zw), float4(%s.xy, sk_FragCoord.xy))) ? 1 : 0);\n break;\n " 78 SkRect prevRect = float4(0);
|
/external/libxcam/cl_kernel/ |
H A D | kernel_rgb_pipe.cl | 26 __inline void cl_snr (__local float4 *in, float4 *out, int lx, int ly) 37 __inline void cl_tnr (float4 *out, int gx, int gy, __read_only image2d_t inputFrame1, __read_only image2d_t inputFrame2, __read_only image2d_t inputFrame3, CLRgbTnrConfig tnr_config) 39 float4 var; 44 float4 in1, in2, in3; 75 __local float4 p[SHARED_PIXEL_X_SIZE * SHARED_PIXEL_Y_SIZE]; 77 float4 out;
|
H A D | kernel_bayer_pipe.cl | 65 float4 data1, data2, line1, line2; 69 float4 gr, r, b, gb; 78 (*(__local float4 *)(px + index)) = gr; 79 (*(__local float4 *)(py + index)) = r; 80 (*(__local float4 *)(pz + index)) = b; 81 (*(__local float4 *)(pw + index)) = gb; 134 float4 out_data; 199 float4 out_data_r[2]; 200 float4 out_data_g[2]; 201 float4 out_data_ [all...] |
H A D | kernel_wavelet_haar.cl | 44 float4 line_ll; 45 float4 line_hl; 46 float4 line_lh; 47 float4 line_hh; 103 float4 line_ll; 104 float4 line_hl; 105 float4 line_lh; 106 float4 line_hh;
|
H A D | kernel_3d_denoise_slm.cl | 35 __local float4* ref_cache, 37 __local float4* observe_cache, 38 float4* restore, 68 float4 dist = (float4)(0.0f, 0.0f, 0.0f, 0.0f); 69 float4 gradient = (float4)(0.0f, 0.0f, 0.0f, 0.0f); 96 gradient = (float4)(ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, REF_BLOCK_WIDTH + local_id_x + j)].s2, 142 gradient = (float4)(ref_cache[mad24(i, 4 * REF_BLOCK_WIDTH, REF_BLOCK_WIDTH + local_id_x + j)].s2, 173 float4 restor [all...] |
H A D | kernel_bayer_basic.cl | 22 //float4; 16 69 __local float4 * slm_gr, 70 __local float4 * slm_r, 71 __local float4 * slm_b, 72 __local float4 * slm_gb, 189 __local float4 slm_gr[SLM_X_SIZE * SLM_Y_SIZE], slm_r[SLM_X_SIZE * SLM_Y_SIZE], slm_b[SLM_X_SIZE * SLM_Y_SIZE], slm_gb[SLM_X_SIZE * SLM_Y_SIZE]; 206 float4 gr = mad (line1.even, blc_multiplier, - blc_config.level_gr); 207 float4 r = mad (line1.odd, blc_multiplier, - blc_config.level_r); 208 float4 b = mad (line2.even, blc_multiplier, - blc_config.level_b); 209 float4 g [all...] |
H A D | kernel_fisheye.cl | 54 write_imagef (table, out_pos, (float4)(pos, 0.0f, 0.0f)); 75 write_imagef (lsc_table, pos, (float4)(lsc_data, 0.0f, 0.0f, 1.0f)); 89 float4 src_data;
|
H A D | kernel_retinex.cl | 72 float4 y_out, uv_in; 73 float4 y_in, y_ga[RETINEX_SCALE_SIZE]; 74 float4 y_in_lg, y_lg; 114 y_lg = (float4) (0.0f, 0.0f, 0.0f, 0.0f); 131 float4 uv_out, gain_uv; 159 gain_uv = (float4) (gain_y, gain_y);
|
/external/swiftshader/src/Renderer/ |
H A D | Renderer.hpp | 125 float4 c[VERTEX_UNIFORM_VECTORS + 1]; // One extra for indices out of range, c[VERTEX_UNIFORM_VECTORS] = {0, 0, 0, 0} 139 float4 c[FRAGMENT_UNIFORM_VECTORS]; 170 float4 Wx16; 171 float4 Hx16; 172 float4 X0x16; 173 float4 Y0x16; 174 float4 XXXX; 175 float4 YYYY; 176 float4 halfPixelX; 177 float4 halfPixel [all...] |
H A D | PixelProcessor.hpp | 166 float4 scale; 167 float4 offset; 169 float4 colorF[3]; 170 float4 densityE; 171 float4 density2E; 181 float4 blendConstant4F[4]; 183 float4 invBlendConstant4F[4]; 312 float4 c[FRAGMENT_UNIFORM_VECTORS];
|
H A D | Stream.hpp | 82 static const float4 null = {0, 0, 0, 1};
|
H A D | Matrix.hpp | 22 struct float4; 75 float4 operator*(const float4 &v) const;
|
/external/clang/test/CodeGen/ |
H A D | arm-swiftcall.c | 61 typedef float float4 __attribute__((ext_vector_type(4))); typedef 339 float4 fv2; 372 float4 fv2;
|
/external/clang/test/PCH/ |
H A D | types.c | 43 float4 f4 = { 1.0, 2.0, 3.0, 4.0 };
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | compare_and_bitpack_op_gpu.cu.cc | 86 const float4 block0 = ldg(reinterpret_cast<const float4*>(input + 8 * i)); 87 const float4 block1 = 88 ldg(reinterpret_cast<const float4*>(input + 8 * i + 4));
|
/external/clang/test/SemaTemplate/ |
H A D | ext-vector-type.cpp | 88 typedef float __attribute__((ext_vector_type(4))) float4; typedef in namespace:Deduction 93 int array3[X0<float4>::value == 3? 1 : -1];
|
/external/clang/test/Coverage/ |
H A D | c-language-features.inc | 149 typedef __attribute__((ext_vector_type(4))) float float4; 152 float4 t0 = (float4) { 0, 1, 2, 3 }; 153 float4 t1 = t0;
|
/external/ImageMagick/MagickCore/ |
H A D | accelerate-kernels-private.h | 378 inline float getBlueF4(float4 p) { return p.x; } 379 inline void setBlueF4(float4* p, float value) { (*p).x = value; } 383 inline float getGreenF4(float4 p) { return p.y; } 384 inline void setGreenF4(float4* p, float value) { (*p).y = value; } 388 inline float getRedF4(float4 p) { return p.z; } 389 inline void setRedF4(float4* p, float value) { (*p).z = value; } 393 inline float getAlphaF4(float4 p) { return p.w; } 394 inline void setAlphaF4(float4* p, float value) { (*p).w = value; } 416 inline float4 ReadAllChannels(const __global CLQuantum *image, const unsigned int number_channels, 421 float4 pixe [all...] |
/external/swiftshader/src/Shader/ |
H A D | Constants.cpp | 113 static const float4 uvWeight[17] = 134 static const float4 uvStart[17] = 308 static const float4 X[4] = {{-0.3125f, -0.3125f, -0.3125f, -0.3125f}, 313 static const float4 Y[4] = {{-0.1250f, -0.1250f, -0.1250f, -0.1250f}, 341 static const float4 unscaleByte = {1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF}; 342 static const float4 unscaleSByte = {1.0f / 0x7F, 1.0f / 0x7F, 1.0f / 0x7F, 1.0f / 0x7F}; 343 static const float4 unscaleShort = {1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF}; 344 static const float4 unscaleUShort = {1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF}; 345 static const float4 unscaleInt = {1.0f / 0x7FFFFFFF, 1.0f / 0x7FFFFFFF, 1.0f / 0x7FFFFFFF, 1.0f / 0x7FFFFFFF}; 346 static const float4 unscaleUIn [all...] |
/external/eigen/Eigen/src/Core/arch/CUDA/ |
H A D | TypeCasting.h | 83 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pcast<half2, float4>(const half2& a, const half2& b) { 98 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pcast<float4, half2>(const float4& a) {
|
/external/skia/src/gpu/effects/ |
H A D | GrMagnifierEffect.fp | 10 uniform float4 boundsUniform; 11 layout(ctype=SkRect) in float4 srcRect;
|
H A D | GrAARectEffect.cpp | 30 prevRect = float4(-1.0); 34 "float4 prevRect = float4(%f, %f, %f, %f);\nhalf alpha;\n@switch (%d) {\n case " 35 "0:\n case 2:\n alpha = half(all(greaterThan(float4(sk_FragCoord.xy, " 36 "%s.zw), float4(%s.xy, sk_FragCoord.xy))) ? 1 : 0);\n break;\n " 78 SkRect prevRect = float4(0);
|
/external/clang/lib/Headers/ |
H A D | opencl-c.h | 120 typedef float float4 __attribute__((ext_vector_type(4))); typedef 2653 char4 __ovld __cnfn convert_char4_rte(float4); 2654 char4 __ovld __cnfn convert_char4_sat_rte(float4); 2655 char4 __ovld __cnfn convert_char4_rtz(float4); 2656 char4 __ovld __cnfn convert_char4_sat_rtz(float4); 2657 char4 __ovld __cnfn convert_char4_rtp(float4); 2658 char4 __ovld __cnfn convert_char4_sat_rtp(float4); 2659 char4 __ovld __cnfn convert_char4_rtn(float4); 2660 char4 __ovld __cnfn convert_char4_sat_rtn(float4); 2661 char4 __ovld __cnfn convert_char4(float4); [all...] |