Searched refs:float4 (Results 1 - 25 of 89) sorted by relevance

1234

/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dexposure_f.rs28 float4 RS_KERNEL exposure(float4 in)
H A Dgreyscale_f.rs20 const static float4 gMonoMult = {0.299f, 0.587f, 0.114f, 0.0f};
22 float4 RS_KERNEL greyscale(float4 in) {
H A Dcontrast_f.rs30 float4 RS_KERNEL contrast(float4 in) {
H A Df4touc4.rs20 uchar4 RS_KERNEL f4touc4(float4 in) {
21 float4 f = clamp(in, 0.f, 255.f);
H A Duc4tof4.rs20 float4 RS_KERNEL uc4tof4(uchar4 in) {
H A Dcolormatrix_f.rs39 float4 RS_KERNEL colormatrix(float4 in) {
H A Dlevels_f.rsh48 float4 __attribute__((kernel)) levels_v4(float4 in) {
49 float4 pixel;
H A Dvibrance_f.rs28 float4 RS_KERNEL vibranceKernel(float4 in) {
47 float4 o;
H A Dvignette_approx_f.rsh47 float4 __attribute__((kernel)) vignette(float4 in, uint32_t x, uint32_t y) {
53 float4 fout;
H A Dvignette_f.rsh47 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 Dresize.rs38 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 Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
30 float4 f4 = convert_float4(v_in);
H A Dthreshold.rs73 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 Dresize.rs38 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 Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
30 float4 f4 = convert_float4(v_in);
H A Dthreshold.rs73 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 Dresize.rs38 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 Dgreyscale.rs23 float4 f4 = rsUnpackColor8888(v_in);
30 float4 f4 = convert_float4(v_in);
H A Dthreshold.rs73 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 Dcopy_test.rs37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A Dcopy_test.rs37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A Dcopy_test.rs37 float4 __attribute((kernel)) copyFloat4(float4 i) {
/frameworks/rs/driver/runtime/
H A Drs_convert.c59 * 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 Drs_sample.c69 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 Drs_matrix.rsh69 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...]

Completed in 152 milliseconds

1234