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.rs61 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.rs61 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.rs61 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.cpp326 int ys2 = rsMin(maxy, starty + 2); in kernelU4() local
331 const uchar4 *yp2 = (const uchar4 *)(pin + stride * ys2); in kernelU4()
393 int ys2 = rsMin(maxy, starty + 2); in kernelU2() local
398 const uchar2 *yp2 = (const uchar2 *)(pin + stride * ys2); in kernelU2()
460 int ys2 = rsMin(maxy, starty + 2); in kernelU1() local
465 const uchar *yp2 = pin + stride * ys2; in kernelU1()
527 int ys2 = rsMin(maxy, starty + 2); in kernelF4() local
532 const float4 *yp2 = (const float4 *)(pin + stride * ys2); in kernelF4()
567 int ys2 = rsMin(maxy, starty + 2); in kernelF2() local
572 const float2 *yp2 = (const float2 *)(pin + stride * ys2); in kernelF2()
[all …]