Home
last modified time | relevance | path

Searched refs:y4 (Results 1 – 18 of 18) sorted by relevance

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dconvolve5x5.rscript37 uint32_t y4 = min((int32_t)y+2, gHeight-1);
63 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y4)) * gCoeffs[20]
64 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y4)) * gCoeffs[21]
65 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y4)) * gCoeffs[22]
66 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y4)) * gCoeffs[23]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dconvolve5x5.rscript37 uint32_t y4 = min((int32_t)y+2, gHeight-1);
63 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y4)) * gCoeffs[20]
64 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y4)) * gCoeffs[21]
65 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y4)) * gCoeffs[22]
66 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y4)) * gCoeffs[23]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dconvolve5x5.rscript37 uint32_t y4 = min((int32_t)y+2, gHeight-1);
63 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y4)) * gCoeffs[20]
64 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y4)) * gCoeffs[21]
65 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y4)) * gCoeffs[22]
66 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y4)) * gCoeffs[23]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp466 const float &y4 = quad.coords[7]; in findEnclosingQuad() local
480 float s3 = (x - x3) * (y4 - y3) - (y - y3) * (x4 - x3); in findEnclosingQuad()
482 float s4 = (x - x4) * (y1 - y4) - (y - y4) * (x1 - x4); in findEnclosingQuad()
500 const float &y4 = calculateU ? quad.coords[7] : quad.coords[3]; in calculateUorV() local
502 float a = (x1 - x2) * (y1 - y2 + y3 - y4) - (y1 - y2) * (x1 - x2 + x3 - x4); in calculateUorV()
503 float b = (x - x1) * (y1 - y2 + y3 - y4) + (x1 - x2) * (y4 - y1) - in calculateUorV()
505 float c = (x - x1) * (y4 - y1) - (y - y1) * (x4 - x1); in calculateUorV()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp340 const void *y2, const void *y3, const void *y4,
358 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU4() local
364 const uchar4 *py4 = (const uchar4 *)(pin + stride * y4); in kernelU4()
418 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU2() local
424 const uchar2 *py4 = (const uchar2 *)(pin + stride * y4); in kernelU2()
467 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU1() local
473 const uchar *py4 = (const uchar *)(pin + stride * y4); in kernelU1()
516 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelF4() local
522 const float4 *py4 = (const float4 *)(pin + stride * y4); in kernelF4()
565 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelF2() local
[all …]
DrsCpuIntrinsics_x86.cpp455 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv_K() local
464 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv_K()
465 _mm_storeu_si128((__m128i *)dst, y4); in rsdIntrinsicYuv_K()
517 __m128i y1, y2, y3, y4; in rsdIntrinsicYuvR_K() local
526 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuvR_K()
527 _mm_storeu_si128((__m128i *)dst, y4); in rsdIntrinsicYuvR_K()
578 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv2_K() local
587 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv2_K()
588 _mm_storeu_si128((__m128i *)dst, y4); in rsdIntrinsicYuv2_K()
598 const void *y3, const void *y4, in rsdIntrinsicConvolve5x5_K() argument
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp70 int u, v, y1, y2, y3, y4; in JNI_COLORSPACE_METHOD() local
75 y4 = pInY[width + 1]; in JNI_COLORSPACE_METHOD()
83 pOutColor[width + 1] = convertYuvToRgba(y4, u, v); in JNI_COLORSPACE_METHOD()
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java415 float x4, float y4, in lineIntersection() argument
418 float d = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4); in lineIntersection()
424 float dy = (x3 * y4 - y3 * x4); in lineIntersection()
426 float y = (dx * (y3 - y4) - (y1 - y2) * dy) / d; in lineIntersection()
431 || ((y - y3) * (y - y4) > EPSILON)) { in lineIntersection()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java539 final float y4 = GAMMA_CORRECTION_SPLINE.interpolate(x4); in testGammaCorrectionChangeAtEdges() local
546 assertEquals(y4, strategy.getBrightness(x4), 0.01f /* tolerance */); in testGammaCorrectionChangeAtEdges()
553 assertEquals(MathUtils.pow(y4, gamma), strategy.getBrightness(x4), 0.01f /* tolerance */); in testGammaCorrectionChangeAtEdges()
556 adjustment = 1.0f - y4; in testGammaCorrectionChangeAtEdges()
/frameworks/rs/driver/
DrsdGL.h93 float x4, float y4, float z4, float u4, float v4);
DrsdRuntimeStubs.cpp856 float x4, float y4, float z4, float u4, float v4) { argument
874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
890 float x4, float y4, float z4) { argument
894 x4, y4, z4, 0, 0);
1028 float x4, float y4, float z4) { argument
1032 x4, y4, z4);
1038 float x4, float y4, float z4, float u4, float v4) { argument
1042 x4, y4, z4, u4, v4);
DrsdGL.cpp544 float x4, float y4, float z4, float u4, float v4) { in rsdGLDrawQuadTexCoords() argument
546 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords()
/frameworks/rs/
DrsFont.h252 float x4, float y4, float z4,
DrsFont.cpp669 float x4, float y4, float z4, in appendMeshQuad() argument
675 if (x1 > mSurfaceWidth || y1 < 0.0f || x2 < 0 || y4 > mSurfaceHeight) { in appendMeshQuad()
706 (*currentPos++) = y4; in appendMeshQuad()
/frameworks/rs/script_api/
Drs_graphics.spec494 arg: float y4
524 arg: float y4
/frameworks/rs/script_api/include/
Drs_graphics.rsh817 float z3, float x4, float y4, float z4);
838 float v3, float x4, float y4, float z4, float u4, float v4);
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password90 +o9z��x������B"H����z�J��� _�����{�U�2 ��yj����y4�Pd��*��gO��$�,���Xǥ��肮$:(��k�����./…
/frameworks/base/core/java/android/view/
DViewGroup.java4051 int y4 = y3 + dy2; in fillDifference() local
4056 fillRect(canvas, paint, x1, y3, x4, y4); in fillDifference()