/frameworks/compile/libbcc/lib/Renderscript/runtime/arch/ |
D | generic.c | 37 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); in clamp() 44 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); in clamp() 52 r.y = amount.y < low.y ? low.y : (amount.y > high.y ? high.y : amount.y); in clamp() 61 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp() 68 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp() 76 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); in clamp() 94 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 101 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 109 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 118 r.y = v1.y > v2 ? v1.y : v2; in fmax() [all …]
|
D | x86_generic.c | 36 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 43 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 51 r.y = v1.y > v2.y ? v1.y : v2.y; in fmax() 60 r.y = v1.y > v2 ? v1.y : v2; in fmax() 67 r.y = v1.y > v2 ? v1.y : v2; in fmax() 75 r.y = v1.y > v2 ? v1.y : v2; in fmax() 92 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin() 99 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin() 107 r.y = v1.y < v2.y ? v1.y : v2.y; in fmin() 116 r.y = v1.y < v2 ? v1.y : v2; in fmin() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_huffman_decoding.cpp | 128 int32 y; in pvmp3_huffman_quad_decoding() local 132 y = (*h->pdec_huff_tab)(pMainData); in pvmp3_huffman_quad_decoding() 135 if (y) in pvmp3_huffman_quad_decoding() 137 v = (y >> 3); in pvmp3_huffman_quad_decoding() 146 w = (y >> 2) & 1; in pvmp3_huffman_quad_decoding() 154 x = (y >> 1) & 1; in pvmp3_huffman_quad_decoding() 162 y = y & 1; in pvmp3_huffman_quad_decoding() 163 if (y) in pvmp3_huffman_quad_decoding() 167 y = -y; in pvmp3_huffman_quad_decoding() 183 *(is + 3) = y; in pvmp3_huffman_quad_decoding() [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
D | Point.java | 28 public float y; field in Point 33 public Point(float x, float y) { in Point() argument 35 this.y = y; in Point() 38 public void set(float x, float y) { in set() argument 40 this.y = y; in set() 45 y >= 0.0f && y <= 1.0f; in IsInUnitRange() 48 public Point plus(float x, float y) { in plus() argument 49 return new Point(this.x + x, this.y + y); in plus() 53 return this.plus(point.x, point.y); in plus() 56 public Point minus(float x, float y) { in minus() argument [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | PointF.java | 29 public float y; field in PointF 33 public PointF(float x, float y) { in PointF() argument 35 this.y = y; in PointF() 40 this.y = p.y; in PointF() 46 public final void set(float x, float y) { in set() argument 48 this.y = y; in set() 56 this.y = p.y; in set() 61 y = -y; in negate() 66 y += dy; in offset() 72 public final boolean equals(float x, float y) { in equals() argument [all …]
|
D | Point.java | 28 public int y; field in Point 32 public Point(int x, int y) { in Point() argument 34 this.y = y; in Point() 39 this.y = src.y; in Point() 45 public void set(int x, int y) { in set() argument 47 this.y = y; in set() 55 y = -y; in negate() 63 y += dy; in offset() 69 public final boolean equals(int x, int y) { in equals() argument 70 return this.x == x && this.y == y; in equals() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | decim54.c | 97 Word16 *x, *y; in Down_samp() local 106 y = (Word16 *)(fir_down1 + frac); in Down_samp() 108 L_sum = vo_mult32((*x++),(*y++)); in Down_samp() 109 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 110 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 111 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 112 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 113 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 114 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() 115 L_sum += vo_mult32((*x++),(*y++)); in Down_samp() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_PredictIntraChroma_8x8.c | 51 int x, y, Sum=0, Count = 0; in armVCM4P10_PredictIntraDCUp4x4() local 63 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCUp4x4() 65 Sum += pSrcLeft[y*leftStep]; in armVCM4P10_PredictIntraDCUp4x4() 77 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCUp4x4() 81 pDst[y*dstStep+x] = (OMX_U8)Sum; in armVCM4P10_PredictIntraDCUp4x4() 113 int x, y, Sum=0, Count = 0; in armVCM4P10_PredictIntraDCLeft4x4() local 117 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCLeft4x4() 119 Sum += pSrcLeft[y*leftStep]; in armVCM4P10_PredictIntraDCLeft4x4() 139 for (y=0; y<4; y++) in armVCM4P10_PredictIntraDCLeft4x4() 143 pDst[y*dstStep+x] = (OMX_U8)Sum; in armVCM4P10_PredictIntraDCLeft4x4() [all …]
|
D | omxVCM4P10_PredictIntra_16x16.c | 89 int x,y,Sum,Count; in omxVCM4P10_PredictIntra_16x16() local 111 for (y=0; y<16; y++) in omxVCM4P10_PredictIntra_16x16() 115 pDst[y*dstStep+x] = pSrcAbove[x]; in omxVCM4P10_PredictIntra_16x16() 121 for (y=0; y<16; y++) in omxVCM4P10_PredictIntra_16x16() 125 pDst[y*dstStep+x] = pSrcLeft[y*leftStep]; in omxVCM4P10_PredictIntra_16x16() 136 for (y=0; y<16; y++) in omxVCM4P10_PredictIntra_16x16() 138 Sum += pSrcLeft[y*leftStep]; in omxVCM4P10_PredictIntra_16x16() 162 for (y=0; y<16; y++) in omxVCM4P10_PredictIntra_16x16() 166 pDst[y*dstStep+x] = (OMX_U8)Sum; in omxVCM4P10_PredictIntra_16x16() 178 for (y=6; y>=0; y--) in omxVCM4P10_PredictIntra_16x16() [all …]
|
D | omxVCM4P10_PredictIntra_4x4.c | 104 int x, y; in omxVCM4P10_PredictIntra_4x4() local 163 for (y=0; y<4; y++) in omxVCM4P10_PredictIntra_4x4() 165 pDst[y*dstStep+0] = U0; in omxVCM4P10_PredictIntra_4x4() 166 pDst[y*dstStep+1] = U1; in omxVCM4P10_PredictIntra_4x4() 167 pDst[y*dstStep+2] = U2; in omxVCM4P10_PredictIntra_4x4() 168 pDst[y*dstStep+3] = U3; in omxVCM4P10_PredictIntra_4x4() 206 for (y=0; y<4; y++) in omxVCM4P10_PredictIntra_4x4() 210 pDst[y*dstStep+x] = pTmp[x+y]; in omxVCM4P10_PredictIntra_4x4() 224 for (y=0; y<4; y++) in omxVCM4P10_PredictIntra_4x4() 228 pDst[y*dstStep+x] = pTmp[3+x-y]; in omxVCM4P10_PredictIntra_4x4() [all …]
|
/frameworks/base/libs/hwui/ |
D | Vector.h | 29 float y; member 32 x(0.0f), y(0.0f) { in Vector2() 36 x(px), y(py) { in Vector2() 40 return sqrt(x * x + y * y); in length() 45 y += v.y; 50 y -= v.y; 55 y += v; 60 y -= v; 65 y /= s; 70 y *= s; [all …]
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | UT_vector.java | 33 if (F2.x != 1.0f || F2.y != 2.0f) { in initializeGlobals() 37 F2.y = 3.99f; in initializeGlobals() 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 45 F3.y = 3.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 54 F4.y = 3.99f; in initializeGlobals() 60 if (D2.x != 1.0 || D2.y != 2.0) { in initializeGlobals() 64 D2.y = 3.99; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 72 D3.y = 3.99; in initializeGlobals() [all …]
|
D | vector.rs | 49 _RS_ASSERT(f2.y == 3.99f); 52 _RS_ASSERT(f3.y == 3.99f); 56 _RS_ASSERT(f4.y == 3.99f); 62 _RS_ASSERT(d2.y == 3.99); 65 _RS_ASSERT(d3.y == 3.99); 69 _RS_ASSERT(d4.y == 3.99); 75 _RS_ASSERT(i8_2.y == 3); 78 _RS_ASSERT(i8_3.y == 3); 82 _RS_ASSERT(i8_4.y == 3); 88 _RS_ASSERT(u8_2.y == 3); [all …]
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_vector.java | 33 if (F2.x != 1.0f || F2.y != 2.0f) { in initializeGlobals() 37 F2.y = 3.99f; in initializeGlobals() 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 45 F3.y = 3.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 54 F4.y = 3.99f; in initializeGlobals() 60 if (D2.x != 1.0 || D2.y != 2.0) { in initializeGlobals() 64 D2.y = 3.99; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 72 D3.y = 3.99; in initializeGlobals() [all …]
|
D | vector.rs | 49 _RS_ASSERT(f2.y == 3.99f); 52 _RS_ASSERT(f3.y == 3.99f); 56 _RS_ASSERT(f4.y == 3.99f); 62 _RS_ASSERT(d2.y == 3.99); 65 _RS_ASSERT(d3.y == 3.99); 69 _RS_ASSERT(d4.y == 3.99); 75 _RS_ASSERT(i8_2.y == 3); 78 _RS_ASSERT(i8_3.y == 3); 82 _RS_ASSERT(i8_4.y == 3); 88 _RS_ASSERT(u8_2.y == 3); [all …]
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | UT_vector.java | 33 if (F2.x != 1.0f || F2.y != 2.0f) { in initializeGlobals() 37 F2.y = 3.99f; in initializeGlobals() 41 if (F3.x != 1.0f || F3.y != 2.0f || F3.z != 3.0f) { in initializeGlobals() 45 F3.y = 3.99f; in initializeGlobals() 50 if (F4.x != 1.0f || F4.y != 2.0f || F4.z != 3.0f || F4.w != 4.0f) { in initializeGlobals() 54 F4.y = 3.99f; in initializeGlobals() 60 if (D2.x != 1.0 || D2.y != 2.0) { in initializeGlobals() 64 D2.y = 3.99; in initializeGlobals() 68 if (D3.x != 1.0 || D3.y != 2.0 || D3.z != 3.0) { in initializeGlobals() 72 D3.y = 3.99; in initializeGlobals() [all …]
|
D | vector.rs | 49 _RS_ASSERT(f2.y == 3.99f); 52 _RS_ASSERT(f3.y == 3.99f); 56 _RS_ASSERT(f4.y == 3.99f); 62 _RS_ASSERT(d2.y == 3.99); 65 _RS_ASSERT(d3.y == 3.99); 69 _RS_ASSERT(d4.y == 3.99); 75 _RS_ASSERT(i8_2.y == 3); 78 _RS_ASSERT(i8_3.y == 3); 82 _RS_ASSERT(i8_4.y == 3); 88 _RS_ASSERT(u8_2.y == 3); [all …]
|
/frameworks/native/include/ui/ |
D | Point.h | 29 int y; variable 37 inline Point(int x, int y) : x(x), y(y) { in Point() argument 41 return (x == rhs.x) && (y == rhs.y); 48 return !(x|y); in isOrigin() 54 return y<rhs.y || (y==rhs.y && x<rhs.x); 59 y = -y; 65 y += rhs.y; 70 y -= rhs.y; 75 const Point result(x+rhs.x, y+rhs.y); 79 const Point result(x-rhs.x, y-rhs.y);
|
/frameworks/compile/libbcc/tests/data/src/ |
D | film.c | 3 int test(int x, int y) { in test() argument 4 int v = x || y; in test() 8 int test2(int x, int y) { in test2() argument 9 if(x | y) { in test2() 16 int test3(int x, int y) { in test3() argument 17 int v = x && y; in test3() 21 int test4(int x, int y) { in test4() argument 22 if(x & y) { in test4() 31 int x,y; in main() local 34 for(y = 0; y < 2; y++) { in main() [all …]
|
/frameworks/base/tests/touchlag/ |
D | touchlag.cpp | 54 void drawTwoPixels(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawTwoPixels() argument 55 if (y>0 && y<ssize_t(buf->h)) { in drawTwoPixels() 56 uint32_t* bits = buf->pixels + y * buf->s; in drawTwoPixels() 67 void drawHLine(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawHLine() argument 68 if (y>0 && y<ssize_t(buf->h)) { in drawHLine() 78 uint32_t* bits = buf->pixels + y * buf->s + x; in drawHLine() 84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) { in drawRect() argument 90 if (y<0) { in drawRect() 91 h += y; in drawRect() 92 y = 0; in drawRect() [all …]
|
/frameworks/av/tools/resampler_tools/ |
D | fir.cpp | 34 double ax,ans,y; in I0() local 37 y=x/3.75; in I0() 38 y*=y; in I0() 39 ans=1.0+y*(3.5156229+y*(3.0899424+y*(1.2067492 in I0() 40 +y*(0.2659732+y*(0.360768e-1+y*0.45813e-2))))); in I0() 42 y=3.75/ax; in I0() 43 ans=(exp(ax)/sqrt(ax))*(0.39894228+y*(0.1328592e-1 in I0() 44 +y*(0.225319e-2+y*(-0.157565e-2+y*(0.916281e-2 in I0() 45 +y*(-0.2057706e-1+y*(0.2635537e-1+y*(-0.1647633e-1 in I0() 46 +y*0.392377e-2)))))))); in I0() [all …]
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 21 void touch(float x, float y, float pressure, int id) { 27 touchPos[id].y = y; 38 gridPos[1] = (int2){gridPos[0].x - 1, gridPos[0].y - 1}; 39 gridPos[2] = (int2){gridPos[0].x + 0, gridPos[0].y - 1}; 40 gridPos[3] = (int2){gridPos[0].x + 1, gridPos[0].y - 1}; 41 gridPos[4] = (int2){gridPos[0].x - 1, gridPos[0].y}; 42 gridPos[5] = (int2){gridPos[0].x + 1, gridPos[0].y}; 43 gridPos[6] = (int2){gridPos[0].x - 1, gridPos[0].y + 1}; 44 gridPos[7] = (int2){gridPos[0].x + 0, gridPos[0].y + 1}; 45 gridPos[8] = (int2){gridPos[0].x + 1, gridPos[0].y + 1}; [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuRuntimeStubs.cpp | 83 ALOGD("float2 %s {%f, %f}", s, f->x, f->y); in SC_debugF2() 86 ALOGD("float3 %s {%f, %f, %f}", s, f->x, f->y, f->z); in SC_debugF3() 89 ALOGD("float4 %s {%f, %f, %f, %f}", s, f->x, f->y, f->z, f->w); in SC_debugF4() 113 …GD("char2 %s {%hhd, %hhd} 0x%hhx 0x%hhx", s, c->x, c->y, (unsigned char)c->x, (unsigned char)c->y… in SC_debugC2() 116 …hd, %hhd, %hhd} 0x%hhx 0x%hhx 0x%hhx", s, c->x, c->y, c->z, (unsigned char)c->x, (unsigned char)c… in SC_debugC3() 119 …%hhd} 0x%hhx 0x%hhx 0x%hhx 0x%hhx", s, c->x, c->y, c->z, c->w, (unsigned char)c->x, (unsigned cha… in SC_debugC4() 125 ALOGD("uchar2 %s {%hhu, %hhu} 0x%hhx 0x%hhx", s, c->x, c->y, c->x, c->y); in SC_debugUC2() 128 …ALOGD("uchar3 %s {%hhu, %hhu, %hhu} 0x%hhx 0x%hhx 0x%hhx", s, c->x, c->y, c->z, c->x, c->y, c->z); in SC_debugUC3() 131 …u, %hhu, %hhu, %hhu} 0x%hhx 0x%hhx 0x%hhx 0x%hhx", s, c->x, c->y, c->z, c->w, c->x, c->y, c->z, c… in SC_debugUC4() 137 ALOGD("short2 %s {%hd, %hd} 0x%hx 0x%hx", s, c->x, c->y, c->x, c->y); in SC_debugS2() [all …]
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | Matrix3f.java | 67 public float get(int x, int y) { in get() argument 68 return mMat[x*3 + y]; in get() 77 public void set(int x, int y, float v) { in set() argument 78 mMat[x*3 + y] = v; in set() 116 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 122 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z); in loadRotate() 126 y *= recipLen; in loadRotate() 130 float xy = x * y; in loadRotate() 131 float yz = y * z; in loadRotate() 134 float ys = y * s; in loadRotate() [all …]
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Matrix3f.java | 67 public float get(int x, int y) { in get() argument 68 return mMat[x*3 + y]; in get() 77 public void set(int x, int y, float v) { in set() argument 78 mMat[x*3 + y] = v; in set() 116 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 122 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z); in loadRotate() 126 y *= recipLen; in loadRotate() 130 float xy = x * y; in loadRotate() 131 float yz = y * z; in loadRotate() 134 float ys = y * s; in loadRotate() [all …]
|