/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Quad.java | 35 public Point p3; field in class:Quad 40 public Quad(Point p0, Point p1, Point p2, Point p3) { argument 44 this.p3 = p3; 51 p3.IsInUnitRange(); 55 return new Quad(p0.plus(t), p1.plus(t), p2.plus(t), p3.plus(t)); 59 return new Quad(p0.plus(x, y), p1.plus(x, y), p2.plus(x, y), p3.plus(x, y)); 63 return new Quad(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); 67 return new Quad(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); 71 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3 [all...] |
H A D | Rectangle.java | 49 Point p3 = new Point(center.x + size.x/2f, center.y + size.y/2f); 53 p3.rotatedAround(center, rotation)); 56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { argument 57 super(p0, p1, p2, p3); 78 return p0.plus(p1).plus(p2).plus(p3).times(0.25f); 83 return new Rectangle(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); 88 return new Rectangle(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y));
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | syn_filt.c | 99 Word16 *p1, *p2, *p3; local 110 p3 = &sig_hi[i - 1]; 113 L_tmp1 -= vo_mult32((*p3--), (*p1++)); 115 L_tmp1 -= vo_mult32((*p3--), (*p1++)); 117 L_tmp1 -= vo_mult32((*p3--), (*p1++)); 119 L_tmp1 -= vo_mult32((*p3--), (*p1++)); 121 L_tmp1 -= vo_mult32((*p3--), (*p1++)); 123 L_tmp1 -= vo_mult32((*p3--), (*p1++)); 125 L_tmp1 -= vo_mult32((*p3--), (*p1++)); 127 L_tmp1 -= vo_mult32((*p3 [all...] |
H A D | autocorr.c | 43 Word16 *p1,*p2,*p3; local 50 p3 = y; 54 *p3++ = vo_mult_r((*p1++), (*p4++)); 55 *p3++ = vo_mult_r((*p1++), (*p4++)); 56 *p3++ = vo_mult_r((*p1++), (*p4++)); 57 *p3++ = vo_mult_r((*p1++), (*p4++));
|
H A D | cor_h_x.c | 44 Word32 *p3; local 121 p3 = y32; 124 *p1++ = vo_round(L_shl(*p3++, j)); 125 *p1++ = vo_round(L_shl(*p3++, j)); 126 *p1++ = vo_round(L_shl(*p3++, j)); 127 *p1++ = vo_round(L_shl(*p3++, j));
|
H A D | c4t64fx.c | 138 Word16 *p0, *p1, *p2, *p3, *psign; local 383 p3 = &rrixix[3][NB_POS - 1]; 391 *p3-- = extract_h(cor); 417 p3 = &rrixiy[2][pos]; 431 *p3 = extract_h(cor); 445 p3 -= (NB_POS + 1); 453 *p3 = extract_h(cor); 474 p3 = &rrixiy[3][pos]; 488 *p3 = extract_h(cor); 502 p3 845 Word16 *p0, *p1, *p2,*p3,*cor_x,*cor_y; local 917 Word16 *p0, *p1, *p2,*p3,*cor_x,*cor_y; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | me_utils.cpp | 113 UChar *p1, *p2, *p3, *p4; local 120 p3 = cand - 1; 127 *hmem1++ = ((*p1++) + *p2 + *p3 + *p4 + 2) >> 2; 129 *hmem2++ = ((*p3++) + *p4 + 1) >> 1; 133 *hmem1++ = ((*p1++) + (*p2++) + *p3 + *p4 + 2) >> 2; 134 *hmem2++ = ((*p3++) + (*p4++) + 1) >> 1; 139 p3 += offset; 145 *hmem1++ = ((*p1++) + *p2 + (*p3++) + *p4 + 2) >> 2; 149 *hmem1 = (*p1 + *p2 + *p3 + *p4 + 2) >> 2; 169 UChar *p1, *p2, *p3, *p local [all...] |
H A D | sad_halfpel.cpp | 100 UChar *kk, *p1, *p2, *p3, *p4; local 105 p3 = ref + width; 114 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; 122 p3 += width; 174 UChar *kk, *p1, *p2, *p3, *p4; local 179 p3 = ref + width; 188 temp = ((p1[j] + p2[j] + p3[j] + p4[j] + 2) >> 2) - *kk++; 196 p3 += width; 225 UChar *kk, *p1, *p2, *p3, *p4; local 236 p3 784 UChar *kk, *p1, *p2, *p3, *p4; local [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | FixedRotationFilter.java | 76 Point p3 = new Point(0.0f, 1.0f); 81 sourceRegion = new Quad(p3,p1,p4,p2); 85 sourceRegion = new Quad(p4,p3,p2,p1); 88 sourceRegion = new Quad(p2,p4,p1,p3); 93 sourceRegion = new Quad(p1,p2,p3,p4);
|
H A D | StraightenFilter.java | 132 Point p3 = new Point(cosTheta * mWidth - sinTheta * mHeight, 144 p3.set(scale * p3.x / mWidth + 0.5f, scale * p3.y / mHeight + 0.5f); 146 Quad quad = new Quad(p0, p1, p2, p3);
|
H A D | DrawRectFilter.java | 116 box.p3.x, box.p3.y,
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | rasterize.rs | 33 static float2 p3[12]; 66 p3[total] = f3.xy; 68 d23[total] = p2[total] - p3[total]; 69 d31[total] = p3[total] - p1[total]; 84 int p3 = index[i + 2]; 91 f3.x = vert[p3]; 92 f3.y = vert[p3 + 1]; 93 f3.z = vert[p3 + 2]; 107 float2 d3 = loc - p3[i];
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.h | 56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) argument 61 points_[3] = p3;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | armVCM4P10_DeBlockPixel.c | 70 int p3, p2, p1, p0, q0, q1, q2, q3; local 78 p3 = pQ0[-4*Step]; 90 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta); 143 pQ0[-3*Step] = (OMX_U8)((2*p3 + 3*p2 + p1 + p0 + q0 + 4)>>3); 163 p3, p2, p1, p0, q0, q1, q2, q3, bS,
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A 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))); 86 float4 p3 = cubicInterpolate(p30, p31, p32, p33, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A 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))); 86 float4 p3 = cubicInterpolate(p30, p31, p32, p33, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A 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))); 86 float4 p3 = cubicInterpolate(p30, p31, p32, p33, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.h | 56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) argument 61 points_[3] = p3;
|
/frameworks/wilhelm/src/ |
H A D | ThreadPool.h | 29 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/rs/cpu_ref/ |
H A D | rsCpuIntrinsicResize.cpp | 78 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { argument 79 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 80 + x * (3.f * (p1 - p2) + p3 - p0))); 83 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { argument 84 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 85 + x * (3.f * (p1 - p2) + p3 - p0))); 88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { 89 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 90 + x * (3.f * (p1 - p2) + p3 - p0))); 118 float4 p3 local 153 float2 p3 = cubicInterpolate(convert_float2(yp3[xs0]), local 179 float p3 = cubicInterpolate((float)yp3[xs0], (float)yp3[xs1], local 260 float4 p3 = cubicInterpolate(yp3[xs0], yp3[xs1], local 283 float2 p3 = cubicInterpolate(yp3[xs0], yp3[xs1], local 306 float p3 = cubicInterpolate(yp3[xs0], yp3[xs1], local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c1035pf.cpp | 272 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; 348 p3 = h - codvec[3]; 362 s = L_mac (s, *p3++, _sign[3]); 410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; local 500 p3 = h - *(p_codvec++); 517 s += (*p3++ * *(p__sign++)) >> 7;
|
H A D | c8_31pf.cpp | 210 Word16 *p3; local 304 p3 = h - *(p_codvec++); 335 *p3++,
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity.java | 77 Paint p3 = new Paint(); 78 p3.setColorFilter(new PorterDuffColorFilter(0xff00ff00, PorterDuff.Mode.MULTIPLY)); 82 middleList.setLayerType(View.LAYER_TYPE_HARDWARE, p3);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 174 region.p3.x, region.p3.y); 181 region.p3.x, region.p3.y);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | SurfaceTextureTarget.java | 286 mTargetQuad.p3.set(1f, 1.0f); 295 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f); 302 mTargetQuad.p3.set(1.0f, 0.5f + 0.5f * relativeAspectRatio); 312 mTargetQuad.p3.set(1.0f, 0.5f + 0.5f * relativeAspectRatio); 318 mTargetQuad.p3.set(0.5f + 0.5f / relativeAspectRatio, 1.0f);
|