Home
last modified time | relevance | path

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

123

/frameworks/av/media/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/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java94 final int y2 = y1; in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea() local
96 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea()
112 final int y2 = y1; in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea() local
113 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
118 final int y3 = y2; in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
122 MotionEvent stylusEvent4 = createStylusEvent(ACTION_UP, x2, y2, 0); in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
137 final int y2 = y1; in onTouchEvent_startHandwriting_inputConnectionBuiltAfterStylusMove() local
138 MotionEvent stylusEvent2 = createStylusEvent(ACTION_MOVE, x2, y2, 0); in onTouchEvent_startHandwriting_inputConnectionBuiltAfterStylusMove()
156 final int y2 = y1; in onTouchEvent_notStartHandwriting_when_stylusTap_withinHWArea() local
157 MotionEvent stylusEvent2 = createStylusEvent(ACTION_UP, x2, y2, 0); in onTouchEvent_notStartHandwriting_when_stylusTap_withinHWArea()
[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/av/media/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/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/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()
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()
/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/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/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];
Dgrain.rscript48 uint32_t y2 = (y+1) & gHMask;
56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2);
57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2);
58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
/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];
Dgrain.rscript48 uint32_t y2 = (y+1) & gHMask;
56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2);
57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2);
58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
/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];
Dgrain.rscript48 uint32_t y2 = (y+1) & gHMask;
56 uint p20 = 56 * rsGetElementAt_uchar(gBlendSource, x1, y2);
57 uint p21 = 114 * rsGetElementAt_uchar(gBlendSource, x, y2);
58 uint p22 = 56 * rsGetElementAt_uchar(gBlendSource, x2, y2);
/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 …]
DrsCpuIntrinsicConvolve3x3.cpp81 const void *y2, const int16_t *coef, uint32_t count);
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
[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()
DConvolve5x5.cpp28 extern "C" void rsdIntrinsicConvolve5x5_K(void* dst, const void* y0, const void* y1, const void* y2,
204 uint32_t y2 = currentY; in kernelF4() local
210 const float4* py2 = (const float4*)(pin + stride * y2); in kernelF4()
226 uint32_t y2 = currentY; in RsdCpuScriptIntrinsicConvolve5x5_kernelF2() local
232 const float2* py2 = (const float2*)(pin + stride * y2); in RsdCpuScriptIntrinsicConvolve5x5_kernelF2()
248 uint32_t y2 = currentY; in RsdCpuScriptIntrinsicConvolve5x5_kernelF1() local
254 const float* py2 = (const float*)(pin + stride * y2); in RsdCpuScriptIntrinsicConvolve5x5_kernelF1()
271 uint32_t y2 = y; in convolveU() local
279 InputOutputType* py2 = (InputOutputType*)(pin + stride * y2); in convolveU()
296 uint32_t y2 = y; in convolveU4() local
[all …]
/frameworks/av/media/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()

123