Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp91 int xs0 = rsMax(0, startx + 0); in OneBiCubic() local
96 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]), in OneBiCubic()
101 float4 p1 = cubicInterpolate(convert_float4(yp1[xs0]), in OneBiCubic()
106 float4 p2 = cubicInterpolate(convert_float4(yp2[xs0]), in OneBiCubic()
111 float4 p3 = cubicInterpolate(convert_float4(yp3[xs0]), in OneBiCubic()
126 int xs0 = rsMax(0, startx + 0); in OneBiCubic() local
131 float2 p0 = cubicInterpolate(convert_float2(yp0[xs0]), in OneBiCubic()
136 float2 p1 = cubicInterpolate(convert_float2(yp1[xs0]), in OneBiCubic()
141 float2 p2 = cubicInterpolate(convert_float2(yp2[xs0]), in OneBiCubic()
146 float2 p3 = cubicInterpolate(convert_float2(yp3[xs0]), in OneBiCubic()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rs54 uint32_t xs0 = (uint32_t) max(0, startx + 0);
64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0));
70 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys1));
76 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys2));
82 float4 p30 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys3));
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dresize.rs54 uint32_t xs0 = (uint32_t) clamp(startx + 0, 0, maxx);
64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0));
70 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys1));
76 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys2));
82 float4 p30 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys3));
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dresize.rs54 uint32_t xs0 = (uint32_t) max(0, startx + 0);
64 float4 p00 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys0));
70 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys1));
76 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys2));
82 float4 p30 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys3));