Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dresize.rscript61 uint32_t ys2 = (uint32_t) min(maxy, starty + 2);
76 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys2));
77 float4 p21 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys2));
78 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys2));
79 float4 p23 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys2));
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dresize.rscript61 uint32_t ys2 = (uint32_t) clamp(starty + 2, 0 , maxy);
76 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys2));
77 float4 p21 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys2));
78 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys2));
79 float4 p23 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys2));
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dresize.rscript61 uint32_t ys2 = (uint32_t) min(maxy, starty + 2);
76 float4 p20 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys2));
77 float4 p21 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys2));
78 float4 p22 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys2));
79 float4 p23 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys2));
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicResize.cpp348 int ys2 = rsMin(maxy, starty + 2); in kernelU4() local
353 const uchar4 *yp2 = (const uchar4 *)(pin + stride * ys2); in kernelU4()
425 int ys2 = rsMin(maxy, starty + 2); in kernelU2() local
430 const uchar2 *yp2 = (const uchar2 *)(pin + stride * ys2); in kernelU2()
503 int ys2 = rsMin(maxy, starty + 2); in kernelU1() local
508 const uchar *yp2 = pin + stride * ys2; in kernelU1()
581 int ys2 = rsMin(maxy, starty + 2); in kernelF4() local
586 const float4 *yp2 = (const float4 *)(pin + stride * ys2); in kernelF4()
633 int ys2 = rsMin(maxy, starty + 2); in kernelF2() local
638 const float2 *yp2 = (const float2 *)(pin + stride * ys2); in kernelF2()
[all …]