/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | syn_filt.c | 43 Word16 *yy, *p1, *p2; in Syn_filt() local 55 p2 = &yy[i-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 40 p2 = &x[i]; 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 | p_med_ol.c | 43 Word16 *p1, *p2; in Pitch_med_ol() local 62 p2 = &wsp[-i]; 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() 101 p2 = hp_wsp - Tm; in Pitch_med_ol() 105 R1 += vo_mult32(*p2, *p2); in Pitch_med_ol() 106 R0 += vo_mult32(*p1++, *p2++); in Pitch_med_ol() 108 R1 += vo_mult32(*p2, *p2); in Pitch_med_ol() [all …]
|
D | c4t64fx.c | 138 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local 266 p2 = dn2; in ACELP_4t64_fx() 271 *p2++ = s >> 7; in ACELP_4t64_fx() 273 *p2++ = s >> 7; in ACELP_4t64_fx() 275 *p2++ = s >> 7; in ACELP_4t64_fx() 277 *p2++ = s >> 7; in ACELP_4t64_fx() 357 p2 = h_inv; in ACELP_4t64_fx() 362 *p2++ = -(*p1++); in ACELP_4t64_fx() 364 *p2++ = -(*p1++); in ACELP_4t64_fx() 366 *p2++ = -(*p1++); in ACELP_4t64_fx() [all …]
|
D | cor_h_x.c | 43 Word16 *p1, *p2; in cor_h_x() local 56 p2 = &h[0]; in cor_h_x() 58 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x() 69 p2 = &h[0]; in cor_h_x() 71 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x() 82 p2 = &h[0]; in cor_h_x() 84 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x() 95 p2 = &h[0]; in cor_h_x() 97 L_tmp += vo_L_mult(*p1++, *p2++); in cor_h_x()
|
D | autocorr.c | 43 Word16 *p1,*p2,*p3; in Autocorr() local 111 p2 = y + (2*i)-1; in Autocorr() 113 L_sum1 += *p1 * *p2++; in Autocorr() 114 L_sum += *p1++ * *p2; in Autocorr() 117 L_sum1 += *p1 * *p2++; in Autocorr()
|
D | c2t64fx.c | 59 Word16 *p0, *p1, *p2, *psign; in ACELP_2t64_fx() local 99 p2 = dn2; in ACELP_2t64_fx() 104 *p2++ = s >> 7; in ACELP_2t64_fx() 106 *p2++ = s >> 7; in ACELP_2t64_fx() 108 *p2++ = s >> 7; in ACELP_2t64_fx() 110 *p2++ = s >> 7; in ACELP_2t64_fx() 225 p2 = rrixiy; in ACELP_2t64_fx() 240 alp2 = add1(alp1, add1(*p1++, *p2++)); in ACELP_2t64_fx()
|
/frameworks/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 46 int32_t p2 = u_getIntPropertyValue(c2, UCHAR_GRAPHEME_CLUSTER_BREAK); in isGraphemeBreak() local 48 if (p1 == U_GCB_CR && p2 == U_GCB_LF) { in isGraphemeBreak() 56 if (p2 == U_GCB_CONTROL || p2 == U_GCB_CR || p2 == 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() 83 if (p2 == U_GCB_EXTEND || p2 == U_GCB_SPACING_MARK) { in isGraphemeBreak()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | sad_halfpel.cpp | 68 UChar *kk, *p1, *p2; in HalfPel1_SAD_MB() local 74 if (ih) p2 = ref + 1; in HalfPel1_SAD_MB() 75 else p2 = ref + width; in HalfPel1_SAD_MB() 83 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; in HalfPel1_SAD_MB() 90 p2 += width; in HalfPel1_SAD_MB() 100 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_MB() local 104 p2 = ref + 1; in HalfPel2_SAD_MB() 114 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in HalfPel2_SAD_MB() 123 p2 += width; in HalfPel2_SAD_MB() 142 UChar *kk, *p1, *p2; in HalfPel1_SAD_Blk() local [all …]
|
D | me_utils.cpp | 113 UChar *p1, *p2, *p3, *p4; in GetHalfPelMBRegion_C() local 119 p2 = cand - lx; in GetHalfPelMBRegion_C() 127 *hmem1++ = ((*p1++) + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 128 *hmem1++ = ((*p2++) + *p4 + 1) >> 1; in GetHalfPelMBRegion_C() 133 *hmem1++ = ((*p1++) + (*p2++) + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 138 p2 += offset; in GetHalfPelMBRegion_C() 145 *hmem1++ = ((*p1++) + *p2 + (*p3++) + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 146 *hmem1++ = ((*p2++) + (*p4++) + 1) >> 1; in GetHalfPelMBRegion_C() 149 *hmem1 = (*p1 + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C() 169 UChar *p1, *p2, *p3, *p4; in GetHalfPelBlkRegion() local [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 82 p2 = ref + 1; in AVCSAD_MB_HalfPel_Cxhyh() 92 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in AVCSAD_MB_HalfPel_Cxhyh() 103 p2 += rx; in AVCSAD_MB_HalfPel_Cxhyh() 115 uint8 *kk, *p1, *p2; in AVCSAD_MB_HalfPel_Cyh() local 123 p2 = ref + rx; /* either left/right or top/bottom pixel */ in AVCSAD_MB_HalfPel_Cyh() 131 temp = ((p1[j] + p2[j] + 1) >> 1) - *kk++; in AVCSAD_MB_HalfPel_Cyh() 140 p2 += rx; in AVCSAD_MB_HalfPel_Cyh() 185 uint8 *p1, *p2; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh() local 206 p2 = p1 + rx; in AVCAVCSAD_MB_HP_HTFM_Collectxhyh() [all …]
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | IpPrefixTest.java | 171 IpPrefix p1, p2; in testEquals() local 174 p2 = new IpPrefix(new byte[]{(byte) 192, (byte) 0, (byte) 2, (byte) 251}, 23); in testEquals() 175 assertAreEqual(p1, p2); in testEquals() 178 assertAreEqual(p1, p2); in testEquals() 181 assertAreNotEqual(p1, p2); in testEquals() 184 assertAreNotEqual(p1, p2); in testEquals() 188 p2 = new IpPrefix(IPV6_BYTES, 122); in testEquals() 189 assertEquals("2001:db8:dead:beef:f00::80/122", p2.toString()); in testEquals() 190 assertAreEqual(p1, p2); in testEquals() 193 assertAreEqual(p1, p2); in testEquals() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Quad.java | 34 public Point p2; field in Quad 40 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument 43 this.p2 = p2; in Quad() 50 p2.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 | 48 Point p2 = new Point(center.x - size.x/2f, center.y + size.y/2f); in fromRotatedRect() local 52 p2.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() 74 return p2.minus(p0).length(); in getHeight() 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/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() 116 else if (ResolveInfo::Weak==p2.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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_DeBlockPixel.c | 55 int p3, p2, p1, p0, q0, q1, q2, q3; in armVCM4P10_DeBlockPixel() local 64 p2 = pQ0[-3*Step]; in armVCM4P10_DeBlockPixel() 75 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta); in armVCM4P10_DeBlockPixel() 79 ap = armAbs(p2 - p0); in armVCM4P10_DeBlockPixel() 110 delta = (p2 + ((p0+q0+1)>>1) - (p1<<1))>>1; in armVCM4P10_DeBlockPixel() 126 pQ0[-1*Step] = (OMX_U8)((p2 + 2*p1 + 2*p0 + 2*q0 + q1 + 4)>>3); in armVCM4P10_DeBlockPixel() 127 pQ0[-2*Step] = (OMX_U8)((p2 + p1 + p0 + q0 + 2)>>2); in armVCM4P10_DeBlockPixel() 128 pQ0[-3*Step] = (OMX_U8)((2*p3 + 3*p2 + p1 + p0 + q0 + 4)>>3); in armVCM4P10_DeBlockPixel() 148 p3, p2, p1, p0, q0, q1, q2, q3, bS, in armVCM4P10_DeBlockPixel()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | calc_cor.cpp | 225 Word16 *p2; in comp_corr() local 244 p2 = p_scal_sig++; in comp_corr() 250 t3 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p2++), t3); in comp_corr() 251 t4 = amrnb_fxp_mac_16_by_16bb((Word32) * (p++), (Word32) * (p2), t4); in comp_corr() 255 t3 = amrnb_fxp_mac_16_by_16bb((Word32) * (p), (Word32) * (p2++), t3); in comp_corr() 256 t4 = amrnb_fxp_mac_16_by_16bb((Word32) * (p++), (Word32) * (p2), t4); in comp_corr()
|
/frameworks/compile/mclinker/unittests/ |
D | PathTest.cpp | 92 Path* p2 = new Path("ccc///////"); in TEST_F() local 94 EXPECT_TRUE(*m_pTestee==*p2); in TEST_F() 99 delete p2; in TEST_F() 104 Path* p2=new Path("aaa//"); in TEST_F() local 107 EXPECT_TRUE(*m_pTestee!=*p2); in TEST_F() 111 EXPECT_TRUE(*m_pTestee!=*p2); in TEST_F() 112 delete p2; in TEST_F()
|
/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() 104 float4 p2 = cubicInterpolate(convert_float4(yp2[xs0]), in OneBiCubic() local [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | FixedRotationFilter.java | 75 Point p2 = new Point(1.0f, 0.0f); in process() local 81 sourceRegion = new Quad(p3,p1,p4,p2); in process() 85 sourceRegion = new Quad(p4,p3,p2,p1); in process() 88 sourceRegion = new Quad(p2,p4,p1,p3); in process() 93 sourceRegion = new Quad(p1,p2,p3,p4); in process()
|
/frameworks/wilhelm/src/ |
D | ThreadPool.h | 29 typedef void (*ClosureHandler_generic)(void *p1, void *p2, void *p3, int i1, int i2); 30 typedef void (*ClosureHandler_ppi) (void *p1, void *p2, int i1); 31 typedef void (*ClosureHandler_ppii) (void *p1, void *p2, int i1, int i2); 32 typedef void (*ClosureHandler_piipp) (void *p1, int i1, int i2, void *p2, void *p3);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | preemph.cpp | 245 Word16 *p2; in preemphasis() local 251 p2 = p1 - 1; in preemphasis() 256 temp2 = mult(g, *(p2--), pOverflow); in preemphasis()
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 40 + x * (3.f * (p1 - p2) + p3 - p0))); 80 float4 p2 = cubicInterpolate(p20, p21, p22, p23, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | resize.rs | 38 static float4 cubicInterpolate (float4 p0,float4 p1,float4 p2,float4 p3 , float x) { 39 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 40 + x * (3.f * (p1 - p2) + p3 - p0))); 80 float4 p2 = cubicInterpolate(p20, p21, p22, p23, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/base/libs/hwui/ |
D | ShadowTessellator.cpp | 156 for (int p2 = 0; p2 < polyLength; p2++) { in centroid2d() local 159 double x2 = poly[p2].x; in centroid2d() 160 double y2 = poly[p2].y; in centroid2d() 165 p1 = p2; in centroid2d() 179 Vector2 ShadowTessellator::calculateNormal(const Vector2& p1, const Vector2& p2) { in calculateNormal() argument 180 Vector2 result = p2 - p1; in calculateNormal()
|