/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_resize.rs | 62 uint32_t ys1 = (uint32_t) max(0, starty + 1); 72 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys1)); 73 float4 p11 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys1)); 74 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys1)); 75 float4 p13 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys1)); 112 uint32_t ys1 = (uint32_t) max(0, starty + 1); 122 float3 p10 = convert_float3(rsGetElementAt_uchar3(gIn, xs0, ys1)); 123 float3 p11 = convert_float3(rsGetElementAt_uchar3(gIn, xs1, ys1)); 124 float3 p12 = convert_float3(rsGetElementAt_uchar3(gIn, xs2, ys1)); 125 float3 p13 = convert_float3(rsGetElementAt_uchar3(gIn, xs3, ys1)); [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
resize.rs | 60 uint32_t ys1 = (uint32_t) max(0, starty + 1); 70 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys1)); 71 float4 p11 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys1)); 72 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys1)); 73 float4 p13 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys1));
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
resize.rs | 60 uint32_t ys1 = (uint32_t) max(0, starty + 1); 70 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys1)); 71 float4 p11 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys1)); 72 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys1)); 73 float4 p13 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys1));
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
resize.rs | 60 uint32_t ys1 = (uint32_t) clamp(starty + 1, 0 , maxy); 70 float4 p10 = convert_float4(rsGetElementAt_uchar4(gIn, xs0, ys1)); 71 float4 p11 = convert_float4(rsGetElementAt_uchar4(gIn, xs1, ys1)); 72 float4 p12 = convert_float4(rsGetElementAt_uchar4(gIn, xs2, ys1)); 73 float4 p13 = convert_float4(rsGetElementAt_uchar4(gIn, xs3, ys1));
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 325 int ys1 = rsMax(0, starty + 1); local 330 const uchar4 *yp1 = (const uchar4 *)(pin + stride * ys1); 392 int ys1 = rsMax(0, starty + 1); local 397 const uchar2 *yp1 = (const uchar2 *)(pin + stride * ys1); 459 int ys1 = rsMax(0, starty + 1); local 464 const uchar *yp1 = pin + stride * ys1; 526 int ys1 = rsMax(0, starty + 1); local 531 const float4 *yp1 = (const float4 *)(pin + stride * ys1); 566 int ys1 = rsMax(0, starty + 1); local 571 const float2 *yp1 = (const float2 *)(pin + stride * ys1); 606 int ys1 = rsMax(0, starty + 1); local [all...] |
/external/pdfium/core/fxcodec/jbig2/ |
JBig2_Image.cpp | 253 int32_t xs0 = 0, ys0 = 0, xs1 = 0, ys1 = 0, xd0 = 0, yd0 = 0, xd1 = 0, local 269 ys1 = pDst->m_nHeight - y; 271 ys1 = m_nHeight; 281 if ((ys0 >= ys1) || (xs0 >= xs1)) { 285 h = ys1 - ys0; 692 int32_t ys1 = y + sh > pDst->m_nHeight ? pDst->m_nHeight - y : sh; 695 if ((ys0 >= ys1) || (xs0 >= xs1)) { 699 int32_t h = ys1 - ys0; [all...] |