/frameworks/base/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 …]
|
D | pvmp3_alias_reduction.cpp | 224 int32 y = *ptr2; in pvmp3_alias_reduction() local 226 *ptr1-- = fxp_msb32_Q32(fxp_mul32_Q32(x, csi1), y << 1, csa1); in pvmp3_alias_reduction() 227 *ptr2++ = fxp_mac32_Q32(fxp_mul32_Q32(y << 1, csi1), x, csa1); in pvmp3_alias_reduction() 228 y = *ptr2; in pvmp3_alias_reduction() 230 *ptr1 = fxp_msb32_Q32(fxp_mul32_Q32(x, csi2), y << 1, csa2); in pvmp3_alias_reduction() 231 *ptr2 = fxp_mac32_Q32(fxp_mul32_Q32(y << 1, csi2), x, csa2); in pvmp3_alias_reduction() 234 y = *ptr2; in pvmp3_alias_reduction() 236 *ptr1-- = fxp_msb32_Q32(fxp_mul32_Q32(x, csi1), y << 1, csa1); in pvmp3_alias_reduction() 237 *ptr2++ = fxp_mac32_Q32(fxp_mul32_Q32(y << 1, csi1), x, csa1); in pvmp3_alias_reduction() 238 y = *ptr2; in pvmp3_alias_reduction() [all …]
|
D | pvmp3_normalize.h | 64 int32 y; in pvmp3_normalize() local 67 clz y, x; in pvmp3_normalize() local 68 sub y, y, #1 in pvmp3_normalize() 70 return (y); in pvmp3_normalize() 78 register int32 y; in pvmp3_normalize() local 85 : "=&r*i"(y) in pvmp3_normalize() 87 return (y); in pvmp3_normalize()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PointF.java | 27 public float y; field in PointF 31 public PointF(float x, float y) { in PointF() argument 33 this.y = y; in PointF() 38 this.y = p.y; in PointF() 44 public final void set(float x, float y) { in set() argument 46 this.y = y; in set() 54 this.y = p.y; in set() 59 y = -y; in negate() 64 y += dy; in offset() 70 public final boolean equals(float x, float y) { in equals() argument [all …]
|
D | Point.java | 25 public int y; field in Point 29 public Point(int x, int y) { in Point() argument 31 this.y = y; in Point() 36 this.y = src.y; in Point() 42 public void set(int x, int y) { in set() argument 44 this.y = y; in set() 52 y = -y; in negate() 60 y += dy; in offset() 66 public final boolean equals(int x, int y) { in equals() argument 67 return this.x == x && this.y == y; in equals() [all …]
|
/frameworks/base/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 …]
|
D | autocorr.c | 39 Word16 y[L_WINDOW]; in Autocorr() local 46 p3 = y; in Autocorr() 60 L_tmp = vo_L_mult(y[i], y[i]); in Autocorr() 70 p1 = y; in Autocorr() 88 L_sum += vo_L_mult(y[i], y[i]); in Autocorr() 89 L_sum += vo_L_mult(y[i+1], y[i+1]); in Autocorr() 90 L_sum += vo_L_mult(y[i+2], y[i+2]); in Autocorr() 91 L_sum += vo_L_mult(y[i+3], y[i+3]); in Autocorr() 106 p1 = y; in Autocorr() 107 p2 = y + (2*i)-1; in Autocorr()
|
D | az_isp.c | 68 Word16 x, y, sign, exp; in Az_isp() local 144 y = yhigh - ylow; in Az_isp() 145 if (y == 0) in Az_isp() 150 sign = y; in Az_isp() 151 y = abs_s(y); in Az_isp() 152 exp = norm_s(y); in Az_isp() 153 y = y << exp; in Az_isp() 154 y = div_s((Word16) 16383, y); in Az_isp() 155 t0 = x * y; in Az_isp() 157 y = vo_extract_l(t0); /* y= (xhigh-xlow)/(yhigh-ylow) in Q11 */ in Az_isp() [all …]
|
/frameworks/base/include/ui/ |
D | Point.h | 28 int y; variable 36 inline Point(int x, int y) : x(x), y(y) { in Point() argument 40 return (x == rhs.x) && (y == rhs.y); 47 return !(x|y); in isOrigin() 53 return y<rhs.y || (y==rhs.y && x<rhs.x); 58 y = -y; 64 y += rhs.y; 69 y -= rhs.y; 74 const Point result(x+rhs.x, y+rhs.y); 78 const Point result(x-rhs.x, y-rhs.y);
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | pv_sqrt.cpp | 121 Int32 y; in pv_sqrt() local 165 y = fxp_mul32_Q28(*(pt_table++), xx); in pv_sqrt() 169 y += *(pt_table++); in pv_sqrt() 170 y = fxp_mul32_Q28(y, xx); in pv_sqrt() 171 y += *(pt_table++); in pv_sqrt() 172 y = fxp_mul32_Q28(y, xx); in pv_sqrt() 174 y += *(pt_table++); in pv_sqrt() 175 y = fxp_mul32_Q28(y, xx) + *(pt_table++); in pv_sqrt() 181 y = fxp_mul32_Q29(y, Q_fmt(1.41421356237310F)); in pv_sqrt() 193 y = fxp_mul32_Q28(y, Q_fmt(0.70710678118655F)); in pv_sqrt() [all …]
|
D | digit_reversal_tables.cpp | 245 void digit_reversal_swapping(Int32 *y, Int32 *x); 251 void digit_reversal_swapping(Int32 *y, Int32 *x) in digit_reversal_swapping() argument 263 tmp[0] = y[i]; in digit_reversal_swapping() 264 tmp[1] = y[i+1]; in digit_reversal_swapping() 265 y[i] = y[j]; in digit_reversal_swapping() 266 y[i+1] = y[j+1]; in digit_reversal_swapping() 267 y[j] = tmp[0]; in digit_reversal_swapping() 268 y[j+1] = tmp[1]; in digit_reversal_swapping()
|
D | pv_normalize.h | 61 Int32 y; in pv_normalize() local 64 clz y, x; in pv_normalize() local 65 sub y, y, #1 in pv_normalize() 67 return (y); in pv_normalize() 75 register Int32 y; in pv_normalize() local 82 : "=&r*i"(y) in pv_normalize() 84 return (y); in pv_normalize()
|
D | pv_div.cpp | 104 void pv_div(Int32 x, Int32 y, Quotient *result) in pv_div() argument 118 if (y == 0) in pv_div() 126 if (y < 0) in pv_div() 128 y = -y; in pv_div() 154 j = pv_normalize(y); in pv_div() 156 y <<= j; in pv_div() 167 quotient = (0x40000000 / (y >> 15)); in pv_div() 169 y_ov_y_hi = fxp_mul32_Q15(y, quotient); /* y*(1/y_hi) */ in pv_div()
|
D | pv_pow2.cpp | 127 Int32 y; in pv_pow2() local 149 y = fxp_mul32_Q29(*(pt_table++), v_q); in pv_pow2() 153 y += *(pt_table++); in pv_pow2() 154 y = fxp_mul32_Q29(y, v_q); in pv_pow2() 156 y += *(pt_table++); in pv_pow2() 160 y = fxp_mul32_Q29(y, multiplier); in pv_pow2() 166 return (y >> (4 - shift_factor)); in pv_pow2()
|
D | pv_log2.cpp | 117 Int32 y; in pv_log2() local 147 y = fxp_mul32_Q20(*(pt_table++), z); in pv_log2() 151 y += *(pt_table++); in pv_log2() 152 y = fxp_mul32_Q20(y, z); in pv_log2() 155 y += *(pt_table++); in pv_log2() 159 y = 0; in pv_log2() 163 return (y + (int_log2 << 20)); /* Q20 */ in pv_log2()
|
/frameworks/base/include/media/stagefright/foundation/ |
D | ADebug.h | 57 #define CHECK_OP(x,y,suffix,op) \ argument 59 AString ___res = Compare_##suffix(x, y); \ 63 " CHECK_" #suffix "( " #x "," #y ") failed: %s", \ 68 #define CHECK_EQ(x,y) CHECK_OP(x,y,EQ,==) argument 69 #define CHECK_NE(x,y) CHECK_OP(x,y,NE,!=) argument 70 #define CHECK_LE(x,y) CHECK_OP(x,y,LE,<=) argument 71 #define CHECK_LT(x,y) CHECK_OP(x,y,LT,<) argument 72 #define CHECK_GE(x,y) CHECK_OP(x,y,GE,>=) argument 73 #define CHECK_GT(x,y) CHECK_OP(x,y,GT,>) argument
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
D | az_lsp.cpp | 579 Word16 y; in Az_lsp() local 614 y = (Word16)((L_temp1 - L_temp2) >> 2); in Az_lsp() 619 y += *(p_f2++); in Az_lsp() 620 *(p_f2) = y; in Az_lsp() 652 y = xhigh >> 1; in Az_lsp() 653 xmid = x + y; in Az_lsp() 675 y = yhigh - ylow; in Az_lsp() 677 if (y == 0) in Az_lsp() 683 sign = y; in Az_lsp() 684 y = abs_s(y); in Az_lsp() [all …]
|
/frameworks/base/media/libstagefright/codecs/amrwb/src/ |
D | normalize_amr_wb.h | 75 int32 y; in normalize_amr_wb() local 78 clz y, x; in normalize_amr_wb() local 79 sub y, y, #1 in normalize_amr_wb() 81 return (y); in normalize_amr_wb() 90 register int32 y; in normalize_amr_wb() local 97 : "=&r*i"(y) in normalize_amr_wb() 99 return (y); in normalize_amr_wb()
|
/frameworks/base/opengl/libagl/ |
D | mipmap.cpp | 61 for (int y=0 ; y<h ; y++) { in buildAPyramid() local 62 size_t offset = (y*2) * bs; in buildAPyramid() 74 dst[x + y*stride] = rgb; in buildAPyramid() 83 for (int y=0 ; y<h ; y++) { in buildAPyramid() local 84 size_t offset = (y*2) * bs; in buildAPyramid() 94 dst[x + y*stride] = (r<<11)|(g<<6)|(b<<1)|a; in buildAPyramid() 103 for (int y=0 ; y<h ; y++) { in buildAPyramid() local 104 size_t offset = (y*2) * bs; in buildAPyramid() 121 dst[x + y*stride] = rgba; in buildAPyramid() 141 for (int y=0 ; y<h ; y++) { in buildAPyramid() local [all …]
|
/frameworks/base/opengl/tests/angeles/ |
D | demo.c | 101 float x, y, z; member 172 dest->y = v1->y - v2->y; in vector3Sub() 181 point->y = (float)(sin(t) * cos(p) / r1 / r2); in superShapeMap() 267 n.x = v1.y * v2.z - v1.z * v2.y; in createSuperShape() 268 n.y = v1.z * v2.x - v1.x * v2.z; in createSuperShape() 269 n.z = v1.x * v2.y - v1.y * v2.x; in createSuperShape() 291 result->normalArray[i + 1] = FIXED(n.y); in createSuperShape() 310 result->vertexArray[currentVertex * 3 + 1] = FIXED(pa.y); in createSuperShape() 314 result->vertexArray[currentVertex * 3 + 1] = FIXED(pb.y); in createSuperShape() 318 result->vertexArray[currentVertex * 3 + 1] = FIXED(pd.y); in createSuperShape() [all …]
|
/frameworks/base/graphics/java/android/renderscript/ |
D | Matrix4f.java | 68 public void loadRotate(float rot, float x, float y, float z) { in loadRotate() argument 81 float len = (float)java.lang.Math.sqrt(x*x + y*y + z*z); in loadRotate() 85 y *= recipLen; in loadRotate() 89 float xy = x * y; in loadRotate() 90 float yz = y * z; in loadRotate() 93 float ys = y * s; in loadRotate() 99 mMat[ 5] = y*y*nc + c; in loadRotate() 106 public void loadScale(float x, float y, float z) { in loadScale() argument 109 mMat[5] = y; in loadScale() 113 public void loadTranslate(float x, float y, float z) { in loadTranslate() argument [all …]
|
/frameworks/base/libs/rs/ |
D | rsScriptC_Lib.cpp | 44 float y; member 50 float y; member 57 float y; member 184 float len = sqrtf(v->x * v->x + v->y * v->y + v->z * v->z); in SC_vec3Norm() 187 v->y *= len; in SC_vec3Norm() 193 return sqrtf(v->x * v->x + v->y * v->y + v->z * v->z); in SC_vec3Length() 199 dest->y = lhs->y + rhs->y; in SC_vec3Add() 206 dest->y = lhs->y - rhs->y; in SC_vec3Sub() 212 float x = lhs->y * rhs->z - lhs->z * rhs->y; in SC_vec3Cross() 213 float y = lhs->z * rhs->x - lhs->x * rhs->z; in SC_vec3Cross() local [all …]
|
D | rsMatrix.h | 42 void loadRotate(float rot, float x, float y, float z); 43 void loadScale(float x, float y, float z); 44 void loadTranslate(float x, float y, float z); 57 void rotate(float rot, float x, float y, float z) { in rotate() 59 tmp.loadRotate(rot, x, y, z); in rotate() 62 void scale(float x, float y, float z) { in scale() 64 tmp.loadScale(x, y, z); in scale() 67 void translate(float x, float y, float z) { in translate() 69 tmp.loadTranslate(x, y, z); in translate()
|
/frameworks/base/core/java/android/gesture/ |
D | GesturePoint.java | 28 public final float y; field in GesturePoint 32 public GesturePoint(float x, float y, long t) { in GesturePoint() argument 34 this.y = y; in GesturePoint() 41 final float y = in.readFloat(); in deserialize() local 44 return new GesturePoint(x, y, timeStamp); in deserialize() 49 return new GesturePoint(x, y, timestamp); in clone()
|
/frameworks/base/libs/ui/ |
D | Rect.cpp | 56 Rect& Rect::offsetTo(int32_t x, int32_t y) in offsetTo() argument 59 bottom -= top - y; in offsetTo() 61 top = y; in offsetTo() 65 Rect& Rect::offsetBy(int32_t x, int32_t y) in offsetBy() argument 68 top += y; in offsetBy() 70 bottom+=y; in offsetBy() 76 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y); in operator +() 82 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y); in operator -()
|