/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 97 p0 = cn; in ACELP_2t64_fx() 103 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 105 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 107 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 109 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_2t64_fx() 147 p0 = &rrixix[0][NB_POS - 1]; in ACELP_2t64_fx() 159 *p0-- = (extract_h(cor) >> 1); in ACELP_2t64_fx() 172 p0 = &rrixiy[pos2]; in ACELP_2t64_fx() 186 *p0 = extract_h(cor); in ACELP_2t64_fx() [all …]
|
D | c4t64fx.c | 138 Word16 *p0, *p1, *p2, *p3, *psign; in ACELP_4t64_fx() local 264 p0 = cn; in ACELP_4t64_fx() 270 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 272 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 274 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 276 s = (k_cn* (*p0++))+(k_dn * (*p1++)); in ACELP_4t64_fx() 355 p0 = H; in ACELP_4t64_fx() 361 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() 363 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() 365 *p1 = *p0++ >> h_shift; in ACELP_4t64_fx() [all …]
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 90 const vec3 p0 = cross(lms_w, lms_b); // protanopia/deuteranopia in update() local 98 -p0.y / p0.x, 1.0000, 0.0000, 0, in update() 99 -p0.z / p0.x, 0.0000, 1.0000, 0, in update() 103 const mat4 lms2lmsd( 1.0000, -p0.x / p0.y, 0.0000, 0, in update() 105 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/java/tests/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/java/tests/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/java/tests/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/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/rs/cpu_ref/ |
D | rsCpuIntrinsicResize.cpp | 78 static float4 cubicInterpolate(float4 p0,float4 p1,float4 p2,float4 p3, float x) { in cubicInterpolate() argument 79 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 80 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 83 static float2 cubicInterpolate(float2 p0,float2 p1,float2 p2,float2 p3, float x) { in cubicInterpolate() argument 84 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 85 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 88 static float cubicInterpolate(float p0,float p1,float p2,float p3 , float x) { in cubicInterpolate() argument 89 return p1 + 0.5f * x * (p2 - p0 + x * (2.f * p0 - 5.f * p1 + 4.f * p2 - p3 in cubicInterpolate() 90 + x * (3.f * (p1 - p2) + p3 - p0))); in cubicInterpolate() 103 float4 p0 = cubicInterpolate(convert_float4(yp0[xs0]), in OneBiCubic() local [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()
|
D | c2_11pf.cpp | 634 Word16 *p0; in build_code() local 811 p0 = h - codvec[0]; in build_code() 821 *p0++, in build_code()
|
D | c2_9pf.cpp | 1005 Word16 *p0; in build_code() local 1067 p0 = h - *codvec; in build_code() 1075 *p0++, 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()
|
D | geometry.cpp | 39 float Point::Distance(const Point& p0, const Point& p1) { in Distance() argument 40 Point diff = p1 - p0; in Distance()
|
/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/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/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/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()
|