/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_dct_16.cpp | 152 void pvmp3_dct_16(int32 vec[], int32 flag) in pvmp3_dct_16() argument 176 tmp_o0 = fxp_mul32_Q32((vec[ 0] - vec[15]), Qfmt_31(0.50241928618816F)); in pvmp3_dct_16() 177 tmp0 = vec[ 0] + vec[15]; in pvmp3_dct_16() 179 tmp_o7 = fxp_mul32_Q32((vec[ 7] - vec[ 8]) << 3, Qfmt_31(0.63764357733614F)); in pvmp3_dct_16() 180 tmp7 = vec[ 7] + vec[ 8]; in pvmp3_dct_16() 185 tmp_o1 = fxp_mul32_Q32((vec[ 1] - vec[14]), Qfmt_31(0.52249861493969F)); in pvmp3_dct_16() 186 tmp1 = vec[ 1] + vec[14]; in pvmp3_dct_16() 188 tmp_o6 = fxp_mul32_Q32((vec[ 6] - vec[ 9]) << 1, Qfmt_31(0.86122354911916F)); in pvmp3_dct_16() 189 tmp6 = vec[ 6] + vec[ 9]; in pvmp3_dct_16() 198 tmp_o2 = fxp_mul32_Q32((vec[ 2] - vec[13]), Qfmt_31(0.56694403481636F)); in pvmp3_dct_16() [all …]
|
D | pvmp3_dct_9.cpp | 120 void pvmp3_dct_9(int32 vec[]) in pvmp3_dct_9() argument 125 int32 tmp0 = vec[8] + vec[0]; in pvmp3_dct_9() 126 int32 tmp8 = vec[8] - vec[0]; in pvmp3_dct_9() 127 int32 tmp1 = vec[7] + vec[1]; in pvmp3_dct_9() 128 int32 tmp7 = vec[7] - vec[1]; in pvmp3_dct_9() 129 int32 tmp2 = vec[6] + vec[2]; in pvmp3_dct_9() 130 int32 tmp6 = vec[6] - vec[2]; in pvmp3_dct_9() 131 int32 tmp3 = vec[5] + vec[3]; in pvmp3_dct_9() 132 int32 tmp5 = vec[5] - vec[3]; in pvmp3_dct_9() 134 vec[0] = (tmp0 + tmp2 + tmp3) + (tmp1 + vec[4]); in pvmp3_dct_9() [all …]
|
D | pvmp3_mdct_18.cpp | 132 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window) in pvmp3_mdct_18() argument 146 int32 *pt_vec = vec; in pvmp3_mdct_18() 147 int32 *pt_vec_o = &vec[17]; in pvmp3_mdct_18() 161 pvmp3_dct_9(vec); // Even terms in pvmp3_mdct_18() 162 pvmp3_dct_9(&vec[9]); // Odd terms in pvmp3_mdct_18() 165 tmp3 = vec[16]; // in pvmp3_mdct_18() 166 vec[16] = vec[ 8]; in pvmp3_mdct_18() 167 tmp4 = vec[14]; // in pvmp3_mdct_18() 168 vec[14] = vec[ 7]; in pvmp3_mdct_18() 169 tmp = vec[12]; in pvmp3_mdct_18() [all …]
|
D | pvmp3_mdct_6.cpp | 122 void pvmp3_mdct_6(int32 vec[], int32 *history) in pvmp3_mdct_6() argument 129 int32 *pt_vec = vec; in pvmp3_mdct_6() 130 int32 *pt_vec_o = vec; in pvmp3_mdct_6() 144 pvmp3_dct_6(vec); // Even terms in pvmp3_mdct_6() 147 tmp = -(vec[0] + vec[1]); in pvmp3_mdct_6() 150 tmp = -(vec[1] + vec[2]); in pvmp3_mdct_6() 151 vec[0] = vec[3] + vec[4]; in pvmp3_mdct_6() 152 vec[1] = vec[4] + vec[5]; in pvmp3_mdct_6() 155 tmp = -(vec[2] + vec[3]); in pvmp3_mdct_6() 156 vec[4] = -vec[1]; in pvmp3_mdct_6() [all …]
|
D | pvmp3_dct_6.cpp | 114 void pvmp3_dct_6(int32 vec[]) in pvmp3_dct_6() argument 127 tmp0 = vec[5] + vec[0]; in pvmp3_dct_6() 128 tmp5 = vec[5] - vec[0]; in pvmp3_dct_6() 129 tmp1 = vec[4] + vec[1]; in pvmp3_dct_6() 130 tmp4 = vec[4] - vec[1]; in pvmp3_dct_6() 131 tmp2 = vec[3] + vec[2]; in pvmp3_dct_6() 132 tmp3 = vec[3] - vec[2]; in pvmp3_dct_6() 134 vec[0] = tmp0 + tmp2 ; in pvmp3_dct_6() 135 vec[2] = fxp_mul32_Q30(tmp0 - tmp2, cos_pi_6); in pvmp3_dct_6() 136 vec[4] = (vec[0] >> 1) - tmp1; in pvmp3_dct_6() [all …]
|
D | pvmp3_mdct_18.h | 92 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window); 94 void pvmp3_dct_9(int32 vec[]); 96 void pvmp3_mdct_6(int32 vec[], int32 *overlap); 98 void pvmp3_dct_6(int32 vec[]);
|
D | pvmp3_dct_16.h | 81 void pvmp3_dct_16(int32 vec[], int32 flag); 83 void pvmp3_merge_in_place_N32(int32 vec[]);
|
D | pvmp3_mdct_6.h | 93 void pvmp3_mdct_6(int32 vec[], int32 *overlap); 95 void pvmp3_dct_6(int32 vec[]);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/ |
D | pvmp3_dct_9_gcc.s | 76 @ vec[4] = fxp_mac32_Q32( vec[4], tmp0<<1, cos_2pi_9)@ 82 @ vec[8] = fxp_mac32_Q32( vec[8], tmp0<<1, cos_4pi_9)@ 89 @ vec[2] = fxp_mac32_Q32( vec[2], tmp0<<1, cos_pi_9)@ 99 @ vec[2] = fxp_mac32_Q32( vec[2], tmp2<<1, cos_5pi_9)@ 106 @ vec[8] = fxp_mac32_Q32( vec[8], tmp2<<1, cos_2pi_9)@ 120 @ vec[8] = fxp_mac32_Q32( vec[8], tmp3<<1, cos_8pi_9)@ 130 @ vec[5] = fxp_mac32_Q32( vec[5], tmp8<<1, cos_13pi_18)@ 142 @ vec[1] = fxp_mac32_Q32( vec[1], tmp8<<1, cos_17pi_18)@ 146 @ vec[3] = fxp_mul32_Q32((tmp5 + tmp6 - tmp8)<<1, cos_pi_6)@ 153 @ vec[5] = fxp_mul32_Q32(tmp5<<1, cos_17pi_18)@ [all …]
|
D | pvmp3_dct_9_arm.s | 87 ; vec[4] = fxp_mac32_Q32( vec[4], tmp0<<1, cos_2pi_9); 93 ; vec[8] = fxp_mac32_Q32( vec[8], tmp0<<1, cos_4pi_9); 99 ; vec[2] = fxp_mac32_Q32( vec[2], tmp0<<1, cos_pi_9); 110 ; vec[2] = fxp_mac32_Q32( vec[2], tmp2<<1, cos_5pi_9); 117 ; vec[8] = fxp_mac32_Q32( vec[8], tmp2<<1, cos_2pi_9); 131 ; vec[8] = fxp_mac32_Q32( vec[8], tmp3<<1, cos_8pi_9); 141 ; vec[5] = fxp_mac32_Q32( vec[5], tmp8<<1, cos_13pi_18); 153 ; vec[1] = fxp_mac32_Q32( vec[1], tmp8<<1, cos_17pi_18); 157 ; vec[3] = fxp_mul32_Q32((tmp5 + tmp6 - tmp8)<<1, cos_pi_6); 164 ; vec[5] = fxp_mul32_Q32(tmp5<<1, cos_17pi_18); [all …]
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 37 class vec; variable 49 vec<TYPE, SIZE>& doAssign( in doAssign() 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() 245 vec<TYPE, SIZE> PURE operator - (const vec<TYPE, SIZE>& lhs) { 246 vec<TYPE, SIZE> r; 300 class vec : public vbase<TYPE, SIZE> 323 vec() { } 324 vec(const vec& rhs) : base(rhs) { } 325 vec(const base& rhs) : base(rhs) { } 330 vec(pTYPE rhs) { [all …]
|
D | quat.h | 30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) { in quatToMatrix() 58 vec<TYPE, 4> matrixToQuat(const mat<TYPE, 3, 3>& R) { in matrixToQuat() 67 vec<TYPE, 4> q; in matrixToQuat() 83 vec<TYPE, 4> normalize_quat(const vec<TYPE, 4>& q) { in normalize_quat() 84 vec<TYPE, 4> r(q); in normalize_quat()
|
D | mat.h | 61 vec<TYPE, R> PURE doMul( in doMul() 63 const vec<TYPE, D>& rhs) in doMul() 65 vec<TYPE, R> res; in doMul() 78 const vec<TYPE, R>& lhs, in doMul() 124 class mat : public vec< vec<TYPE, R>, C > { 126 typedef vec< vec<TYPE, R>, C > base; 192 friend vec<TYPE, R> PURE operator * ( 193 const mat& lhs, const vec<TYPE, C>& rhs) { 199 const vec<TYPE, R>& lhs, const mat<TYPE, C, 1>& rhs) { 233 const vec<TYPE, R>& rhs) { [all …]
|
/frameworks/native/libs/binder/ |
D | BufferedTextOutput.cpp | 192 struct iovec vec; in print() local 193 vec.iov_base = (void*)first; in print() 194 vec.iov_len = lastLine-first; in print() 196 writeLines(vec, 1); in print() 211 struct iovec vec; in print() local 212 vec.iov_base = b->buffer; in print() 213 vec.iov_len = b->bufferPos; in print() 215 writeLines(vec, 1); in print() 252 struct iovec vec; in popBundle() local 253 vec.iov_base = b->buffer; in popBundle() [all …]
|
D | Static.cpp | 39 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines() argument 43 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); in writeLines() 55 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines() argument 57 writev(mFD, &vec, N); in writeLines()
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
D | sparse_weight_vector.h | 115 void LoadWeightVector(const SparseWeightVector<Key, Hash> &vec) { in LoadWeightVector() argument 117 w_.insert(vec.w_.begin(), vec.w_.end()); in LoadWeightVector() 118 wmax_.insert(vec.wmax_.begin(), vec.wmax_.end()); in LoadWeightVector() 119 wmin_.insert(vec.wmin_.begin(), vec.wmin_.end()); in LoadWeightVector() 120 normalizer_ = vec.normalizer_; in LoadWeightVector()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c4t64fx.c | 74 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 84 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 94 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 141 Word16 dn2[L_SUBFR], sign[L_SUBFR], vec[L_SUBFR]; in ACELP_4t64_fx() local 288 vec[i] = -32768; in ACELP_4t64_fx() 292 vec[i] = 32767; in ACELP_4t64_fx() 530 psign = vec; in ACELP_4t64_fx() 561 vec[i] = 0; in ACELP_4t64_fx() 589 vec[i] = (*p0++) + (*p1++); in ACELP_4t64_fx() 631 vec[i] = add1(add1(add1(*p0++, *p1++), *p2++), *p3++); in ACELP_4t64_fx() [all …]
|
D | c2t64fx.c | 62 Word16 sign[L_SUBFR], vec[L_SUBFR], dn2[L_SUBFR]; in ACELP_2t64_fx() local 121 vec[i] = -32768; in ACELP_2t64_fx() 125 vec[i] = 32767; in ACELP_2t64_fx() 210 psign = vec; in ACELP_2t64_fx()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 59 float2 vec = bcptr - pos; 60 float2 vec2 = vec * vec; 65 float2 pfv = (vec / t) * 16000.f; 78 float2 vec = touchPos[i] - ball->position; 79 float2 vec2 = vec * vec; 81 float2 pfv = (vec / len2) * touchPressure[i] * 500.f * gScale;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
D | cor_h_vec_opt.s | 18 @ Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 26 @r1 ---- vec[] 44 @r0 --- h[], r1 --- vec[], r2 --- pos 49 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos] 94 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
D | cor_h_vec_neon.s | 19 @ Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 27 @r1 ---- vec[] 44 @r0 --- h[], r1 --- vec[], r2 --- pos 50 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos] 95 ADD r9, r1, r2, LSL #1 @p2 = &vec[pos]
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcStress.cpp | 204 template <class T> vector<T> vectorRandSelect(const vector<T>& vec, size_t num); 205 template <class T> T vectorOr(const vector<T>& vec); 620 vector<T> vectorRandSelect(const vector<T>& vec, size_t num) in vectorRandSelect() argument 622 vector<T> rv = vec; in vectorRandSelect() 637 T vectorOr(const vector<T>& vec) in vectorOr() argument 641 for (size_t n1 = 0; n1 < vec.size(); n1++) { in vectorOr() 642 rv |= vec[n1]; in vectorOr()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | render.rs | 226 float3 pnt, vec; 227 getCameraRay(gActiveCamera, screenX, screenY, &pnt, &vec); 231 bool isPicked = intersect(current, pnt, vec); 239 bool isPicked = intersect(current, pnt, vec);
|
D | scenegraph_objects.rsh | 249 static void getCameraRay(const SgCamera *cam, int screenX, int screenY, float3 *pnt, float3 *vec) { 286 *vec = normalize(pos.xyz - cam->position.xyz); 287 rsDebug("Vec X", vec->x); 288 rsDebug("Vec Y", vec->y); 289 rsDebug("Vec Z", vec->z); 293 static bool intersect(const SgRenderable *obj, float3 pnt, float3 vec) { 296 float B = dot(originMinusCenter, vec) * 2.0f;
|
/frameworks/base/libs/hwui/ |
D | SkiaShader.cpp | 175 SkVector vec = pts[1] - pts[0]; in toUnitMatrix() local 176 const float mag = vec.length(); in toUnitMatrix() 179 vec.scale(inv); in toUnitMatrix() 180 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); in toUnitMatrix()
|