/aosp12/frameworks/av/media/codecs/m4v_h263/dec/src/ |
H A D | get_pred_adv_b_add.cpp | 911 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1() 913 y1 += y2; in GetPredAdvancedBy1x1() 922 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1() 924 x2 += y2; in GetPredAdvancedBy1x1() 938 x1 += y2; in GetPredAdvancedBy1x1() 982 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1() 993 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1() 1060 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1() 1071 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1() 1138 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1() [all …]
|
H A D | conceal.cpp | 151 uint8 *y1, *y2, *u1, *u2, *v1, *v2; in CopyVopMB() local 166 y2 = prevFrame + lumstart; in CopyVopMB() 171 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 173 y2 += width_Y; in CopyVopMB() 174 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 176 y2 += width_Y; in CopyVopMB() 177 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 179 y2 += width_Y; in CopyVopMB() 180 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 182 y2 += width_Y; in CopyVopMB()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | DebugBoundsRenderer.java | 49 float x2, float y2) { in drawBounds() argument 64 canvas.drawLine(x2 - size, y2, x2, y2, paint); in drawBounds() 66 canvas.drawLine(x2, y2- size, x2, y2, paint); in drawBounds() 70 canvas.drawLine(x1, y2, x1 + size, y2, paint); in drawBounds() 72 canvas.drawLine(x1, y2 - size, x1, y2, paint); in drawBounds() 76 float cY = (y1 + y2) / 2; in drawBounds()
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
H A D | MatrixFit.java | 164 for (int y2 = y + 1; y2 < h; y2++) { // Find max pivot in gaussianElimination() 165 if (Math.abs(m[y2][y]) > Math.abs(m[maxrow][y])) { in gaussianElimination() 166 maxrow = y2; in gaussianElimination() 179 for (int y2 = y + 1; y2 < h; y2++) { // Eliminate column y in gaussianElimination() 180 double c = m[y2][y] / m[y][y]; in gaussianElimination() 182 m[y2][x] -= m[y][x] * c; in gaussianElimination() 188 for (int y2 = 0; y2 < y; y2++) { in gaussianElimination() 190 m[y2][x] -= m[y][x] * m[y2][y] / c; in gaussianElimination()
|
/aosp12/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
H A D | Geometry.h | 66 double x2, double y2, in FindTriangleCentroid() argument 71 centY = (y0 + y1 + y2) / 3.0; in FindTriangleCentroid() 74 if (y0 == y2) in FindTriangleCentroid() 89 mass = fabs((x2 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid() 93 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 2a in FindTriangleCentroid() 98 mass = fabs((x1 - x0) * (y2 - y0)); // Special case 3 in FindTriangleCentroid() 104 double dy = y2 - y0; in FindTriangleCentroid() 129 inline void FindQuadCentroid(double x0, double y0, double x1, double y1, double x2, double y2, doub… in FindQuadCentroid() argument 143 FindTriangleCentroid(x0, y0, x1, y1, x2, y2, mass1, cent1x, cent1y); in FindQuadCentroid() 144 FindTriangleCentroid(x0, y0, x3, y3, x2, y2, mass2, cent2x, cent2y); in FindQuadCentroid()
|
/aosp12/frameworks/av/media/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1167 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1() 1169 y1 += y2; in GetPredAdvBy1x1() 1178 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1() 1180 x2 += y2; in GetPredAdvBy1x1() 1194 x1 += y2; in GetPredAdvBy1x1() 1238 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1() 1249 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1() 1316 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1() 1327 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1() 1394 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1() [all …]
|
/aosp12/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerCubic.h | 43 int32_t a, b, c, y0, y1, y2, y3; member 55 p->y1 = p->y2; in advance() 56 p->y2 = p->y3; 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() 60 p->c = (p->y2 - p->y0) >> 1; in advance()
|
/aosp12/bionic/libm/upstream-netbsd/lib/libm/complex/ |
H A D | cephes_subrl.c | 92 long double f, x, x2, y, y2, rn, t; in _ctansl() local 103 y2 = 1.0; in _ctansl() 113 y2 *= y; in _ctansl() 114 t = y2 + x2; in _ctansl() 123 y2 *= y; in _ctansl() 124 t = y2 - x2; in _ctansl()
|
/aosp12/frameworks/av/media/codecs/amrwb/enc/src/ |
H A D | q_gain2.c | 66 Word16 y2[], /* (i) Q9 : Filtered innovative vector. */ in Q_gain2() argument 147 coeff[2] = extract_h(Dot_product12_asm(y2, y2, L_subfr, &exp)); in Q_gain2() 149 coeff[2] = extract_h(Dot_product12(y2, y2, L_subfr, &exp)); in Q_gain2() 155 coeff[3] = extract_h(L_negate(Dot_product12_asm(xn, y2, L_subfr, &exp))); in Q_gain2() 157 coeff[3] = extract_h(L_negate(Dot_product12(xn, y2, L_subfr, &exp))); in Q_gain2() 164 coeff[4] = extract_h(Dot_product12_asm(y1, y2, L_subfr, &exp)); in Q_gain2() 166 coeff[4] = extract_h(Dot_product12(y1, y2, L_subfr, &exp)); in Q_gain2()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
H A D | FlingAnimationUtils.java | 82 float speedUpFactor, float x2, float y2) { in FlingAnimationUtils() argument 92 mY2 = y2; in FlingAnimationUtils() 207 float y2 = mY2; in getInterpolator() local 209 mInterpolator = new PathInterpolator(x1, y1, x2, y2); in getInterpolator() 212 + "x1=" + x1 + " y1=" + y1 + " x2=" + x2 + " y2=" + y2, e); in getInterpolator() 266 float y2 = calculateLinearOutFasterInY2(velAbs); in getDismissingProperties() local 268 float startGradient = y2 / LINEAR_OUT_FASTER_IN_X2; in getDismissingProperties() 269 Interpolator mLinearOutFasterIn = new PathInterpolator(0, 0, LINEAR_OUT_FASTER_IN_X2, y2); in getDismissingProperties() 408 public Builder setY2(float y2) { in setY2() argument 409 mY2 = y2; in setY2()
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
H A D | geometry_utils.h | 33 static AK_FORCE_INLINE float getAngle(const int x1, const int y1, const int x2, const int y2) { in getAngle() argument 35 const int dy = y1 - y2; in getAngle() 53 const int y2) { in getDistanceInt() argument 54 return static_cast<int>(hypotf(static_cast<float>(x1 - x2), static_cast<float>(y1 - y2))); in getDistanceInt()
|
/aosp12/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 155 audio_sample_t y2 = mDelays[0][3]; in process_normal_mono() local 168 acc = mac_coef_sample(a2, y2, acc); in process_normal_mono() 170 y2 = y1; in process_normal_mono() 179 mDelays[0][3] = y2; in process_normal_mono() 213 audio_sample_t y2 = mDelays[ch][3]; in process_normal_multi() local 221 acc = mac_coef_sample(a2, y2, acc); in process_normal_multi() 223 y2 = y1; in process_normal_multi() 234 mDelays[ch][3] = y2; in process_normal_multi()
|
/aosp12/packages/apps/DevCamera/src/com/android/devcamera/ |
H A D | PreviewOverlay.java | 186 float y2 = 0.5f * previewH; in onDraw() local 201 canvas.drawCircle(x2, y2, mLens * 0.25f * previewW, mPaint2); in onDraw() 204 canvas.drawText(text, x2, y2 - mLens * 0.25f * previewW - 7f, mPaint); in onDraw() 235 float x1, x2, y1, y2; in onDraw() local 256 y1 = y2 = previewH / 2 + focalLengthH * (float) Math.tan(i); in onDraw() 257 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw() 264 y2 = previewH; in onDraw() 265 canvas.drawLine(x1, y1, x2, y2, mPaint); in onDraw()
|
/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsics_x86.cpp | 137 y2 = (const char *)y2 + 8; in rsdIntrinsicConvolve3x3_K() 154 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix4x4_K() local 176 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))); in rsdIntrinsicColorMatrix4x4_K() 181 y2 = _mm_srai_epi32(y2, 8); in rsdIntrinsicColorMatrix4x4_K() 210 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix3x3_K() local 231 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))); in rsdIntrinsicColorMatrix3x3_K() 235 y2 = _mm_srai_epi32(y2, 8); in rsdIntrinsicColorMatrix3x3_K() 262 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrixDot_K() local 287 y2 = x2; in rsdIntrinsicColorMatrixDot_K() 455 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv_K() local [all …]
|
H A D | rsCpuIntrinsicConvolve3x3.cpp | 192 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU4() local 193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); in kernelU4() 239 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU2() local 240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); in kernelU2() 284 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU1() local 285 const uchar *py0 = (const uchar *)(pin + stride * y2); in kernelU1() 329 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelF4() local 330 const float4 *py0 = (const float4 *)(pin + stride * y2); in kernelF4() 374 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelF2() local 418 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelF1() local [all …]
|
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | e_log10.c | 44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; in __ieee754_log10() local 76 y2 = y*log10_2hi; in __ieee754_log10() 85 w = y2 + val_hi; in __ieee754_log10() 86 val_lo += (y2 - w) + val_hi; in __ieee754_log10()
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | convolve5x5.rscript | 35 uint32_t y2 = y; 51 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 52 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11] 53 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12] 54 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y2)) * gCoeffs[13] 55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
|
H A D | convolve3x3.rscript | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | convolve5x5.rscript | 35 uint32_t y2 = y; 51 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 52 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11] 53 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12] 54 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y2)) * gCoeffs[13] 55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
|
H A D | convolve3x3.rscript | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | convolve5x5.rscript | 35 uint32_t y2 = y; 51 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y2)) * gCoeffs[10] 52 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[11] 53 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[12] 54 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y2)) * gCoeffs[13] 55 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y2)) * gCoeffs[14]
|
H A D | convolve3x3.rscript | 30 uint32_t y2 = max((int32_t)y-1, 0); 38 sum += convert_float4(rsGetElementAt_uchar4(gIn, x1, y2)) * gCoeffs[6]; 39 sum += convert_float4(rsGetElementAt_uchar4(gIn, x, y2)) * gCoeffs[7]; 40 sum += convert_float4(rsGetElementAt_uchar4(gIn, x2, y2)) * gCoeffs[8];
|
/aosp12/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Contrast.java | 98 public static float contrastYs(float y1, float y2) { in contrastYs() argument 99 final float lighter = Math.max(y1, y2); in contrastYs() 100 final float darker = (lighter == y1) ? y2 : y1; in contrastYs()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
H A D | BrightnessMappingStrategyTest.java | 504 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionLowChangeAtCenter() local 512 assertEquals(y2, strategy.getBrightness(x2), 0.0001f /* tolerance */); in testGammaCorrectionLowChangeAtCenter() 516 strategy.addUserDataPoint(x2, (float) MathUtils.pow(y2, gamma)); in testGammaCorrectionLowChangeAtCenter() 518 assertEquals(MathUtils.pow(y2, gamma), strategy.getBrightness(x2), 0.0001f /* tolerance */); in testGammaCorrectionLowChangeAtCenter() 533 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionHighChangeAtCenter() local 540 assertEquals(y2, strategy.getBrightness(x2), 0.0001f /* tolerance */); in testGammaCorrectionHighChangeAtCenter() 545 strategy.addUserDataPoint(x2, (float) MathUtils.pow(y2, gamma)); in testGammaCorrectionHighChangeAtCenter() 548 assertEquals(MathUtils.pow(y2, gamma), in testGammaCorrectionHighChangeAtCenter() 579 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionChangeAtEdges() local 586 assertEquals(y2, strategy.getBrightness(x2), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges() [all …]
|
/aosp12/frameworks/av/media/codecs/amrnb/enc/src/ |
H A D | g_code.cpp | 231 Word16 y2[], /* i : filtered innovation vector */ in G_code() argument 240 Word16 *p_y2 = y2; in G_code() 282 p_y2 = y2; in G_code()
|