Home
last modified time | relevance | path

Searched refs:xs2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp108 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic() local
113 convert_float4(yp0[xs2]), in OneBiCubic()
118 convert_float4(yp1[xs2]), in OneBiCubic()
123 convert_float4(yp2[xs2]), in OneBiCubic()
128 convert_float4(yp3[xs2]), in OneBiCubic()
143 int xs2 = rsMin(maxx, startx + 2); in OneBiCubic() local
148 convert_float2(yp0[xs2]), in OneBiCubic()
153 convert_float2(yp1[xs2]), in OneBiCubic()
158 convert_float2(yp2[xs2]), in OneBiCubic()
163 convert_float2(yp3[xs2]), in OneBiCubic()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rscript56 uint32_t xs2 = (uint32_t) min(maxx, startx + 2);
66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0));
72 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys1));
78 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys2));
84 float4 p32 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys3));
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dresize.rscript56 uint32_t xs2 = (uint32_t) clamp(startx + 2, 0, maxx);
66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0));
72 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys1));
78 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys2));
84 float4 p32 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys3));
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dresize.rscript56 uint32_t xs2 = (uint32_t) min(maxx, startx + 2);
66 float4 p02 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys0));
72 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys1));
78 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys2));
84 float4 p32 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys3));