/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | armVCM4P10_DeBlockPixel.c | 70 int p3, p2, p1, p0, q0, q1, q2, q3; in armVCM4P10_DeBlockPixel() local 81 p0 = pQ0[-1*Step]; in armVCM4P10_DeBlockPixel() 87 if (armAbs(p0-q0)>=alpha || armAbs(p1-p0)>=beta || armAbs(q1-q0)>=beta) in armVCM4P10_DeBlockPixel() 90 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta); in armVCM4P10_DeBlockPixel() 94 ap = armAbs(p2 - p0); in armVCM4P10_DeBlockPixel() 117 delta = (((q0-p0)<<2) + (p1-q1) + 4) >> 3; in armVCM4P10_DeBlockPixel() 120 pQ0[-1*Step] = (OMX_U8)armClip(0, 255, p0 + delta); in armVCM4P10_DeBlockPixel() 125 delta = (p2 + ((p0+q0+1)>>1) - (p1<<1))>>1; in armVCM4P10_DeBlockPixel() 132 delta = (q2 + ((p0+q0+1)>>1) - (q1<<1))>>1; in armVCM4P10_DeBlockPixel() 139 if (ChromaFlag==0 && ap<beta && armAbs(p0-q0)<((alpha>>2)+2)) in armVCM4P10_DeBlockPixel() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Quad.java | 32 public Point p0; field in Quad 40 public Quad(Point p0, Point p1, Point p2, Point p3) { in Quad() argument 41 this.p0 = p0; in Quad() 48 return p0.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 …]
|
D | Rectangle.java | 46 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/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c2t64fx.c | 59 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 …]
|
D | c4t64fx.c | 142 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/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 88 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/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_deblocking.c | 660 u8 p0, q0, p1, q1, p2, q2; in FilterVerLumaEdge() local 676 p1 = data[-2]; p0 = data[-1]; in FilterVerLumaEdge() 678 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) && in FilterVerLumaEdge() 679 ((unsigned)ABS(p1-p0) < thresholds->beta) && in FilterVerLumaEdge() 685 if ((unsigned)ABS(p2-p0) < thresholds->beta) in FilterVerLumaEdge() 688 (p2 + ((p0 + q0 + 1) >> 1) - (p1 << 1)) >> 1)); in FilterVerLumaEdge() 695 (q2 + ((p0 + q0 + 1) >> 1) - (q1 << 1)) >> 1)); in FilterVerLumaEdge() 699 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) + in FilterVerLumaEdge() 702 p0 = clp[p0 + delta]; in FilterVerLumaEdge() 705 data[-1] = p0; in FilterVerLumaEdge() [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | StraightenFilter.java | 123 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()
|
D | DrawRectFilter.java | 114 float[] vertexValues = { box.p0.x, box.p0.y, in renderBox()
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
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))); 68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
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))); 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/ |
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))); 68 float4 p0 = cubicInterpolate(p00, p01, p02, p03, xf); 88 float4 p = cubicInterpolate(p0, p1, p2, p3, yf);
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 71 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/ |
D | rs_sample.c | 129 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/ |
D | c1035pf.cpp | 410 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/media/mca/filterfw/native/core/ |
D | geometry.h | 38 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()
|
D | geometry.cpp | 40 float Point::Distance(const Point& p0, const Point& p1) { in Distance() argument 41 Point diff = p1 - p0; in Distance()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.h | 38 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_full/ |
D | vts_full.mod.py | 7 p0 = Parameter("p0", "TENSOR_FLOAT32", "{1, 2, 2, 1}", [5.0, 6.0, 7.0, 8.0]) variable 10 model.Operation("ADD", i0, p0, b0).To(o)
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | SurfaceTextureTarget.java | 283 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/base/libs/hwui/tests/unit/ |
D | SkiaBehaviorTests.cpp | 94 SkPath p0, p1, result; in TEST() local 95 p0.addRect(SkRect::MakeXYWH(-5.0f, 0.0f, 1080.0f, 242.0f)); in TEST() 97 Op(p0, p1, kIntersect_SkPathOp, &result); in TEST()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | cor_h_vec_opt.s | 41 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/ |
D | cor_h_vec_neon.s | 41 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/minikin/libs/minikin/ |
D | GraphemeBreak.cpp | 135 int32_t p0 = p1; in isGraphemeBreak() local 136 if (p0 == U_GCB_EXTEND && offset_backback > start) { in isGraphemeBreak() 139 p0 = tailoredGraphemeClusterBreak(c0); in isGraphemeBreak()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | ShaderProgram.java | 171 setSourceRegion(region.p0.x, region.p0.y, in setSourceRegion() 178 setTargetRegion(region.p0.x, region.p0.y, in setTargetRegion()
|