Home
last modified time | relevance | path

Searched refs:p0 (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dc2t64fx.c59 Word16 *p0, *p1, *p2, *psign; in ACELP_2t64_fx() local
100 p0 = cn; in ACELP_2t64_fx()
106 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx()
108 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx()
110 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx()
112 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx()
150 p0 = &rrixix[0][NB_POS - 1]; in ACELP_2t64_fx()
162 *p0-- = (extract_h(cor) >> 1); in ACELP_2t64_fx()
175 p0 = &rrixiy[pos2]; in ACELP_2t64_fx()
189 *p0 = extract_h(cor); in ACELP_2t64_fx()
[all …]
Dc4t64fx.c142 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local
268 p0 = cn; in ACELP_4t64_fx()
274 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
276 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
278 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
280 s = L_add((k_cn* (*p0++)), (k_dn * (*p1++))); in ACELP_4t64_fx()
359 p0 = H; in ACELP_4t64_fx()
365 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx()
367 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx()
369 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DQuad.java34 public Point p0; field in Quad
47 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument
48 this.p0 = p0; in Quad()
55 return p0.IsInUnitRange() && in IsInUnitRange()
62 return new Quad(p0.plus(t), p1.plus(t), p2.plus(t), p3.plus(t)); in translated()
66 return new Quad(p0.plus(x, y), p1.plus(x, y), p2.plus(x, y), p3.plus(x, y)); in translated()
70 return new Quad(p0.times(s), p1.times(s), p2.times(s), p3.times(s)); in scaled()
74 return new Quad(p0.mult(x, y), p1.mult(x, y), p2.mult(x, y), p3.mult(x, y)); in scaled()
78 List<Float> xs = Arrays.asList(p0.x, p1.x, p2.x, p3.x); in boundingBox()
79 List<Float> ys = Arrays.asList(p0.y, p1.y, p2.y, p3.y); in boundingBox()
[all …]
DRectangle.java46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f); in fromRotatedRect() local
50 return new Rectangle(p0.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()
70 return p1.minus(p0).length(); in getWidth()
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/native/services/surfaceflinger/Effects/
DDaltonizer.cpp88 const vec3 p0 = cross(lms_w, lms_b); // protanopia/deuteranopia in update() local
96 -p0.y / p0.x, 1.0000, 0.0000, 0, in update()
97 -p0.z / p0.x, 0.0000, 1.0000, 0, in update()
101 const mat4 lms2lmsd( 1.0000, -p0.x / p0.y, 0.0000, 0, in update()
103 0.0000, -p0.z / p0.y, 1.0000, 0, in update()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DStraightenFilter.java123 Point p0 = new Point(-cosTheta * mWidth + sinTheta * mHeight, in updateParameters() local
135 float maxWidth = (float) Math.max(Math.abs(p0.x), Math.abs(p1.x)); in updateParameters()
136 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y)); in updateParameters()
141 p0.set(scale * p0.x / mWidth + 0.5f, scale * p0.y / mHeight + 0.5f); in updateParameters()
146 Quad quad = new Quad(p0, p1, p2, p3); in updateParameters()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
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/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
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/tests/java_api/ImageProcessing/src/com/android/rs/image/
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/cpu_ref/
DrsCpuIntrinsicResize.cpp71 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument
72 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
73 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
76 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument
77 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
78 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
81 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument
82 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate()
83 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate()
96 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]), in OneBiCubic() local
[all …]
/frameworks/rs/driver/runtime/
Drs_sample.c129 float p0 = getElementAt1(p, iPixel); in getSample_A() local
131 float r = p0 * w0 + p1 * w1; in getSample_A()
139 float p0 = getElementAt1(p, iPixel); in getSample_L() local
141 float r = p0 * w0 + p1 * w1; in getSample_L()
149 float2 p0 = getElementAt2(p, iPixel); in getSample_LA() local
151 float2 r = p0 * w0 + p1 * w1; in getSample_LA()
159 float3 p0 = getElementAt3(p, iPixel); in getSample_RGB() local
161 float3 r = p0 * w0 + p1 * w1; in getSample_RGB()
169 float3 p0 = getElementAt565(p, iPixel); in getSample_565() local
171 float3 r = p0 * w0 + p1 * w1; in getSample_565()
[all …]
/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
424 p0 = &codvec[0]; in build_code()
429 i = *(p0++); in build_code()
497 p0 = h - *(p_codvec++); in build_code()
514 s = (*p0++ * *(p__sign++)) >> 7; in build_code()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt67 override fun onTransitionEnd(p0: Transition?) { in <lambda>()
71 override fun onTransitionResume(p0: Transition?) { in <lambda>()
74 override fun onTransitionPause(p0: Transition?) { in <lambda>()
77 override fun onTransitionCancel(p0: Transition?) { in <lambda>()
80 override fun onTransitionStart(p0: Transition?) { in <lambda>()
/frameworks/base/media/mca/filterfw/native/core/
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) in Quad() argument
58 points_[0] = p0; in Quad()
/frameworks/ml/nn/tools/test_generator/tests/P_vts_internal/
Dadd_internal.mod.py39 p0 = Parameter("p0", ("TENSOR_FLOAT32", [2]), [0.0, 1.0]) variable
43 model.Operation("ADD", p0, t5, act).To(t6)
45 model.Operation("ADD", i6, p0, act).To(t5)
/frameworks/ml/nn/tools/test_generator/tests/P_internal/
Dadd_internal.mod.py39 p0 = Parameter("p0", ("TENSOR_FLOAT32", [2]), [0.0, 1.0]) variable
43 model.Operation("ADD", p0, t5, act).To(t6)
45 model.Operation("ADD", i6, p0, act).To(t5)
Dstdout.txt.expect24 auto p0 = model->addOperand(&type0);
45 model->setOperandValue(p0, p0_init, sizeof(float) * 2);
46 model->addOperation(ANEURALNETWORKS_ADD, {i6, p0, act}, {t5});
47 model->addOperation(ANEURALNETWORKS_ADD, {p0, t5, act}, {t6});
/frameworks/base/media/mca/filterpacks/native/base/
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) in Quad() argument
58 points_[0] = p0; in Quad()
/frameworks/minikin/libs/minikin/
DGraphemeBreak.cpp132 int32_t p0 = 0; in isGraphemeBreak() local
135 p0 = tailoredGraphemeClusterBreak(c0); in isGraphemeBreak()
137 while (p0 == U_GCB_EXTEND && offset_backback > start) { in isGraphemeBreak()
139 p0 = tailoredGraphemeClusterBreak(c0); in isGraphemeBreak()
/frameworks/base/libs/hwui/tests/unit/
DSkiaBehaviorTests.cpp73 SkPath p0, p1, result; in TEST() local
74 p0.addRect(SkRect::MakeXYWH(-5.0f, 0.0f, 1080.0f, 242.0f)); in TEST()
76 Op(p0, p1, kIntersect_SkPathOp, &result); in TEST()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java283 mTargetQuad.p0.set(0f, 0.0f); in updateTargetRect()
292 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect()
299 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect()
309 mTargetQuad.p0.set(0.0f, 0.5f - 0.5f * relativeAspectRatio); in updateTargetRect()
315 mTargetQuad.p0.set(0.5f - 0.5f / relativeAspectRatio, 0.0f); in updateTargetRect()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
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/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
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/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java177 setSourceRegion(region.p0.x, region.p0.y, in setSourceRegion()
184 setTargetRegion(region.p0.x, region.p0.y, in setTargetRegion()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DBrushPropertyDrawable.kt81 override fun setAlpha(p0: Int) { in setAlpha()
89 override fun setColorFilter(p0: ColorFilter?) { in setColorFilter()

12