Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp106 int xs0 = rsMax(0, startx + 0); in OneBiCubic() local
111 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]), in OneBiCubic()
116 float4 p1 = cubicInterpolate(convert_float4(yp1[xs0]), in OneBiCubic()
121 float4 p2 = cubicInterpolate(convert_float4(yp2[xs0]), in OneBiCubic()
126 float4 p3 = cubicInterpolate(convert_float4(yp3[xs0]), in OneBiCubic()
141 int xs0 = rsMax(0, startx + 0); in OneBiCubic() local
146 float2 p0 = cubicInterpolate(convert_float2(yp0[xs0]), in OneBiCubic()
151 float2 p1 = cubicInterpolate(convert_float2(yp1[xs0]), in OneBiCubic()
156 float2 p2 = cubicInterpolate(convert_float2(yp2[xs0]), in OneBiCubic()
161 float2 p3 = cubicInterpolate(convert_float2(yp3[xs0]), in OneBiCubic()
[all …]
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rscript54 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.rscript54 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.rscript54 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));