Home
last modified time | relevance | path

Searched refs:y3 (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libaudioprocessing/
DAudioResamplerCubic.h43 int32_t a, b, c, y0, y1, y2, y3; member
56 p->y2 = p->y3; in advance()
57 p->y3 = in; in advance()
58 p->a = (3 * (p->y1 - p->y2) - p->y0 + p->y3) >> 1; in advance()
59 p->b = (p->y2 << 1) + p->y0 - (((5 * p->y1 + p->y3)) >> 1); in advance()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dconvolve5x5.rs36 uint32_t y3 = min((int32_t)y+1, gHeight-1);
57 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
58 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y3)) * gCoeffs[16]
59 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y3)) * gCoeffs[17]
60 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y3)) * gCoeffs[18]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dconvolve5x5.rs36 uint32_t y3 = min((int32_t)y+1, gHeight-1);
57 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
58 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y3)) * gCoeffs[16]
59 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y3)) * gCoeffs[17]
60 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y3)) * gCoeffs[18]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dconvolve5x5.rs36 uint32_t y3 = min((int32_t)y+1, gHeight-1);
57 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
58 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y3)) * gCoeffs[16]
59 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y3)) * gCoeffs[17]
60 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y3)) * gCoeffs[18]
61 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y3)) * gCoeffs[19]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp340 const void *y2, const void *y3, const void *y4,
357 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelU4() local
363 const uchar4 *py3 = (const uchar4 *)(pin + stride * y3); in kernelU4()
417 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelU2() local
423 const uchar2 *py3 = (const uchar2 *)(pin + stride * y3); in kernelU2()
466 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelU1() local
472 const uchar *py3 = (const uchar *)(pin + stride * y3); in kernelU1()
515 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelF4() local
521 const float4 *py3 = (const float4 *)(pin + stride * y3); in kernelF4()
564 uint32_t y3 = rsMin((int32_t)info->current.y+1, (int32_t)(info->dim.y-1)); in kernelF2() local
[all …]
DrsCpuIntrinsics_x86.cpp455 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv_K() local
459 y3 = _mm_packus_epi16(y1, y2); in rsdIntrinsicYuv_K()
464 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv_K()
517 __m128i y1, y2, y3, y4; in rsdIntrinsicYuvR_K() local
521 y3 = _mm_packus_epi16(y1, y2); in rsdIntrinsicYuvR_K()
526 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuvR_K()
578 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv2_K() local
582 y3 = _mm_packus_epi16(y1, y2); in rsdIntrinsicYuv2_K()
587 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv2_K()
598 const void *y3, const void *y4, in rsdIntrinsicConvolve5x5_K() argument
[all …]
/frameworks/base/graphics/java/android/graphics/
DPath.java435 float x3, float y3) { in cubicTo() argument
437 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in cubicTo()
446 float x3, float y3) { in rCubicTo() argument
448 nRCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in rCubicTo()
833 float x3, float y3); in nCubicTo() argument
835 float x3, float y3); in nRCubicTo() argument
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp403 const float &y3 = quad.coords[5]; in findEnclosingQuad() local
417 float s2 = (x - x2) * (y3 - y2) - (y - y2) * (x3 - x2); in findEnclosingQuad()
419 float s3 = (x - x3) * (y4 - y3) - (y - y3) * (x4 - x3); in findEnclosingQuad()
437 const float &y3 = quad.coords[5]; in calculateUorV() local
441 float a = (x1 - x2) * (y1 - y2 + y3 - y4) - (y1 - y2) * (x1 - x2 + x3 - x4); in calculateUorV()
442 float b = (x - x1) * (y1 - y2 + y3 - y4) + (x1 - x2) * (y4 - y1) - in calculateUorV()
/frameworks/base/libs/hwui/
DFontRenderer.h147 float v2, float x3, float y3, float u3, float v3, float x4, float y4,
150 float v2, float x3, float y3, float u3, float v3, float x4, float y4,
153 float v2, float x3, float y3, float u3, float v3, float x4, float y4,
DFontRenderer.cpp502 float u2, float v2, float x3, float y3, float u3, float v3, in appendMeshQuadNoClip() argument
510 mCurrentCacheTexture->addQuad(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4); in appendMeshQuadNoClip()
514 float u2, float v2, float x3, float y3, float u3, float v3, in appendMeshQuad() argument
520 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); in appendMeshQuad()
524 mBounds->top = std::min(mBounds->top, y3); in appendMeshQuad()
535 float u2, float v2, float x3, float y3, float u3, float v3, in appendRotatedMeshQuad() argument
538 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); in appendRotatedMeshQuad()
542 mBounds->top = std::min(mBounds->top, std::min(y1, std::min(y2, std::min(y3, y4)))); in appendRotatedMeshQuad()
544 mBounds->bottom = std::max(mBounds->bottom, std::max(y1, std::max(y2, std::max(y3, y4)))); in appendRotatedMeshQuad()
/frameworks/base/media/mca/filterfw/jni/
Djni_shader_program.cpp145 jfloat y3) { in Java_android_filterfw_core_ShaderProgram_setSourceRegion() argument
148 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3))); in Java_android_filterfw_core_ShaderProgram_setSourceRegion()
163 jfloat y3) { in Java_android_filterfw_core_ShaderProgram_setTargetRegion() argument
166 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3))); in Java_android_filterfw_core_ShaderProgram_setTargetRegion()
Djni_shader_program.h73 jfloat y3);
85 jfloat y3);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp70 int u, v, y1, y2, y3, y4; in JNI_COLORSPACE_METHOD() local
74 y3 = pInY[width]; in JNI_COLORSPACE_METHOD()
82 pOutColor[width] = convertYuvToRgba(y3, u, v); in JNI_COLORSPACE_METHOD()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java467 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionLowChangeAtCenter() local
474 assertEquals(y3, strategy.getBrightness(x3), 0.01f /* tolerance */); in testGammaCorrectionLowChangeAtCenter()
480 assertEquals(MathUtils.pow(y3, gamma), strategy.getBrightness(x3), 0.01f /* tolerance */); in testGammaCorrectionLowChangeAtCenter()
495 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionHighChangeAtCenter() local
502 assertEquals(y3, strategy.getBrightness(x3), 0.01f /* tolerance */); in testGammaCorrectionHighChangeAtCenter()
511 assertEquals(MathUtils.pow(y3, minGamma), strategy.getBrightness(x3), in testGammaCorrectionHighChangeAtCenter()
/frameworks/base/libs/hwui/font/
DCacheTexture.h135 float v2, float x3, float y3, float u3, float v3, float x4, float y4, in addQuad() argument
139 TextureVertex::set(mesh++, x3, y3, u3, v3); in addQuad()
/frameworks/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java286 float x2, float y2, float x3, float y3) { in nCubicTo() argument
292 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3); in nCubicTo()
297 float x2, float y2, float x3, float y3) { in nRCubicTo() argument
303 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3); in nRCubicTo()
757 float x3, float y3) { in cubicTo() argument
761 mPath.curveTo(x1, y1, x2, y2, mLastX = x3, mLastY = y3); in cubicTo()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java102 double y3 = a.x[0] * b.x[3] + a.x[1] * b.x[2] - a.x[2] * b.x[1] + a.x[3] * b.x[0]; in times() local
103 return new Quaternion(y0, y1, y2, y3); in times()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java266 float x2, float y2, float x3, float y3); in setSourceRegion() argument
269 float x2, float y2, float x3, float y3); in setTargetRegion() argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java326 private Quad(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) { in Quad() argument
330 mBottomRight = new PointF(x3, y3); in Quad()
/frameworks/rs/driver/
DrsdGL.h92 float x3, float y3, float z3, float u3, float v3,
DrsdRuntimeStubs.cpp855 float x3, float y3, float z3, float u3, float v3, argument
874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
889 float x3, float y3, float z3, argument
893 x3, y3, z3, 1, 0,
1027 float x3, float y3, float z3, argument
1031 x3, y3, z3,
1037 float x3, float y3, float z3, float u3, float v3, argument
1041 x3, y3, z3, u3, v3,
DrsdGL.cpp543 float x3, float y3, float z3, float u3, float v3, in rsdGLDrawQuadTexCoords() argument
546 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords()
/frameworks/base/core/jni/android/graphics/
DPath.cpp113 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { in cubicTo__FFFFFF() argument
115 obj->cubicTo(x1, y1, x2, y2, x3, y3); in cubicTo__FFFFFF()
119 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { in rCubicTo() argument
121 obj->rCubicTo(x1, y1, x2, y2, x3, y3); in rCubicTo()
/frameworks/rs/
DrsFont.h250 float x3, float y3, float z3,
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp4685 int32_t x3 = 700, y3 = 300; in TEST_F() local
4688 processPosition(mapper, x3, y3); in TEST_F()
4709 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
4717 x3 += 30; y3 -= 20; in TEST_F()
4718 processPosition(mapper, x3, y3); in TEST_F()
4739 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
4760 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
4783 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
4902 int32_t x3 = 700, y3 = 300; in TEST_F() local
4906 processPosition(mapper, x3, y3); in TEST_F()
[all …]

12