Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dsyn_filt.c41 Word16 *yy, *p1, *p2; in Syn_filt() local
53 p2 = &yy[i-1]; in Syn_filt()
55 L_tmp -= vo_mult32((*p1++), (*p2--)); in Syn_filt()
56 L_tmp -= vo_mult32((*p1++), (*p2--)); 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()
[all …]
Dresidu.c35 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 …]
Dp_med_ol.c43 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 …]
Dc4t64fx.c138 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 …]
Dcor_h_x.c43 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()
Dautocorr.c41 Word16 *p1,*p2,*p3; in Autocorr() local
107 p2 = y + (2*i)-1; in Autocorr()
109 L_sum1 += *p1 * *p2++; in Autocorr()
110 L_sum += *p1++ * *p2; in Autocorr()
113 L_sum1 += *p1 * *p2++; in Autocorr()
Dc2t64fx.c59 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/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dsad_halfpel.cpp68 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 …]
Dme_utils.cpp113 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/
Dsad_halfpel.cpp74 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/media/mca/filterfw/java/android/filterfw/geometry/
DQuad.java34 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 …]
DRectangle.java48 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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DarmVCM4P10_DeBlockPixel.c55 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/
Dcalc_cor.cpp225 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/base/core/java/android/webkit/
DQuadF.java27 public PointF p2; field in QuadF
33 p2 = new PointF(); in QuadF()
40 p2.offset(dx, dy); in offset()
51 return isPointInTriangle(x, y, p1, p2, p3) || in containsPoint()
60 s.append(p2.x).append(",").append(p2.y); in toString()
/frameworks/compile/mclinker/unittests/
DPathTest.cpp92 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/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFixedRotationFilter.java76 Point p2 = new Point(1.0f, 0.0f); in process() local
82 sourceRegion = new Quad(p3,p1,p4,p2); in process()
86 sourceRegion = new Quad(p4,p3,p2,p1); in process()
89 sourceRegion = new Quad(p2,p4,p1,p3); in process()
94 sourceRegion = new Quad(p1,p2,p3,p4); in process()
DStraightenFilter.java134 Point p2 = new Point(-cosTheta * mWidth - sinTheta * mHeight, in updateParameters() local
148 p2.set(scale * p2.x / mWidth + 0.5f, scale * p2.y / mHeight + 0.5f); in updateParameters()
151 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters()
/frameworks/wilhelm/src/
DThreadPool.h29 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);
Dsles_allinclusive.h450 #define EnqueueAsyncCallback_ppi(object, handler, p1, p2, i1) \ argument
452 (ClosureHandler_ppi) (handler), (p1), (p2), (i1))
453 #define EnqueueAsyncCallback_ppii(object, handler, p1, p2, i1, i2) \ argument
455 (ClosureHandler_ppii) (handler), (p1), (p2), (i1), (i2))
456 #define EnqueueAsyncCallback_piipp(object, handler, p1, i1, i2, p2, p3) \ argument
458 (ClosureHandler_piipp) (handler), (p1), (i1), (i2), (p2), (p3))
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Dpreemph.cpp245 Word16 *p2; in preemphasis() local
251 p2 = p1 - 1; in preemphasis()
256 temp2 = mult(g, *(p2--), pOverflow); in preemphasis()
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp112 Poly p2, *p, *q, *r; in poly_clip_to_frustum() local
141 q = &p2; in poly_clip_to_frustum()
150 if (p==&p2) in poly_clip_to_frustum()
151 memcpy(p1, &p2, sizeof(Poly)-(POLY_NMAX-p2.n)*sizeof(Poly_vert)); in poly_clip_to_frustum()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java568 byte[] p2 = intToByteArray(param[1]); in setParameter()
569 p = concatArrays(p, p2); in setParameter()
593 byte[] p2 = intToByteArray(param[1]); in setParameter()
594 p = concatArrays(p, p2); in setParameter()
619 byte[] p2 = intToByteArray(param[1]); in setParameter()
620 p = concatArrays(p, p2); in setParameter()
737 byte[] p2 = intToByteArray(param[1]); in getParameter()
738 p = concatArrays(p, p2); in getParameter()
771 byte[] p2 = intToByteArray(param[1]); in getParameter()
772 p = concatArrays(p, p2); in getParameter()
[all …]
/frameworks/compile/libbcc/tests/data/src/
DaddressOf.c23 int* p2 = a; in testArray() local
24 printf("testArray: %d %d %d\n", a[0], *p, *p2); in testArray()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java295 mTargetQuad.p2.set(0f, 1.0f); in updateTargetRect()
304 mTargetQuad.p2.set(0.5f - 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()
311 mTargetQuad.p2.set(0.0f, 0.5f + 0.5f * relativeAspectRatio); in updateTargetRect()
321 mTargetQuad.p2.set(0.0f, 0.5f + 0.5f * relativeAspectRatio); in updateTargetRect()
327 mTargetQuad.p2.set(0.5f - 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()

123