/frameworks/base/libs/hwui/ |
D | Patch.cpp | 106 float y2 = 0.0f; in Patch() local 116 y2 = y1 + floorf(segment * stretchY + 0.5f); in Patch() 118 y2 = y1 + segment * rescaleY; in Patch() 121 float vOffset = y1 == y2 ? 0.0f : 0.5 - (0.5 * segment / (y2 - y1)); in Patch() 126 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, in Patch() 130 y1 = y2; in Patch() 137 y2 = height; in Patch() 138 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, in Patch() 150 float y1, float y2, float v1, float v2, float stretchX, float rescaleX, in generateRow() argument 174 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); in generateRow() [all …]
|
/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 | 142 uint8 *y1, *y2, *u1, *u2, *v1, *v2; in CopyVopMB() local 157 y2 = prevFrame + lumstart; in CopyVopMB() 162 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 164 y2 += width_Y; in CopyVopMB() 165 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 167 y2 += width_Y; in CopyVopMB() 168 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 170 y2 += width_Y; in CopyVopMB() 171 oscl_memcpy(y1, y2, MB_SIZE); in CopyVopMB() 173 y2 += width_Y; in CopyVopMB()
|
/frameworks/av/services/audioflinger/ |
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/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | HeadsUpAppearInterpolator.java | 37 float y2 = 78f; in getAppearPath() local 44 (x1 + x2 * 0.2f) / xTot, y2 / y3, in getAppearPath() 45 (x1 + x2) / xTot, y2 / y3); in getAppearPath() 46 path.cubicTo((x1 + x2 + x3 * 0.4f) / xTot, y2 / y3, in getAppearPath()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | convolve5x5.rs | 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.rs | 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.rs | 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/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | convolve5x5.rs | 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.rs | 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.rs | 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/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | convolve5x5.rs | 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.rs | 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.rs | 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/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/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 | 88 const void *y2, const short *coef, uint32_t count); 199 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU4() local 200 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); in kernelU4() 246 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU2() local 247 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); in kernelU2() 291 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelU1() local 292 const uchar *py0 = (const uchar *)(pin + stride * y2); in kernelU1() 336 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelF4() local 337 const float4 *py0 = (const float4 *)(pin + stride * y2); in kernelF4() 381 uint32_t y2 = rsMax((int32_t)info->current.y - 1, 0); in kernelF2() local [all …]
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 156 signed y2 = (signed)src_ptr[2 * x + 3] - 16; in convertCbYCrY() local 170 signed tmp2 = y2 * 298; in convertCbYCrY() 243 signed y2 = (signed)src_y[x + 1] - 16; in convertYUV420Planar() local 258 signed tmp2 = y2 * 298; in convertYUV420Planar() 316 signed y2 = (signed)src_y[x + 1] - 16; in convertQCOMYUV420SemiPlanar() local 331 signed tmp2 = y2 * 298; in convertQCOMYUV420SemiPlanar() 390 signed y2 = (signed)src_y[x + 1] - 16; in convertYUV420SemiPlanar() local 405 signed tmp2 = y2 * 298; in convertYUV420SemiPlanar() 460 signed y2 = (signed)src_y[x + 1] - 16; in convertTIYUV420PackedSemiPlanar() local 475 signed tmp2 = y2 * 298; in convertTIYUV420PackedSemiPlanar()
|
/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/base/graphics/java/android/graphics/ |
D | Path.java | 370 public void quadTo(float x1, float y1, float x2, float y2) { in quadTo() argument 372 native_quadTo(mNativePath, x1, y1, x2, y2); in quadTo() 406 public void cubicTo(float x1, float y1, float x2, float y2, in cubicTo() argument 409 native_cubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in cubicTo() 417 public void rCubicTo(float x1, float y1, float x2, float y2, in rCubicTo() argument 420 native_rCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in rCubicTo() 797 float x2, float y2); in native_quadTo() argument 801 float x2, float y2, float x3, float y3); in native_cubicTo() argument 803 float x2, float y2, float x3, float y3); in native_rCubicTo() argument
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 313 float x2, float y2, float z2) { in hasMoved() argument 314 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); in hasMoved() 316 final double mag2 = Math.sqrt((x2 * x2) + (y2 * y2) + (z2 * z2)); in hasMoved() 328 + ", x2=" + x2 + ", y2=" + y2 + ", z2=" + z2 in hasMoved()
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 137 float y2 = a.getFloat(R.styleable.PathInterpolator_controlY2, 0); in parseInterpolatorFromTypeArray() local 138 initCubic(x1, y1, x2, y2); in parseInterpolatorFromTypeArray() 150 private void initCubic(float x1, float y1, float x2, float y2) { in initCubic() argument 153 path.cubicTo(x1, y1, x2, y2, 1f, 1f); in initCubic()
|
/frameworks/base/core/java/android/util/ |
D | MathUtils.java | 94 public static float dist(float x1, float y1, float x2, float y2) { in dist() argument 96 final float y = (y2 - y1); in dist() 100 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { in dist() argument 102 final float y = (y2 - y1); in dist()
|