/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerCubic.h | 43 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/ |
D | convolve5x5.rscript | 36 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/ |
D | convolve5x5.rscript | 36 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/ |
D | convolve5x5.rscript | 36 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/layoutlib/bridge/src/android/view/shadow/ |
D | TriangleBuffer.java | 137 int y3 = (int) (16.0f * fy3 + .5f); in triangleZBuffMin() local 148 int dy23 = y2 - y3; in triangleZBuffMin() 149 int dy31 = y3 - y1; in triangleZBuffMin() 161 int miny = (min(y1, y2, y3) + 0xF) >> 4; in triangleZBuffMin() 162 int maxy = (max(y1, y2, y3) + 0xF) >> 4; in triangleZBuffMin() 180 int c3 = dy31 * x3 - dx31 * y3; in triangleZBuffMin()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicConvolve5x5.cpp | 340 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 …]
|
D | rsCpuIntrinsics_x86.cpp | 455 __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/ |
D | Path.java | 440 float x3, float y3) { in cubicTo() argument 442 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in cubicTo() 451 float x3, float y3) { in rCubicTo() argument 453 nRCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in rCubicTo() 838 float x3, float y3); in nCubicTo() argument 840 float x3, float y3); in nRCubicTo() argument
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | DistortionMapper.cpp | 464 const float &y3 = quad.coords[5]; in findEnclosingQuad() local 478 float s2 = (x - x2) * (y3 - y2) - (y - y2) * (x3 - x2); in findEnclosingQuad() 480 float s3 = (x - x3) * (y4 - y3) - (y - y3) * (x4 - x3); in findEnclosingQuad() 498 const float &y3 = quad.coords[5]; 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()
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_shader_program.cpp | 145 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()
|
D | jni_shader_program.h | 73 jfloat y3); 85 jfloat y3);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | colorspace.cpp | 70 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/ |
D | BrightnessMappingStrategyTest.java | 465 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionLowChangeAtCenter() local 472 assertEquals(y3, strategy.getBrightness(x3), 0.01f /* tolerance */); in testGammaCorrectionLowChangeAtCenter() 478 assertEquals(MathUtils.pow(y3, gamma), strategy.getBrightness(x3), 0.01f /* tolerance */); in testGammaCorrectionLowChangeAtCenter() 493 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionHighChangeAtCenter() local 500 assertEquals(y3, strategy.getBrightness(x3), 0.01f /* tolerance */); in testGammaCorrectionHighChangeAtCenter() 509 assertEquals(MathUtils.pow(y3, minGamma), strategy.getBrightness(x3), in testGammaCorrectionHighChangeAtCenter()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 290 float x2, float y2, float x3, float y3) { in nCubicTo() argument 296 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3); in nCubicTo() 301 float x2, float y2, float x3, float y3) { in nRCubicTo() argument 307 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3); in nRCubicTo() 767 float x3, float y3) { in cubicTo() argument 771 mPath.curveTo(x1, y1, x2, y2, mLastX = x3, mLastY = y3); in cubicTo()
|
/frameworks/layoutlib/bridge/src/android/view/math/ |
D | Math3DHelper.java | 414 float x3, float y3, 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/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Quaternion.java | 102 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()
|
D | rasterize.rscript | 49 // string(solve([x1*dx+y1*dy+zoff=z1,x2*dx+y2*dy+zoff=z2,x3*dx+y3*dy+zoff=z3],[dx,dy,zoff]));
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | ShaderProgram.java | 269 float x2, float y2, float x3, float y3); in setSourceRegion() argument 272 float x2, float y2, float x3, float y3); in setTargetRegion() argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
D | Quad.java | 326 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/ |
D | rsdGL.h | 92 float x3, float y3, float z3, float u3, float v3,
|
D | rsdRuntimeStubs.cpp | 855 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,
|
D | rsdGL.cpp | 543 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/ |
D | Path.cpp | 108 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { in cubicTo__FFFFFF() argument 110 obj->cubicTo(x1, y1, x2, y2, x3, y3); in cubicTo__FFFFFF() 114 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { in rCubicTo() argument 116 obj->rCubicTo(x1, y1, x2, y2, x3, y3); in rCubicTo()
|
/frameworks/rs/ |
D | rsFont.h | 250 float x3, float y3, float z3,
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 5007 int32_t x3 = 700, y3 = 300; in TEST_F() local 5010 processPosition(mapper, x3, y3); in TEST_F() 5031 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F() 5039 x3 += 30; y3 -= 20; in TEST_F() 5040 processPosition(mapper, x3, y3); in TEST_F() 5061 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F() 5082 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F() 5105 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F() 5224 int32_t x3 = 700, y3 = 300; in TEST_F() local 5228 processPosition(mapper, x3, y3); in TEST_F() [all …]
|