Home
last modified time | relevance | path

Searched refs:p3 (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dsyn_filt.c97 Word16 *p1, *p2, *p3; in Syn_filt_32() local
106 p3 = &sig_hi[i - 1]; in Syn_filt_32()
109 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
111 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
113 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
115 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
117 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
119 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
121 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
123 L_tmp1 -= vo_mult32((*p3--), (*p1++)); in Syn_filt_32()
[all …]
Dautocorr.c41 Word16 *p1,*p2,*p3; in Autocorr() local
46 p3 = y; in Autocorr()
50 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
51 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
52 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
53 *p3++ = vo_mult_r((*p1++), (*p4++)); in Autocorr()
Dcor_h_x.c44 Word32 *p3; in cor_h_x() local
115 p3 = y32; in cor_h_x()
118 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
119 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
120 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
121 *p1++ = vo_round(L_shl(*p3++, j)); in cor_h_x()
Dc4t64fx.c138 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local
383 p3 = &rrixix[3][NB_POS - 1]; in ACELP_4t64_fx()
391 *p3-- = extract_h(cor); in ACELP_4t64_fx()
417 p3 = &rrixiy[2][pos]; in ACELP_4t64_fx()
431 *p3 = extract_h(cor); in ACELP_4t64_fx()
445 p3 -= (NB_POS + 1); in ACELP_4t64_fx()
453 *p3 = extract_h(cor); in ACELP_4t64_fx()
474 p3 = &rrixiy[3][pos]; in ACELP_4t64_fx()
488 *p3 = extract_h(cor); in ACELP_4t64_fx()
502 p3 -= (NB_POS + 1); in ACELP_4t64_fx()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DQuad.java35 public Point p3; field in Quad
40 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument
44 this.p3 = p3; in Quad()
51 p3.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.java49 Point p3 = new Point(center.x + size.x/2f, center.y + size.y/2f); in fromRotatedRect() local
53 p3.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()
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/m4v_h263/enc/src/
Dme_utils.cpp113 UChar *p1, *p2, *p3, *p4; in GetHalfPelMBRegion_C() local
120 p3 = cand - 1; in GetHalfPelMBRegion_C()
127 *hmem1++ = ((*p1++) + *p2 + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C()
129 *hmem2++ = ((*p3++) + *p4 + 1) >> 1; in GetHalfPelMBRegion_C()
133 *hmem1++ = ((*p1++) + (*p2++) + *p3 + *p4 + 2) >> 2; in GetHalfPelMBRegion_C()
134 *hmem2++ = ((*p3++) + (*p4++) + 1) >> 1; in GetHalfPelMBRegion_C()
139 p3 += 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
[all …]
Dsad_halfpel.cpp100 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_MB() local
105 p3 = ref + width; in HalfPel2_SAD_MB()
114 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in HalfPel2_SAD_MB()
122 p3 += width; in HalfPel2_SAD_MB()
174 UChar *kk, *p1, *p2, *p3, *p4; in HalfPel2_SAD_Blk() local
179 p3 = ref + width; in HalfPel2_SAD_Blk()
188 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; in HalfPel2_SAD_Blk()
196 p3 += width; in HalfPel2_SAD_Blk()
225 UChar *kk, *p1, *p2, *p3, *p4; in SAD_MB_HalfPel_Cxhyh() local
236 p3 = ref + rx; in SAD_MB_HalfPel_Cxhyh()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFixedRotationFilter.java77 Point p3 = new Point(0.0f, 1.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.java137 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, in updateParameters() local
149 p3.set(scale * p3.x / mWidth + 0.5f, scale * p3.y / mHeight + 0.5f); in updateParameters()
151 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters()
DDrawRectFilter.java119 box.p3.x, box.p3.y, in renderBox()
/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
63 p3 = pQ0[-4*Step]; in armVCM4P10_DeBlockPixel()
75 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta); 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/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java296 mTargetQuad.p3.set(1f, 1.0f); in updateTargetRect()
305 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()
312 mTargetQuad.p3.set(1.0f, 0.5f + 0.5f * relativeAspectRatio); in updateTargetRect()
322 mTargetQuad.p3.set(1.0f, 0.5f + 0.5f * relativeAspectRatio); in updateTargetRect()
328 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f); in updateTargetRect()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java77 Paint p3 = new Paint(); in onCreate()
78 p3.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); in onCreate()
82 middleList.setLayerType(View.LAYER_TYPE_HARDWARE, p3); in onCreate()
/frameworks/base/media/mca/filterfw/native/core/
Dgeometry.h56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) in Quad() argument
61 points_[3] = p3; in Quad()
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmesh.rs36 rs_primitive p3 = rsgMeshGetPrimitive(mesh, 3);
41 _RS_ASSERT(p3 == RS_PRIMITIVE_INVALID);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dc1035pf.cpp410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; in build_code() local
500 p3 = h - *(p_codvec++); in build_code()
517 s += (*p3++ * *(p__sign++)) >> 7; in build_code()
Dc8_31pf.cpp210 Word16 *p3; in build_code() local
304 p3 = h - *(p_codvec++); in build_code()
335 *p3++, in build_code()
/frameworks/wilhelm/src/
DThreadPool.h29 typedef void (*ClosureHandler_generic)(void *p1, void *p2, void *p3, int i1, int i2);
32 typedef void (*ClosureHandler_piipp) (void *p1, int i1, int i2, void *p2, void *p3);
/frameworks/base/media/mca/filterpacks/native/base/
Dgeometry.h56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) in Quad() argument
61 points_[3] = p3; in Quad()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java174 region.p3.x, region.p3.y); in setSourceRegion()
181 region.p3.x, region.p3.y); in setTargetRegion()
/frameworks/rs/driver/runtime/
Drs_sample.c195 float p3 = getElementAt1(p, stride, nextX, nextY); in getSample_A() local
196 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_A()
208 float p3 = getElementAt1(p, stride, nextX, nextY); in getSample_L() local
209 float r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_L()
221 float2 p3 = getElementAt2(p, stride, nextX, nextY); in getSample_LA() local
222 float2 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_LA()
234 float4 p3 = getElementAt4(p, stride, nextX, nextY); in getSample_RGB() local
235 float4 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_RGB()
247 float4 p3 = getElementAt4(p, stride, nextX, nextY); in getSample_RGBA() local
248 float4 r = p0 * w0 + p1 * w1 + p2 * w2 + p3 * w3; in getSample_RGBA()
[all …]
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dconvolve5x5.fs56 float4 p3 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
68 p0 = clamp(p0 + p1 + p2 + p3 + p4, 0.f, 255.f);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dconvolve5x5.fs56 float4 p3 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
68 p0 = clamp(p0 + p1 + p2 + p3 + p4, 0.f, 255.f);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dconvolve5x5.fs56 float4 p3 = convert_float4(rsGetElementAt_uchar4(gIn, x0, y3)) * gCoeffs[15]
68 p0 = clamp(p0 + p1 + p2 + p3 + p4, 0.f, 255.f);

12