/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_dct_9.cpp | 38 int32 vec[] vector of 9 32-bit integers 40 int32 vec[] dct computation in-place 120 void pvmp3_dct_9(int32 vec[]) argument 125 int32 tmp0 = vec[8] + vec[0]; 126 int32 tmp8 = vec[8] - vec[0]; 127 int32 tmp1 = vec[7] + vec[1]; 128 int32 tmp7 = vec[ [all...] |
H A D | pvmp3_dct_16.cpp | 45 int32 vec[], input vector length 16 49 int32 vec[], dct length 16 57 int32 vec[], input vector length 16 61 int32 vec[], merged output of two dct 16 to create a dct 32 69 int32 vec[], input vector length 16 73 int32 vec[], splitted even/odd and pre processing rotation 152 void pvmp3_dct_16(int32 vec[], int32 flag) argument 176 tmp_o0 = fxp_mul32_Q32((vec[ 0] - vec[15]), Qfmt_31(0.50241928618816F)); 177 tmp0 = vec[ 311 pvmp3_merge_in_place_N32(int32 vec[]) argument [all...] |
H A D | pvmp3_mdct_6.cpp | 37 int32 vec[], input vector of length 6 122 void pvmp3_mdct_6(int32 vec[], int32 *history) argument 129 int32 *pt_vec = vec; 130 int32 *pt_vec_o = vec; 144 pvmp3_dct_6(vec); // Even terms 147 tmp = -(vec[0] + vec[1]); 150 tmp = -(vec[1] + vec[2]); 151 vec[ [all...] |
H A D | pvmp3_dct_6.cpp | 38 Int32 vec[] vector of 6 32-bit integers 40 Int32 vec[] dct computation in-place 114 void pvmp3_dct_6(int32 vec[]) argument 127 tmp0 = vec[5] + vec[0]; 128 tmp5 = vec[5] - vec[0]; 129 tmp1 = vec[4] + vec[1]; 130 tmp4 = vec[ [all...] |
H A D | pvmp3_mdct_18.cpp | 38 int32 vec[], input vector of length 18 132 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window) argument 146 int32 *pt_vec = vec; 147 int32 *pt_vec_o = &vec[17]; 161 pvmp3_dct_9(vec); // Even terms 162 pvmp3_dct_9(&vec[9]); // Odd terms 165 tmp3 = vec[16]; // 166 vec[16] = vec[ 8]; 167 tmp4 = vec[1 [all...] |
H A D | pvmp3_dct_16.h | 81 void pvmp3_dct_16(int32 vec[], int32 flag); 83 void pvmp3_merge_in_place_N32(int32 vec[]);
|
H A 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[]);
|
H A 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/ |
H A 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[ [all...] |
/frameworks/native/libs/binder/ |
H A D | Static.cpp | 39 virtual status_t writeLines(const struct iovec& vec, size_t N) argument 41 //android_writevLog(&vec, N); <-- this is now a no-op 43 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); 55 virtual status_t writeLines(const struct iovec& vec, size_t N) argument 57 writev(mFD, &vec, N);
|
H A D | BufferedTextOutput.cpp | 195 struct iovec vec; local 196 vec.iov_base = (void*)first; 197 vec.iov_len = lastLine-first; 198 //printf("Writing %d bytes of data!\n", vec.iov_len); 199 writeLines(vec, 1); 214 struct iovec vec; local 215 vec.iov_base = b->buffer; 216 vec.iov_len = b->bufferPos; 217 //printf("Writing %d bytes of data!\n", vec.iov_len); 218 writeLines(vec, 255 struct iovec vec; local [all...] |
/frameworks/native/services/sensorservice/ |
H A D | vec.h | 37 class vec; 49 vec<TYPE, SIZE>& doAssign( argument 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { 127 // on vec<>. Without this, an extra conversion to vec<> would be needed. 134 // "a.xyz + b" is a mixed-operation between a vbase<> and a vec<>, requiring 135 // a conversion of vbase<> to vec<>. The template gunk below avoids this, 245 vec<TYPE, SIZE> PURE operator - (const vec<TYPE, SIZE>& lhs) { argument 246 vec<TYP 300 class vec : public vbase<TYPE, SIZE> class in namespace:android 323 vec() { } function in class:android::vec 324 vec(const vec& rhs) : base(rhs) { } function in class:android::vec 325 vec(const base& rhs) : base(rhs) { } function in class:android::vec 330 vec(pTYPE rhs) { function in class:android::vec 336 explicit vec(const VEC<TYPE, S>& rhs) { function in class:android::vec 340 explicit vec(TYPE const* array) { function in class:android::vec 405 operator +=(const vec<TYPE, SIZE>& rhs) argument 413 operator -=(const vec<TYPE, SIZE>& rhs) argument [all...] |
H A D | quat.h | 22 #include "vec.h" 30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) { argument 58 vec<TYPE, 4> matrixToQuat(const mat<TYPE, 3, 3>& R) { 67 vec<TYPE, 4> q; 83 vec<TYPE, 4> normalize_quat(const vec<TYPE, 4>& q) { argument 84 vec<TYPE, 4> r(q);
|
H A D | mat.h | 20 #include "vec.h" 61 vec<TYPE, R> PURE doMul( argument 63 const vec<TYPE, D>& rhs) 65 vec<TYPE, R> res; 78 const vec<TYPE, R>& lhs, 124 class mat : public vec< vec<TYPE, R>, C > { 126 typedef vec< vec<TYPE, R>, C > base; 192 friend vec<TYP argument 77 doMul( const vec<TYPE, R>& lhs, const mat<TYPE, C, 1>& rhs) argument 198 operator *( const vec<TYPE, R>& lhs, const mat<TYPE, C, 1>& rhs) argument 231 operator <<( const column_builder<PREV_COLUMN>& lhs, const vec<TYPE, R>& rhs) argument 240 operator <<( const column_builder<C-2>& lhs, const vec<TYPE, R>& rhs) argument 248 operator <<(const vec<TYPE, R>& rhs) argument 277 operator <<(const vec<TYPE, R>& rhs) argument [all...] |
H A D | Fusion.h | 24 #include "vec.h" 72 vec<vec3_t, 3> mData;
|
H A D | Fusion.cpp | 115 static mat<TYPE, 3, 3> crossMatrix(const vec<TYPE, 3>& p, OTHER_TYPE diag) { argument 133 vec<TYPE, SIZE> mSumX; 137 void update(const vec<TYPE, SIZE>& x) { argument 445 vec<mat33_t, 2> K;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | sparse_weight_vector.h | 116 void LoadWeightVector(const SparseWeightVector<Key, Hash> &vec) { argument 118 w_.insert(vec.w_.begin(), vec.w_.end()); 119 wmax_.insert(vec.wmax_.begin(), vec.wmax_.end()); 120 wmin_.insert(vec.wmin_.begin(), vec.wmin_.end()); 121 normalizer_ = vec.normalizer_;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A 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]; local 288 vec[i] = -32768; 292 vec[i] = 32767; 530 psign = vec; 561 vec[i] = 0; 589 vec[i] = (*p0++) + (*p1++); 631 vec[ 826 cor_h_vec_30( Word16 h[], Word16 vec[], Word16 track, Word16 sign[], Word16 rrixix[][NB_POS], Word16 cor_1[], Word16 cor_2[] ) argument 898 cor_h_vec_012( Word16 h[], Word16 vec[], Word16 track, Word16 sign[], Word16 rrixix[][NB_POS], Word16 cor_1[], Word16 cor_2[] ) argument [all...] |
H A D | c2t64fx.c | 62 Word16 sign[L_SUBFR], vec[L_SUBFR], dn2[L_SUBFR]; local 121 vec[i] = -32768; 125 vec[i] = 32767; 210 psign = vec;
|
/frameworks/native/include/binder/ |
H A D | BufferedTextOutput.h | 45 virtual status_t writeLines(const struct iovec& vec, size_t N) = 0;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
H A 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/ |
H A 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/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | bugdroid.rs | 42 float3 vec = (p1 + p2) / 2 - img;
43 float angle = fabs(2 * fract(atan2pi(vec.z, vec.y) * 5) - 1);
62 float3 vec = (p1 + p2) / 2 - img;
63 float angle = fabs(2 * fract(atan2pi(vec.y, vec.x) * 6) - 1);
105 float3 vec = center - img;
106 float angle = fabs(2 * fract(atan2pi(vec.y, vec.x) * 20) - 1);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcStress.cpp | 203 template <class T> vector<T> vectorRandSelect(const vector<T>& vec, size_t num); 204 template <class T> T vectorOr(const vector<T>& vec); 616 * Prandomly selects and returns num elements from vec. 619 vector<T> vectorRandSelect(const vector<T>& vec, size_t num) argument 621 vector<T> rv = vec; 633 * Or's togethen the values of each element of vec and returns the result. 636 T vectorOr(const vector<T>& vec) argument 640 for (size_t n1 = 0; n1 < vec.size(); n1++) { 641 rv |= vec[n1];
|
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.cpp | 82 SkVector vec = pts[1] - pts[0]; local 83 const float mag = vec.length(); 86 vec.scale(inv); 87 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
|