Home
last modified time | relevance | path

Searched refs:y2 (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/av/media/module/codecs/m4v_h263/dec/src/
Dget_pred_adv_b_add.cpp867 uint32 x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ in GetPredAdvancedBy1x1() local
898 y2 = *((uint32*)(prev + width)); /* b7 b6 b5 b4 */ in GetPredAdvancedBy1x1()
909 y2m = (y2 >> 2) & mask; in GetPredAdvancedBy1x1()
911 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1()
913 y1 += y2; in GetPredAdvancedBy1x1()
918 y2 = *((uint32*)(prev + width)); /* b11 b10 b9 b8 */ in GetPredAdvancedBy1x1()
920 y2m = (y2 >> 2) & mask; in GetPredAdvancedBy1x1()
922 y2 = y2 ^(y2m << 2); in GetPredAdvancedBy1x1()
924 x2 += y2; in GetPredAdvancedBy1x1()
934 y2 = x1 >> 8; in GetPredAdvancedBy1x1()
[all …]
Dconceal.cpp151 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()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/
DCubicEasing.java37 CubicEasing(float x1, float y1, float x2, float y2) { in CubicEasing() argument
38 setup(x1, y1, x2, y2); in CubicEasing()
70 void setup(float x1, float y1, float x2, float y2) { in setup() argument
74 mY2 = y2; in setup()
123 float y2 = getY(t + range); in getDiff() local
124 return (y2 - y1) / (x2 - x1); in getDiff()
151 float y2 = getY(t + range); in get() local
152 return (y2 - y1) * (x - x1) / (x2 - x1) + y1; in get()
DMonotonicCurveFit.java128 double y2 = mY[i + 1][j]; in getPos() local
131 v[j] = interpolate(h, x, y1, y2, t1, t2); in getPos()
187 double y2 = mY[i + 1][j]; in getPos() local
190 v[j] = (float) interpolate(h, x, y1, y2, t1, t2); in getPos()
229 double y2 = mY[i + 1][j]; in getPos() local
232 return interpolate(h, x, y1, y2, t1, t2); in getPos()
259 double y2 = mY[i + 1][j]; in getSlope() local
262 v[j] = diff(h, x, y1, y2, t1, t2) / h; in getSlope()
289 double y2 = mY[i + 1][j]; in getSlope() local
292 return diff(h, x, y1, y2, t1, t2) / h; in getSlope()
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioResamplerCubic.h43 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()
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java146 final int y2 = y1; in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea() local
148 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea()
183 final int y2 = y1; in onTouchEvent_startHandwriting_multipleParagraphs() local
185 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_multipleParagraphs()
213 final int y2 = y1; in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea() local
214 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
257 final int y2 = y1; in onTouchEvent_startHandwriting_when_stylusMove_withinExtendedHWArea() local
259 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMove_withinExtendedHWArea()
282 final int y2 = y1; in onTouchEvent_startHandwriting_servedViewUpdateAfterStylusMove() local
283 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_servedViewUpdateAfterStylusMove()
[all …]
/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Dmotion_comp.cpp1126 ULong x1, x2, x1m, x2m, y1, y2, y1m, y2m; /* new way */ in GetPredAdvBy1x1() local
1154 y2 = *((ULong*)(prev + lx)); /* b7 b6 b5 b4 */ in GetPredAdvBy1x1()
1165 y2m = (y2 >> 2) & mask; in GetPredAdvBy1x1()
1167 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1()
1169 y1 += y2; in GetPredAdvBy1x1()
1174 y2 = *((ULong*)(prev + lx)); /* b11 b10 b9 b8 */ in GetPredAdvBy1x1()
1176 y2m = (y2 >> 2) & mask; in GetPredAdvBy1x1()
1178 y2 = y2 ^(y2m << 2); in GetPredAdvBy1x1()
1180 x2 += y2; in GetPredAdvBy1x1()
1190 y2 = x1 >> 8; in GetPredAdvBy1x1()
[all …]
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dq_gain2.c66 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()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DDrawBase4.java38 public Operation construct(float x1, float y1, float x2, float y2) {
57 float y2) { in DrawBase4() argument
61 mY2Value = y2; in DrawBase4()
66 mY2 = y2; in DrawBase4()
137 float y2) { in construct() argument
163 float y2) { in apply() argument
168 buffer.writeFloat(y2); in apply()
/frameworks/native/libs/tonemap/
Dtonemap.cpp336 double y2 = y1 + (metadata.displayMaxLuminance - y1) * 0.75; in lookupTonemapGain() local
342 double m1 = (y2 - y1) / h12; in lookupTonemapGain()
343 double m3 = (metadata.displayMaxLuminance - y2) / h23; in lookupTonemapGain()
359 (y2 * (3.0 - 2.0 * t) + h12 * m2 * (t - 1.0)) * t * t; in lookupTonemapGain()
364 targetNits = (y2 * (1.0 + 2.0 * t) + h23 * m2 * t) * (1.0 - t) * in lookupTonemapGain()
389 double y2 = maxOutLumi * 0.45; in lookupTonemapGain() local
394 double c2 = y2 / 2.0; in lookupTonemapGain()
412 t * t * y2; in lookupTonemapGain()
416 targetNits = (1.0 - t) * (1.0 - t) * y2 + 2.0 * (1.0 - t) * t * c3 + in lookupTonemapGain()
647 const double y2 = maxOutLumi * 0.9; in lookupTonemapGain() local
[all …]
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp155 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()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFlingAnimationUtils.java82 float speedUpFactor, float x2, float y2) { in FlingAnimationUtils() argument
92 mY2 = y2; in FlingAnimationUtils()
239 float y2 = mY2; in getInterpolator() local
241 mInterpolator = new PathInterpolator(x1, y1, x2, y2); in getInterpolator()
244 + "x1=" + x1 + " y1=" + y1 + " x2=" + x2 + " y2=" + y2, e); in getInterpolator()
298 float y2 = calculateLinearOutFasterInY2(velAbs); in getDismissingProperties() local
300 float startGradient = y2 / LINEAR_OUT_FASTER_IN_X2; in getDismissingProperties()
301 Interpolator mLinearOutFasterIn = new PathInterpolator(0, 0, LINEAR_OUT_FASTER_IN_X2, y2); in getDismissingProperties()
445 public Builder setY2(float y2) { in setY2() argument
446 mY2 = y2; in setY2()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dconvolve5x5.rscript35 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]
Dconvolve3x3.rscript30 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];
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dconvolve5x5.rscript35 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]
Dconvolve3x3.rscript30 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];
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dconvolve5x5.rscript35 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]
Dconvolve3x3.rscript30 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];
/frameworks/base/core/java/com/android/internal/graphics/palette/
DContrast.java98 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()
/frameworks/base/graphics/java/android/graphics/
DPath.java396 public void quadTo(float x1, float y1, float x2, float y2) { in quadTo() argument
397 nQuadTo(mNativePath, x1, y1, x2, y2); in quadTo()
436 public void conicTo(float x1, float y1, float x2, float y2, float weight) { in conicTo() argument
437 nConicTo(mNativePath, x1, y1, x2, y2, weight); in conicTo()
473 public void cubicTo(float x1, float y1, float x2, float y2, in cubicTo() argument
475 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in cubicTo()
483 public void rCubicTo(float x1, float y1, float x2, float y2, in rCubicTo() argument
485 nRCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in rCubicTo()
867 private static native void nQuadTo(long nPath, float x1, float y1, float x2, float y2); in nQuadTo() argument
869 private static native void nConicTo(long nPath, float x1, float y1, float x2, float y2, in nConicTo() argument
[all …]
/frameworks/rs/toolkit/
Dx86.cpp83 const void *y1, const void *y2, in rsdIntrinsicConvolve3x3_K() argument
111 p8 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
112 p9 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+1)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
113 p10 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+2)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
114 p11 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+3)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
140 y2 = (const char *)y2 + 8; in rsdIntrinsicConvolve3x3_K()
157 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix4x4_K() local
174 y2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x55)); in rsdIntrinsicColorMatrix4x4_K()
179 y2 = _mm_add_epi32(y2, _mm_madd_epi16(zw, _mm_shuffle_epi32(c2, 0x55))); in rsdIntrinsicColorMatrix4x4_K()
184 y2 = _mm_srai_epi32(y2, 8); in rsdIntrinsicColorMatrix4x4_K()
[all …]
DConvolve3x3.cpp28 extern "C" void rsdIntrinsicConvolve3x3_K(void* dst, const void* y0, const void* y1, const void* y2,
178 uint32_t y2 = std::max((int32_t)currentY - 1, 0); in RsdCpuScriptIntrinsicConvolve3x3_kernelF() local
179 const T* py0 = (const T*)(pin + stride * y2); in RsdCpuScriptIntrinsicConvolve3x3_kernelF()
195 uint32_t y2 = std::max((int32_t)y - 1, 0); in convolveU() local
199 InputOutputType* py0 = (InputOutputType*)(pin + stride * y2); in convolveU()
214 uint32_t y2 = std::max((int32_t)y - 1, 0); in convolveU4() local
218 const uchar* py0 = pin + stride * y2; in convolveU4()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp80 const void *y1, const void *y2, in rsdIntrinsicConvolve3x3_K() argument
108 p8 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
109 p9 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+1)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
110 p10 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+2)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
111 p11 = _mm_unpacklo_epi8(_mm_cvtsi32_si128(*((int32_t *)y2+3)), _mm_setzero_si128()); in rsdIntrinsicConvolve3x3_K()
137 y2 = (const char *)y2 + 8; in rsdIntrinsicConvolve3x3_K()
154 __m128i x2, y2, z2, w2; in rsdIntrinsicColorMatrix4x4_K() local
171 y2 = _mm_madd_epi16(xy, _mm_shuffle_epi32(c0, 0x55)); in rsdIntrinsicColorMatrix4x4_K()
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()
[all …]
/frameworks/native/services/inputflinger/tests/
DMultiTouchInputMapper_test.cpp180 int32_t x1 = 100, y1 = 125, x2 = 200, y2 = 225; in TEST_F() local
185 args += processPosition(x2, y2); in TEST_F()
200 y2 -= 10; in TEST_F()
204 args += processPosition(x2, y2); in TEST_F()
221 {{1, {Point{x1, y1}, FIRST_TRACKING_ID}}, {2, {Point{x2, y2}, SECOND_TRACKING_ID}}}); in TEST_F()
243 y2 -= 10; in TEST_F()
247 args += processPosition(x2, y2); in TEST_F()
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dg_code.cpp231 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()

1234