/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | get_pred_adv_b_add.cpp | 867 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 …]
|
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | HeadsUpAppearInterpolator.java | 39 float y2 = 80f; in getAppearPath() local 40 path.cubicTo(X1 * 0.8f / XTOT, y1 / y2, in getAppearPath() 41 X1 * 0.8f / XTOT, y1 / y2, in getAppearPath() 42 X1 / XTOT, y1 / y2); in getAppearPath() 43 path.cubicTo((X1 + X2 * 0.4f) / XTOT, y1 / y2, in getAppearPath() local
|
/frameworks/av/media/libaudioprocessing/ |
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()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | motion_comp.cpp | 1126 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/libstagefright/codecs/amrwbenc/src/ |
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()
|
/frameworks/av/media/libeffects/testlibs/ |
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()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
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]
|
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];
|
D | grain.rscript | 48 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/ |
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]
|
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];
|
D | grain.rscript | 48 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/ |
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]
|
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];
|
D | grain.rscript | 48 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/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | FlingAnimationUtils.java | 83 float y2) { in FlingAnimationUtils() argument 93 mY2 = y2; in FlingAnimationUtils() 210 float y2 = mY2; in getInterpolator() local 212 mInterpolator = new PathInterpolator(x1, y1, x2, y2); in getInterpolator() 215 + "x1=" + x1 + " y1=" + y1 + " x2=" + x2 + " y2=" + y2, e); in getInterpolator() 269 float y2 = calculateLinearOutFasterInY2(velAbs); in getDismissingProperties() local 271 float startGradient = y2 / LINEAR_OUT_FASTER_IN_X2; in getDismissingProperties() 272 Interpolator mLinearOutFasterIn = new PathInterpolator(0, 0, LINEAR_OUT_FASTER_IN_X2, y2); in getDismissingProperties()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_x86.cpp | 80 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 …]
|
D | rsCpuIntrinsicConvolve3x3.cpp | 81 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/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 464 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionLowChangeAtCenter() local 471 assertEquals(y2, strategy.getBrightness(x2), 0.01f /* tolerance */); in testGammaCorrectionLowChangeAtCenter() 475 strategy.addUserDataPoint(x2, (float) MathUtils.pow(y2, gamma)); in testGammaCorrectionLowChangeAtCenter() 477 assertEquals(MathUtils.pow(y2, gamma), strategy.getBrightness(x2), 0.01f /* tolerance */); in testGammaCorrectionLowChangeAtCenter() 492 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionHighChangeAtCenter() local 499 assertEquals(y2, strategy.getBrightness(x2), 0.01f /* tolerance */); in testGammaCorrectionHighChangeAtCenter() 504 strategy.addUserDataPoint(x2, (float) MathUtils.pow(y2, gamma)); in testGammaCorrectionHighChangeAtCenter() 507 assertEquals(MathUtils.pow(y2, gamma), strategy.getBrightness(x2), in testGammaCorrectionHighChangeAtCenter() 538 final float y2 = GAMMA_CORRECTION_SPLINE.interpolate(x2); in testGammaCorrectionChangeAtEdges() local 545 assertEquals(y2, strategy.getBrightness(x2), 0.01f /* tolerance */); in testGammaCorrectionChangeAtEdges() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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()
|
/frameworks/layoutlib/bridge/src/android/view/shadow/ |
D | TriangleBuffer.java | 136 int y2 = (int) (16.0f * fy2 + .5f); in triangleZBuffMin() local 147 int dy12 = y1 - y2; in triangleZBuffMin() 148 int dy23 = y2 - y3; in triangleZBuffMin() 161 int miny = (min(y1, y2, y3) + 0xF) >> 4; in triangleZBuffMin() 162 int maxy = (max(y1, y2, y3) + 0xF) >> 4; in triangleZBuffMin() 179 int c2 = dy23 * x2 - dx23 * y2; in triangleZBuffMin()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 403 public void quadTo(float x1, float y1, float x2, float y2) { in quadTo() argument 405 nQuadTo(mNativePath, x1, y1, x2, y2); in quadTo() 439 public void cubicTo(float x1, float y1, float x2, float y2, in cubicTo() argument 442 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in cubicTo() 450 public void rCubicTo(float x1, float y1, float x2, float y2, in rCubicTo() argument 453 nRCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in rCubicTo() 835 private static native void nQuadTo(long nPath, float x1, float y1, float x2, float y2); in nQuadTo() argument 837 private static native void nCubicTo(long nPath, float x1, float y1, float x2, float y2, in nCubicTo() argument 839 private static native void nRCubicTo(long nPath, float x1, float y1, float x2, float y2, in nRCubicTo() argument
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 141 float y2 = a.getFloat(R.styleable.PathInterpolator_controlY2, 0); in parseInterpolatorFromTypeArray() local 142 initCubic(x1, y1, x2, y2); in parseInterpolatorFromTypeArray() 154 private void initCubic(float x1, float y1, float x2, float y2) { in initCubic() argument 157 path.cubicTo(x1, y1, x2, y2, 1f, 1f); in initCubic()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Path_Delegate.java | 269 /*package*/ static void nQuadTo(long nPath, float x1, float y1, float x2, float y2) { in nQuadTo() argument 275 pathDelegate.quadTo(x1, y1, x2, y2); in nQuadTo() 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() 725 public void quadTo(float x1, float y1, float x2, float y2) { in quadTo() argument 726 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2); in quadTo() 766 public void cubicTo(float x1, float y1, float x2, float y2, in cubicTo() argument 771 mPath.curveTo(x1, y1, x2, y2, mLastX = x3, mLastY = y3); in cubicTo()
|