Searched refs:p0 (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_DeBlockPixel.c70 int p3, p2, p1, p0, q0, q1, q2, q3; local
81 p0 = pQ0[-1*Step];
87 if (armAbs(p0-q0)>=alpha || armAbs(p1-p0)>=beta || armAbs(q1-q0)>=beta)
90 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta);
94 ap = armAbs(p2 - p0);
117 delta = (((q0-p0)<<2) + (p1-q1) + 4) >> 3;
120 pQ0[-1*Step] = (OMX_U8)armClip(0, 255, p0 + delta);
125 delta = (p2 + ((p0+q0+1)>>1) - (p1<<1))>>1;
132 delta = (q2 + ((p0
[all...]
/frameworks/native/services/surfaceflinger/Effects/
H A DDaltonizer.cpp90 const vec3 p0 = cross(lms_w, lms_b); // protanopia/deuteranopia local
98 -p0.y / p0.x, 1.0000, 0.0000, 0,
99 -p0.z / p0.x, 0.0000, 1.0000, 0,
103 const mat4 lms2lmsd( 1.0000, -p0.x / p0.y, 0.0000, 0,
105 0.0000, -p0.z / p0.y, 1.0000, 0,
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DQuad.java32 public Point p0; field in class:Quad
40 public Quad(Point p0, Point p1, Point p2, Point p3) { argument
41 this.p0 = p0;
48 return p0.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
[all...]
H A DRectangle.java46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f);
50 return new Rectangle(p0.rotatedAround(center, rotation),
56 private Rectangle(Point p0, Point p1, Point p2, Point p3) { argument
57 super(p0, p1, p2, p3);
70 return p1.minus(p0).length();
74 return p2.minus(p0).length();
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 Dc2t64fx.c59 Word16 *p0, *p1, *p2, *psign; local
100 p0 = cn;
106 s = (k_cn* (*p0++))+(k_dn * (*p1++));
108 s = (k_cn* (*p0++))+(k_dn * (*p1++));
110 s = (k_cn* (*p0++))+(k_dn * (*p1++));
112 s = (k_cn* (*p0++))+(k_dn * (*p1++));
150 p0 = &rrixix[0][NB_POS - 1];
162 *p0-- = (extract_h(cor) >> 1);
175 p0 = &rrixiy[pos2];
189 *p0
[all...]
H A Dc4t64fx.c138 Word16 *p0, *p1, *p2, *p3, *psign; local
264 p0 = cn;
270 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++)));
272 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++)));
274 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++)));
276 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++)));
355 p0 = H;
361 *p1 = *p0++ >> h_shift;
363 *p1 = *p0++ >> h_shift;
365 *p1 = *p0
845 Word16 *p0, *p1, *p2,*p3,*cor_x,*cor_y; local
917 Word16 *p0, *p1, *p2,*p3,*cor_x,*cor_y; local
990 Word16 *p0, *p1, *p2; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h38 static float Distance(const Point& p0, const Point& p1);
56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) argument
58 points_[0] = p0;
H A Dgeometry.cpp40 float Point::Distance(const Point& p0, const Point& p1) { argument
41 Point diff = p1 - p0;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight,
135 float maxWidth = (float) Math.max(Math.abs(p0.x), Math.abs(p1.x));
136 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y));
141 p0.set(scale * p0.x / mWidth + 0.5f, scale * p0.y / mHeight + 0.5f);
146 Quad quad = new Quad(p0, p1, p2, p3);
H A DDrawRectFilter.java114 float[] vertexValues = { box.p0.x, box.p0.y,
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.h38 static float Distance(const Point& p0, const Point& p1);
56 Quad(const Point& p0, const Point& p1, const Point& p2, const Point& p3) argument
58 points_[0] = p0;
H A Dgeometry.cpp39 float Point::Distance(const Point& p0, const Point& p1) { argument
40 Point diff = p1 - p0;
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dresize.rs38 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)));
68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf);
88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dresize.rs38 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)));
68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf);
88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dresize.rs38 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)));
68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf);
88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c660 u8 p0, q0, p1, q1, p2, q2; local
676 p1 = data[-2]; p0 = data[-1];
678 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
679 ((unsigned)ABS(p1-p0) < thresholds->beta) &&
685 if ((unsigned)ABS(p2-p0) < thresholds->beta)
688 (p2 + ((p0 + q0 + 1) >> 1) - (p1 << 1)) >> 1));
695 (q2 + ((p0 + q0 + 1) >> 1) - (q1 << 1)) >> 1));
699 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) +
702 p0 = clp[p0
771 u8 p0, q0, p1, q1, p2, q2; local
840 u8 p0, q0, p1, q1, p2, q2; local
952 u8 p0, q0, p1, q1; local
1028 u8 p0, q0, p1, q1; local
1076 u8 p0, q0, p1, q1; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc1035pf.cpp272 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9;
345 p0 = h - codvec[0];
359 s = L_mac (s, *p0++, _sign[0]);
410 Word16 *p0, *p1, *p2, *p3, *p4, *p5, *p6, *p7, *p8, *p9; local
424 p0 = &codvec[0];
429 i = *(p0++);
497 p0 = h - *(p_codvec++);
514 s = (*p0++ * *(p__sign++)) >> 7;
H A Dc2_11pf.cpp634 Word16 *p0; local
811 p0 = h - codvec[0];
821 *p0++,
H A Dc2_9pf.cpp892 Word16 *p0, *p1, *pt;
948 p0 = h - codvec[0];
953 s = L_mac(s, *p0++, _sign[0]);
1005 Word16 *p0; local
1067 p0 = h - *codvec;
1075 *p0++,
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicResize.cpp78 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) { argument
89 return p1 + 0.5f * x * (p2 - p0
103 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]), local
138 float2 p0 = cubicInterpolate(convert_float2(yp0[xs0]), local
173 float p0 = cubicInterpolate((float)yp0[xs0], (float)yp0[xs1], local
254 float4 p0 = cubicInterpolate(yp0[xs0], yp0[xs1], local
277 float2 p0 = cubicInterpolate(yp0[xs0], yp0[xs1], local
300 float p0 = cubicInterpolate(yp0[xs0], yp0[xs1], local
[all...]
/frameworks/rs/driver/runtime/
H A Drs_sample.c129 float p0 = getElementAt1(p, iPixel); local
131 float r = p0 * w0 + p1 * w1;
139 float p0 = getElementAt1(p, iPixel); local
141 float r = p0 * w0 + p1 * w1;
149 float2 p0 = getElementAt2(p, iPixel); local
151 float2 r = p0 * w0 + p1 * w1;
159 float3 p0 = getElementAt3(p, iPixel); local
161 float3 r = p0 * w0 + p1 * w1;
169 float3 p0 = getElementAt565(p, iPixel); local
171 float3 r = p0 * w
179 float4 p0 = getElementAt4(p, iPixel); local
191 float p0 = getElementAt1(p, stride, locX, locY); local
204 float p0 = getElementAt1(p, stride, locX, locY); local
217 float2 p0 = getElementAt2(p, stride, locX, locY); local
230 float4 p0 = getElementAt4(p, stride, locX, locY); local
243 float4 p0 = getElementAt4(p, stride, locX, locY); local
255 float3 p0 = getElementAt565(p, stride, locX, locY); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A Dcor_h_vec_opt.s41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
45 @r3 --- sign[], r4 --- i, r7 --- p0
81 LDRSH r10, [r7], #2 @*p0++
128 LDRSH r10, [r7], #2 @*p0++
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A Dcor_h_vec_neon.s41 ADD r7, r4, r2, LSL #5 @r7 --- p0 = rrixix[track]
45 @r3 --- sign[], r4 --- i, r7 --- p0
82 LDRSH r10, [r7], #2 @*p0++
129 LDRSH r10, [r7], #2 @*p0++
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java171 setSourceRegion(region.p0.x, region.p0.y,
178 setTargetRegion(region.p0.x, region.p0.y,
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DSurfaceTextureTarget.java283 mTargetQuad.p0.set(0f, 0.0f);
292 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f);
299 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio);
309 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio);
315 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f);

Completed in 1239 milliseconds

12