Home
last modified time | relevance | path

Searched refs:y3 (Results 1 – 25 of 31) 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.rscript36 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.rscript36 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.rscript36 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/toolkit/
DConvolve5x5.cpp29 const void* y3, const void* y4, const int16_t* coef,
205 uint32_t y3 = std::min((int32_t)currentY + 1, sizeY); in kernelF4() local
211 const float4* py3 = (const float4*)(pin + stride * y3); in kernelF4()
227 uint32_t y3 = std::min((int32_t)currentY + 1, sizeY); in RsdCpuScriptIntrinsicConvolve5x5_kernelF2() local
233 const float2* py3 = (const float2*)(pin + stride * y3); in RsdCpuScriptIntrinsicConvolve5x5_kernelF2()
249 uint32_t y3 = std::min((int32_t)currentY + 1, sizeY); in RsdCpuScriptIntrinsicConvolve5x5_kernelF1() local
255 const float* py3 = (const float*)(pin + stride * y3); in RsdCpuScriptIntrinsicConvolve5x5_kernelF1()
272 uint32_t y3 = std::min((int32_t)y + 1, (int32_t)(sizeY - 1)); in convolveU() local
280 InputOutputType* py3 = (InputOutputType*)(pin + stride * y3); in convolveU()
297 uint32_t y3 = std::min((int32_t)y + 1, (int32_t)(sizeY - 1)); in convolveU4() local
[all …]
Dx86.cpp458 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv_K() local
462 y3 = _mm_packus_epi16(y1, y2); in rsdIntrinsicYuv_K()
467 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv_K()
520 __m128i y1, y2, y3, y4; in rsdIntrinsicYuvR_K() local
524 y3 = _mm_packus_epi16(y1, y2); in rsdIntrinsicYuvR_K()
529 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuvR_K()
581 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv2_K() local
585 y3 = _mm_packus_epi16(y1, y2); in rsdIntrinsicYuv2_K()
590 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv2_K()
601 const void *y3, const void *y4, in rsdIntrinsicConvolve5x5_K() argument
[all …]
/frameworks/native/libs/tonemap/
Dtonemap.cpp391 double y3 = maxOutLumi; in lookupTonemapGain() local
395 double c3 = y3 / 1.5; in lookupTonemapGain()
417 t * t * y3; in lookupTonemapGain()
644 const double y3 = maxOutLumi; in lookupTonemapGain() local
654 const double slope3 = (y3 - y2) / (greyNorm3 - greyNorm2); in lookupTonemapGain()
699 targetNits = (greyNits - greyNorm3) * slope3 + y3; in lookupTonemapGain()
/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.java447 float x3, float y3) { in cubicTo() argument
449 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in cubicTo()
458 float x3, float y3) { in rCubicTo() argument
460 nRCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in rCubicTo()
845 float x3, float y3); in nCubicTo() argument
847 float x3, float y3); in nRCubicTo() argument
/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/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp506 const float &y3 = quad.coords[5]; in findEnclosingQuad() local
520 float s2 = (x - x2) * (y3 - y2) - (y - y2) * (x3 - x2); in findEnclosingQuad()
522 float s3 = (x - x3) * (y4 - y3) - (y - y3) * (x4 - x3); in findEnclosingQuad()
540 const float &y3 = quad.coords[5]; in calculateUorV() local
544 float a = (x1 - x2) * (y1 - y2 + y3 - y4) - (y1 - y2) * (x1 - x2 + x3 - x4); in calculateUorV()
545 float b = (x - x1) * (y1 - y2 + y3 - y4) + (x1 - x2) * (y4 - y1) - in calculateUorV()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java586 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionLowChangeAtCenter() local
597 assertEquals(y3, strategy.getBrightness(x3), 0.0001f /* tolerance */); in testGammaCorrectionLowChangeAtCenter()
603 assertEquals(MathUtils.pow(y3, gamma), strategy.getBrightness(x3), 0.0001f /* tolerance */); in testGammaCorrectionLowChangeAtCenter()
618 final float y3 = GAMMA_CORRECTION_SPLINE.interpolate(x3); in testGammaCorrectionHighChangeAtCenter() local
628 assertEquals(y3, strategy.getBrightness(x3), 0.0001f /* tolerance */); in testGammaCorrectionHighChangeAtCenter()
637 assertEquals(MathUtils.pow(y3, minGamma), in testGammaCorrectionHighChangeAtCenter()
/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.java269 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/
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/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java118 final int y3 = y2; in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea() local
119 MotionEvent stylusEvent3 = createStylusEvent(ACTION_MOVE, x3, y3, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
/frameworks/base/libs/hwui/jni/
DPath.cpp106 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { in cubicTo__FFFFFF() argument
108 obj->cubicTo(x1, y1, x2, y2, x3, y3); in cubicTo__FFFFFF()
112 jfloat x2, jfloat y2, jfloat x3, jfloat y3) { in rCubicTo() argument
114 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.cpp7422 int32_t x3 = 700, y3 = 300; in TEST_F() local
7425 processPosition(mapper, x3, y3); in TEST_F()
7445 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
7453 x3 += 30; y3 -= 20; in TEST_F()
7454 processPosition(mapper, x3, y3); in TEST_F()
7474 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
7495 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
7518 toDisplayX(x3), toDisplayY(y3), 1, 0, 0, 0, 0, 0, 0, 0)); in TEST_F()
7685 int32_t x3 = 700, y3 = 300; in TEST_F() local
7689 processPosition(mapper, x3, y3); in TEST_F()
[all …]

12