/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | colorcube.rs | 33 float4 m = (float4)(1.f / 255.f) * convert_float4(gDims - 1); 34 gCoordMul = convert_int4(m * (float4)0x10000);
|
H A D | convolve3x3.rs | 32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0];
|
H A D | levels.rsh | 38 float4 pixel = convert_float4(in);
|
H A D | fisheye.rsh | 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
H A D | fisheye_approx.rsh | 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBlur.cpp | 116 static void OneVU4(const RsExpandKernelDriverInfo *info, float4 *out, int32_t x, int32_t y, 121 float4 blurredPixel = 0; 126 float4 pf = convert_float4(pvy[0]); 163 static void OneVFU4(float4 *out, 181 float4 blurredPixel = 0; 185 float4 pf = convert_float4(((const uchar4 *)pi)[0]); 251 const float4 *ptrIn, const float* gPtr, int iradius) { 253 float4 blurredPixel = 0; 257 float4 pf = ptrIn[validX]; 285 float4 stackbu [all...] |
H A D | rsCpuIntrinsicInlines.h | 25 typedef float float4 __attribute__((ext_vector_type(4))); typedef 94 static inline float4 clamp(float4 amount, float low, float high) { 95 float4 r;
|
H A D | rsCpuIntrinsicConvolve5x5.cpp | 99 float4 px = convert_float4(py0[x0]) * coeff[0] + 218 static void OneF4(const RsExpandKernelDriverInfo *info, uint32_t x, float4 *out, 219 const float4 *py0, const float4 *py1, const float4 *py2, const float4 *py3, const float4 *py4, 228 float4 px = py0[x0] * coeff[0] + 524 const float4 *py0 = (const float4 *)(pi [all...] |
H A D | rsCpuIntrinsicConvolve3x3.cpp | 98 float4 px = convert_float4(py0[x1]) * coeff[0] + 153 static void ConvolveOneF4(const RsExpandKernelDriverInfo *info, uint32_t x, float4 *out, 154 const float4 *py0, const float4 *py1, const float4 *py2, 337 const float4 *py0 = (const float4 *)(pin + stride * y2); 338 const float4 *py1 = (const float4 *)(pin + stride * info->current.y); 339 const float4 *py [all...] |
H A D | rsCpuIntrinsic3DLUT.cpp | 79 const float4 m = (float4)(1.f / 255.f) * convert_float4(dims); 80 const int4 coordMul = convert_int4(m * (float4)0x8000);
|
/frameworks/rs/api/ |
H A D | rs_convert.spec | 137 arg: float4 color 146 ret: float4 148 summary: Create a float4 RGBA from uchar4 150 Unpacks a uchar4 color to float4. The resulting floats will be between 0.0 and 1.0 inclusive.
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | convolve3x3.rs | 32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0];
|
H A D | levels.rsh | 38 float4 pixel = convert_float4(in);
|
H A D | fisheye.rsh | 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
H A D | fisheye_approx.rsh | 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | convolve3x3.rs | 32 float4 sum = convert_float4(rsGetElementAt_uchar4(gIn, x1, y1)) * gCoeffs[0];
|
H A D | levels.rsh | 38 float4 pixel = convert_float4(in);
|
H A D | fisheye.rsh | 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
H A D | fisheye_approx.rsh | 55 const float4 fout = rsSample(in_alloc, sampler, new_coord);
|
/frameworks/rs/tests/typecheck/ |
H A D | kernels.rs | 100 float4 f4; 101 float4 f4i = {1.f, 2.f, 3.f, 4.f};
|
/frameworks/rs/scriptc/ |
H A D | rs_convert.rsh | 49 extern float4 __attribute__((const, overloadable)) 50 convert_float4(float4 v); 58 extern float4 __attribute__((const, overloadable)) 67 extern float4 __attribute__((const, overloadable)) 76 extern float4 __attribute__((const, overloadable)) 85 extern float4 __attribute__((const, overloadable)) 94 extern float4 __attribute__((const, overloadable)) 103 extern float4 __attribute__((const, overloadable)) 113 convert_char4(float4 v); 176 convert_uchar4(float4 [all...] |
H A D | rs_value_types.rsh | 36 * E.g. float4, int3, double2, ulong4. 66 * float4 v4; 275 * float4: Four 32 bit floats 280 typedef float __attribute__((ext_vector_type(4))) float4; 541 typedef float4 rs_quaternion;
|
/frameworks/rs/tests/cppbasic/ |
H A D | mono.rs | 52 float4 f4 = rsUnpackColor8888(*v_in);
|
/frameworks/rs/tests/cppbasic-shared/ |
H A D | mono.rs | 52 float4 f4 = rsUnpackColor8888(*v_in);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_core.c | 12 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c); 16 extern float4 rsUnpackColor8888(uchar4 c) 276 PRIM_DEBUG(float4) 310 const float4 *f, 313 float4 f = convert_float4(h4);
|