/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | exposure_f.rs | 28 float4 RS_KERNEL exposure(float4 in)
|
H A D | greyscale_f.rs | 20 const static float4 gMonoMult = {0.299f, 0.587f, 0.114f, 0.0f}; 22 float4 RS_KERNEL greyscale(float4 in) {
|
H A D | contrast_f.rs | 30 float4 RS_KERNEL contrast(float4 in) {
|
H A D | f4touc4.rs | 20 uchar4 RS_KERNEL f4touc4(float4 in) { 21 float4 f = clamp(in, 0.f, 255.f);
|
H A D | uc4tof4.rs | 20 float4 RS_KERNEL uc4tof4(uchar4 in) {
|
H A D | colormatrix_f.rs | 39 float4 RS_KERNEL colormatrix(float4 in) {
|
H A D | levels_f.rsh | 48 float4 __attribute__((kernel)) levels_v4(float4 in) { 49 float4 pixel;
|
H A D | vibrance_f.rs | 28 float4 RS_KERNEL vibranceKernel(float4 in) { 47 float4 o;
|
H A D | vignette_approx_f.rsh | 47 float4 __attribute__((kernel)) vignette(float4 in, uint32_t x, uint32_t y) { 53 float4 fout;
|
H A D | vignette_f.rsh | 47 float4 __attribute__((kernel)) root(float4 in, uint32_t x, uint32_t y) { 53 float4 fout;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0)); 65 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys0)); 66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0)); 67 float4 p03 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys0)); 68 float4 p [all...] |
H A D | greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
H A D | threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0)); 65 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys0)); 66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0)); 67 float4 p03 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys0)); 68 float4 p [all...] |
H A D | greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
H A D | threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0)); 65 float4 p01 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys0)); 66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0)); 67 float4 p03 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys0)); 68 float4 p [all...] |
H A D | greyscale.rs | 23 float4 f4 = rsUnpackColor8888(v_in); 30 float4 f4 = convert_float4(v_in);
|
H A D | threshold.rs | 73 float4 RS_KERNEL copyIn(uchar4 in) { 83 float4 i = rsGetElementAt_float4(ScratchPixel2, x, y + r); 89 float4 i = rsGetElementAt_float4(ScratchPixel2, x, validH); 99 float4 RS_KERNEL horz(uint32_t x, uint32_t y) { 100 float4 blurredPixel = 0; 104 float4 i = rsGetElementAt_float4(ScratchPixel1, x + r, y); 111 float4 i = rsGetElementAt_float4(ScratchPixel1, validX, y);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | copy_test.rs | 37 float4 __attribute((kernel)) copyFloat4(float4 i) {
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | copy_test.rs | 37 float4 __attribute((kernel)) copyFloat4(float4 i) {
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | copy_test.rs | 37 float4 __attribute((kernel)) copyFloat4(float4 i) {
|
/frameworks/rs/driver/runtime/ |
H A D | rs_convert.c | 59 * YUV float4 version 62 static float4 yuv_U_values = {0.f, -0.392f * 0.003921569f, +2.02 * 0.003921569f, 0.f}; 63 static float4 yuv_V_values = {1.603f * 0.003921569f, -0.815f * 0.003921569f, 0.f, 0.f}; 65 extern float4 __attribute__((overloadable)) rsYuvToRGBA_float4(uchar y, uchar u, uchar v) { 66 float4 color = (float)y * 0.003921569f; 67 float4 fU = ((float)u) - 128.f; 68 float4 fV = ((float)v) - 128.f;
|
H A D | rs_sample.c | 69 static inline float4 __attribute__((overloadable)) 106 static inline float4 __attribute__((overloadable)) 110 float4 r = {p[x], p[x+1], p[x+2], p[x+3]}; 126 static float4 __attribute__((overloadable)) 133 float4 ret = {0.f, 0.f, 0.f, r}; 136 static float4 __attribute__((overloadable)) 143 float4 ret = {r, r, r, 1.f}; 146 static float4 __attribute__((overloadable)) 153 float4 ret = {r.x, r.x, r.x, r.y}; 156 static float4 __attribute_ [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_matrix.rsh | 69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, 70 float4* bottom, float4* near, float4* far) { 119 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* righ, float4* top, 120 float4* botto [all...] |