/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | syn_filt.c | 43 Word16 *yy, *p1, *p2; in Syn_filt() local 54 p1 = &a[1]; in Syn_filt() 57 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 58 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 59 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 60 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 61 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 62 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 63 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() 64 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt() [all …]
|
D | residu.c | 35 Word16 i,*p1, *p2; in Residu() local 39 p1 = a; in Residu() 41 s = vo_mult32((*p1++), (*p2--)); in Residu() 42 s += vo_mult32((*p1++), (*p2--)); in Residu() 43 s += vo_mult32((*p1++), (*p2--)); in Residu() 44 s += vo_mult32((*p1++), (*p2--)); in Residu() 45 s += vo_mult32((*p1++), (*p2--)); in Residu() 46 s += vo_mult32((*p1++), (*p2--)); in Residu() 47 s += vo_mult32((*p1++), (*p2--)); in Residu() 48 s += vo_mult32((*p1++), (*p2--)); in Residu() [all …]
|
D | autocorr.c | 43 Word16 *p1,*p2,*p3; in Autocorr() local 48 p1 = x; in Autocorr() 54 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr() 55 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr() 56 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr() 57 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr() 74 p1 = y; in Autocorr() 77 *p1 = vo_shr_r(*p1, shift); in Autocorr() 78 p1++; in Autocorr() 79 *p1 = vo_shr_r(*p1, shift); in Autocorr() [all …]
|
D | cor_h_x.c | 43 Word16 *p1, *p2; in cor_h_x() local 55 p1 = &x[i]; in cor_h_x() 58 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x() 68 p1 = &x[i+1]; in cor_h_x() 71 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x() 81 p1 = &x[i+2]; in cor_h_x() 84 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x() 94 p1 = &x[i+3]; in cor_h_x() 97 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x() 114 p1 = dn; in cor_h_x() [all …]
|
D | p_med_ol.c | 43 Word16 *p1, *p2; in Pitch_med_ol() local 61 p1 = wsp; in Pitch_med_ol() 65 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 66 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 67 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 68 R0 += vo_L_mult((*p1++), (*p2++)); in Pitch_med_ol() 100 p1 = hp_wsp; in Pitch_med_ol() 104 R2 += vo_mult32(*p1, *p1); in Pitch_med_ol() 106 R0 += vo_mult32(*p1++, *p2++); in Pitch_med_ol() 107 R2 += vo_mult32(*p1, *p1); in Pitch_med_ol() [all …]
|
D | c4t64fx.c | 138 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local 265 p1 = dn; in ACELP_4t64_fx() 270 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 272 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 274 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 276 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 356 p1 = h; in ACELP_4t64_fx() 361 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() 362 *p2++ = -(*p1++); in ACELP_4t64_fx() 363 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() [all …]
|
D | c2t64fx.c | 59 Word16 *p0, *p1, *p2, *psign; in ACELP_2t64_fx() local 98 p1 = dn; in ACELP_2t64_fx() 103 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 105 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 107 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 109 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 148 p1 = &rrixix[1][NB_POS - 1]; in ACELP_2t64_fx() 156 *p1-- = (extract_h(cor) >> 1); in ACELP_2t64_fx() 171 p1 = &rrixiy[pos]; in ACELP_2t64_fx() 182 *p1 = extract_h(cor); in ACELP_2t64_fx() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
D | sad_halfpel.cpp | 74 uint8 *kk, *p1, *p2, *p3, *p4; in AVCSAD_MB_HalfPel_Cxhyh() local 81 p1 = ref; in AVCSAD_MB_HalfPel_Cxhyh() 92 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in AVCSAD_MB_HalfPel_Cxhyh() 101 p1 += rx; in AVCSAD_MB_HalfPel_Cxhyh() 115 uint8 *kk, *p1, *p2; in AVCSAD_MB_HalfPel_Cyh() local 122 p1 = ref; in AVCSAD_MB_HalfPel_Cyh() 131 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; in AVCSAD_MB_HalfPel_Cyh() 139 p1 += rx; in AVCSAD_MB_HalfPel_Cyh() 151 uint8 *kk, *p1; in AVCSAD_MB_HalfPel_Cxh() local 157 p1 = ref; in AVCSAD_MB_HalfPel_Cxh() [all …]
|
D | sad.cpp | 94 uint8 *p1; in AVCAVCSAD_MB_HTFM_Collect() local 112 p1 = ref + offsetRef[i]; in AVCAVCSAD_MB_HTFM_Collect() 114 tmp = p1[12]; in AVCAVCSAD_MB_HTFM_Collect() 117 tmp = p1[8]; in AVCAVCSAD_MB_HTFM_Collect() 120 tmp = p1[4]; in AVCAVCSAD_MB_HTFM_Collect() 123 tmp = p1[0]; in AVCAVCSAD_MB_HTFM_Collect() 124 p1 += lx4; in AVCAVCSAD_MB_HTFM_Collect() 129 tmp = p1[12]; in AVCAVCSAD_MB_HTFM_Collect() 132 tmp = p1[8]; in AVCAVCSAD_MB_HTFM_Collect() 135 tmp = p1[4]; in AVCAVCSAD_MB_HTFM_Collect() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | sad_halfpel.cpp | 68 UChar *kk, *p1, *p2; in HalfPel1_SAD_MB() local 73 p1 = ref; in HalfPel1_SAD_MB() 83 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; in HalfPel1_SAD_MB() 89 p1 += width; in HalfPel1_SAD_MB() 100 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_MB() local 103 p1 = ref; in HalfPel2_SAD_MB() 114 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in HalfPel2_SAD_MB() 121 p1 += width; in HalfPel2_SAD_MB() 142 UChar *kk, *p1, *p2; in HalfPel1_SAD_Blk() local 147 p1 = ref; in HalfPel1_SAD_Blk() [all …]
|
D | sad.cpp | 110 UChar *p1; in SAD_MB_HTFM_Collect() local 125 p1 = ref + offsetRef[i]; in SAD_MB_HTFM_Collect() 127 tmp = p1[12]; in SAD_MB_HTFM_Collect() 130 tmp = p1[8]; in SAD_MB_HTFM_Collect() 133 tmp = p1[4]; in SAD_MB_HTFM_Collect() 136 tmp = p1[0]; in SAD_MB_HTFM_Collect() 137 p1 += lx4; in SAD_MB_HTFM_Collect() 142 tmp = p1[12]; in SAD_MB_HTFM_Collect() 145 tmp = p1[8]; in SAD_MB_HTFM_Collect() 148 tmp = p1[4]; in SAD_MB_HTFM_Collect() [all …]
|
D | me_utils.cpp | 113 UChar *p1, *p2, *p3, *p4; in GetHalfPelMBRegion_C() local 118 p1 = cand - lx - 1; in GetHalfPelMBRegion_C() 127 *hmem1++ = ((*p1++) + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 133 *hmem1++ = ((*p1++) + (*p2++) + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 137 p1 += offset; in GetHalfPelMBRegion_C() 145 *hmem1++ = ((*p1++) + *p2 + (*p3++) + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 149 *hmem1 = (*p1 + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 169 UChar *p1, *p2, *p3, *p4; in GetHalfPelBlkRegion() local 174 p1 = cand - lx - 1; in GetHalfPelBlkRegion() 183 *hmem1++ = ((*p1++) + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelBlkRegion() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | preemph.cpp | 244 Word16 *p1; in preemphasis() local 250 p1 = signal + L - 1; in preemphasis() 251 p2 = p1 - 1; in preemphasis() 252 temp = *p1; in preemphasis() 257 *p1 = sub(*p1, temp2, pOverflow); in preemphasis() 259 p1--; in preemphasis() 264 *p1 = sub(*p1, temp2, pOverflow); in preemphasis()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | IpPrefixTest.java | 171 IpPrefix p1, p2; in testEquals() local 173 p1 = new IpPrefix("192.0.2.251/23"); in testEquals() 175 assertAreEqual(p1, p2); in testEquals() 177 p1 = new IpPrefix("192.0.2.5/23"); in testEquals() 178 assertAreEqual(p1, p2); in testEquals() 180 p1 = new IpPrefix("192.0.2.5/24"); in testEquals() 181 assertAreNotEqual(p1, p2); in testEquals() 183 p1 = new IpPrefix("192.0.4.5/23"); in testEquals() 184 assertAreNotEqual(p1, p2); in testEquals() 187 p1 = new IpPrefix("2001:db8:dead:beef:f00::80/122"); in testEquals() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Quad.java | 33 public Point p1; field in Quad 40 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument 42 this.p1 = p1; in Quad() 49 p1.IsInUnitRange() && in IsInUnitRange() 55 return new Quad(p0.plus(t), p1.plus(t), p2.plus(t), p3.plus(t)); in translated() 59 return new Quad(p0.plus(x, y), p1.plus(x, y), p2.plus(x, y), p3.plus(x, y)); in translated() 63 return new Quad(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled() 67 return new Quad(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled() 71 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x); in boundingBox() 72 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y); in boundingBox() [all …]
|
D | Rectangle.java | 47 Point p1 = new Point(center.x + size.x/2f, center.y - size.y/2f); in fromRotatedRect() local 51 p1.rotatedAround(center, rotation), in fromRotatedRect() 56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { in Rectangle() argument 57 super(p0, p1, p2, p3); in Rectangle() 70 return p1.minus(p0).length(); in getWidth() 78 return p0.plus(p1).plus(p2).plus(p3).times(0.25f); in center() 83 return new Rectangle(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled() 88 return new Rectangle(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_DeBlockPixel.c | 70 int p3, p2, p1, p0, q0, q1, q2, q3; in armVCM4P10_DeBlockPixel() local 80 p1 = pQ0[-2*Step]; in armVCM4P10_DeBlockPixel() 87 if (armAbs(p0-q0)>=alpha || armAbs(p1-p0)>=beta || armAbs(q1-q0)>=beta) in armVCM4P10_DeBlockPixel() 90 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta); in armVCM4P10_DeBlockPixel() 117 delta = (((q0-p0)<<2) + (p1-q1) + 4) >> 3; in armVCM4P10_DeBlockPixel() 125 delta = (p2 + ((p0+q0+1)>>1) - (p1<<1))>>1; in armVCM4P10_DeBlockPixel() 127 pQ0[-2*Step] = (OMX_U8)(p1 + delta); in armVCM4P10_DeBlockPixel() 141 pQ0[-1*Step] = (OMX_U8)((p2 + 2*p1 + 2*p0 + 2*q0 + q1 + 4)>>3); in armVCM4P10_DeBlockPixel() 142 pQ0[-2*Step] = (OMX_U8)((p2 + p1 + p0 + q0 + 2)>>2); in armVCM4P10_DeBlockPixel() 143 pQ0[-3*Step] = (OMX_U8)((2*p3 + 3*p2 + p1 + p0 + q0 + 4)>>3); in armVCM4P10_DeBlockPixel() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 45 int32_t p1 = u_getIntPropertyValue(c1, UCHAR_GRAPHEME_CLUSTER_BREAK); in isGraphemeBreak() local 48 if (p1 == U_GCB_CR && p2 == U_GCB_LF) { in isGraphemeBreak() 52 if (p1 == U_GCB_CONTROL || p1 == U_GCB_CR || p1 == U_GCB_LF) { in isGraphemeBreak() 67 if (p1 == U_GCB_L && (p2 == U_GCB_L || p2 == U_GCB_V || p2 == U_GCB_LV || p2 == U_GCB_LVT)) { in isGraphemeBreak() 71 if ((p1 == U_GCB_LV || p1 == U_GCB_V) && (p2 == U_GCB_V || p2 == U_GCB_T)) { in isGraphemeBreak() 75 if ((p1 == U_GCB_L || p1 == U_GCB_T) && p2 == U_GCB_T) { in isGraphemeBreak() 79 if (p1 == U_GCB_REGIONAL_INDICATOR && p2 == U_GCB_REGIONAL_INDICATOR) { in isGraphemeBreak()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 43 if (q->n==0) {p1->n = 0; return POLY_CLIP_OUT;} \ 107 int poly_clip_to_frustum(Poly *p1) in poly_clip_to_frustum() argument 115 for (v=p1->vert, i=p1->n; i>0; i--, v++) { in poly_clip_to_frustum() 130 if (x0out==p1->n || x1out==p1->n || y0out==p1->n || in poly_clip_to_frustum() 131 y1out==p1->n || z0out==p1->n || z1out==p1->n) { in poly_clip_to_frustum() 132 p1->n = 0; in poly_clip_to_frustum() 140 p = p1; in poly_clip_to_frustum() 151 memcpy(p1, &p2, sizeof(Poly)-(POLY_NMAX-p2.n)*sizeof(Poly_vert)); in poly_clip_to_frustum()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c1035pf.cpp | 410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; in build_code() local 452 p1 = &indx[track]; in build_code() 454 temp = *p1; in build_code() 458 *p1 = index; in build_code() 469 *(p1 + 5) = index; in build_code() 473 *(p1 + 5) = temp; in build_code() 474 *p1 = index; in build_code() 484 *(p1 + 5) = temp; in build_code() 485 *p1 = index; in build_code() 489 *(p1 + 5) = index; in build_code() [all …]
|
D | hp_max.cpp | 248 Word16 *p, *p1; in hp_max() local 273 p1 = &scal_sig[0]; in hp_max() 275 for (i = 0; i < L_frame; i++, p++, p1++) in hp_max() 277 t0 = L_mac(t0, *p, *p1, pOverflow); in hp_max() 281 p1 = &scal_sig[-1]; in hp_max() 283 for (i = 0; i < L_frame; i++, p++, p1++) in hp_max() 285 t1 = L_mac(t1, *p, *p1, pOverflow); in hp_max()
|
D | calc_cor.cpp | 224 Word16 *p1; in comp_corr() local 242 p1 = p_scal_sig++; in comp_corr() 248 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); in comp_corr() 249 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); in comp_corr() 253 t1 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1++), t1); in comp_corr() 254 t2 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p1), t2); in comp_corr()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFReader.h | 110 static bool less(AliasInfo p1, AliasInfo p2) { in less() argument 111 if (p1.ld_value != p2.ld_value) in less() 112 return (p1.ld_value < p2.ld_value); in less() 113 if (p1.ld_binding != p2.ld_binding) { in less() 114 if (ResolveInfo::Weak==p1.ld_binding) in less() 119 return p1.pt_alias->str() < p2.pt_alias->str(); in less() 200 static bool less(AliasInfo p1, AliasInfo p2) { in less() argument 201 if (p1.ld_value != p2.ld_value) in less() 202 return (p1.ld_value < p2.ld_value); in less() 203 if (p1.ld_binding != p2.ld_binding) { in less() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 69 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument 70 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 71 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 74 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument 75 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 76 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 79 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument 80 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 81 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 99 float4 p1 = cubicInterpolate(convert_float4(yp1[xs0]), in OneBiCubic() local [all …]
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 91 const vec3 p1 = cross(lms_w, lms_r); // tritanopia in update() local 109 const mat4 lms2lmst( 1.0000, 0.0000, -p1.x / p1.z, 0, in update() 110 0.0000, 1.0000, -p1.y / p1.z, 0, in update()
|