Home
last modified time | relevance | path

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

12

/frameworks/base/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/base/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/base/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/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/base/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()
Dc1035pf.cpp410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; in build_code() local
499 p2 = h - *(p_codvec++); in build_code()
516 s += (*p2++ * *(p__sign++)) >> 7; in build_code()
Dc8_31pf.cpp209 Word16 *p2; in build_code() local
303 p2 = h - *(p_codvec++); in build_code()
329 *p2++, in build_code()
Dc3_14pf.cpp689 Word16 *p2; in build_code() local
777 p2 = h - codvec[2]; in build_code()
799 *p2++, in build_code()
/frameworks/base/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.java552 byte[] p2 = intToByteArray(param[1]); in setParameter()
553 p = concatArrays(p, p2); in setParameter()
577 byte[] p2 = intToByteArray(param[1]); in setParameter()
578 p = concatArrays(p, p2); in setParameter()
603 byte[] p2 = intToByteArray(param[1]); in setParameter()
604 p = concatArrays(p, p2); in setParameter()
721 byte[] p2 = intToByteArray(param[1]); in getParameter()
722 p = concatArrays(p, p2); in getParameter()
755 byte[] p2 = intToByteArray(param[1]); in getParameter()
756 p = concatArrays(p, p2); in getParameter()
[all …]
DEqualizer.java413 int p2 = -1; in onParameterChange() local
419 p2 = byteArrayToInt(param, 4); in onParameterChange()
429 l.onParameterChange(Equalizer.this, status, p1, p2, v); in onParameterChange()
/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/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java74 Paint p2 = new Paint(); in onCreate()
75 p2.setAlpha(127); in onCreate()
84 rightList.setLayerType(View.LAYER_TYPE_SOFTWARE, p2); in onCreate()
/frameworks/base/libs/rs/
DrsElement.cpp256 const uint8_t *p2 = &p[mFields[i].offsetBits >> 3]; in incRefs() local
258 mFields[i].e->incRefs(p2); in incRefs()
259 p2 += mFields[i].e->getSizeBytes(); in incRefs()
278 const uint8_t *p2 = &p[mFields[i].offsetBits >> 3]; in decRefs() local
280 mFields[i].e->decRefs(p2); in decRefs()
281 p2 += mFields[i].e->getSizeBytes(); in decRefs()
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_deblocking.c660 u8 p0, q0, p1, q1, p2, q2; in FilterVerLumaEdge() local
682 p2 = data[-3]; in FilterVerLumaEdge()
685 if ((unsigned)ABS(p2-p0) < thresholds->beta) in FilterVerLumaEdge()
688 (p2 + ((p0 + q0 + 1) >> 1) - (p1 << 1)) >> 1)); in FilterVerLumaEdge()
724 p2 = data[-3]; in FilterVerLumaEdge()
727 if (tmpFlag && (unsigned)ABS(p2-p0) < thresholds->beta) in FilterVerLumaEdge()
730 data[-1] = (u8)((p2 + 2 * tmp + q1 + 4) >> 3); in FilterVerLumaEdge()
731 data[-2] = (u8)((p2 + tmp + 2) >> 2); in FilterVerLumaEdge()
732 data[-3] = (u8)((2 * data[-4] + 3 * p2 + tmp + 4) >> 3); in FilterVerLumaEdge()
771 u8 p0, q0, p1, q1, p2, q2; in FilterHorLumaEdge() local
[all …]
/frameworks/base/services/java/com/android/server/am/
DReceiverList.java81 String p2 = prefix + " "; in dump() local
89 bf.dumpInReceiverList(pw, pr, p2); in dump()
DBroadcastRecord.java151 String p2 = prefix + " "; in dump() local
158 ((BroadcastFilter)o).dumpBrief(pw, p2); in dump()
160 ((ResolveInfo)o).dump(printer, p2); in dump()

12