Home
last modified time | relevance | path

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

/frameworks/rs/toolkit/
DResize.cpp134 int xs2 = std::min(maxx, startx + 2); in OneBiCubic() local
139 convert<float4>(yp0[xs2]), in OneBiCubic()
144 convert<float4>(yp1[xs2]), in OneBiCubic()
149 convert<float4>(yp2[xs2]), in OneBiCubic()
154 convert<float4>(yp3[xs2]), in OneBiCubic()
169 int xs2 = std::min(maxx, startx + 2); in OneBiCubic() local
174 convert<float2>(yp0[xs2]), in OneBiCubic()
179 convert<float2>(yp1[xs2]), in OneBiCubic()
184 convert<float2>(yp2[xs2]), in OneBiCubic()
189 convert<float2>(yp3[xs2]), in OneBiCubic()
[all …]
/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/toolkit/test/
DReferenceResize.kt71 val xs2: Int = kotlin.math.min(maxX, startX + 2) in bicubicU4() constant
81 val p02 = gIn[xs2, ys0].toFloatArray() in bicubicU4()
87 val p12 = gIn[xs2, ys1].toFloatArray() in bicubicU4()
93 val p22 = gIn[xs2, ys2].toFloatArray() in bicubicU4()
99 val p32 = gIn[xs2, ys3].toFloatArray() in bicubicU4()
/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/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/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));