Searched refs:vec (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dct_9.cpp38 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 Dpvmp3_dct_16.cpp45 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 Dpvmp3_mdct_6.cpp37 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 Dpvmp3_dct_6.cpp38 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 Dpvmp3_mdct_18.cpp38 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 Dpvmp3_dct_16.h81 void pvmp3_dct_16(int32 vec[], int32 flag);
83 void pvmp3_merge_in_place_N32(int32 vec[]);
H A Dpvmp3_mdct_18.h92 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 Dpvmp3_mdct_6.h93 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 Dpvmp3_dct_9_gcc.s76 @ 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 DStatic.cpp39 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 DBufferedTextOutput.cpp192 struct iovec vec; local
193 vec.iov_base = (void*)first;
194 vec.iov_len = lastLine-first;
195 //printf("Writing %d bytes of data!\n", vec.iov_len);
196 writeLines(vec, 1);
211 struct iovec vec; local
212 vec.iov_base = b->buffer;
213 vec.iov_len = b->bufferPos;
214 //printf("Writing %d bytes of data!\n", vec.iov_len);
215 writeLines(vec,
252 struct iovec vec; local
[all...]
/frameworks/native/services/sensorservice/
H A Dvec.h37 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 Dquat.h22 #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 Dmat.h20 #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 DFusion.h24 #include "vec.h"
72 vec<vec3_t, 3> mData;
H A DFusion.cpp115 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 Dsparse_weight_vector.h115 void LoadWeightVector(const SparseWeightVector<Key, Hash> &vec) { argument
117 w_.insert(vec.w_.begin(), vec.w_.end());
118 wmax_.insert(vec.wmax_.begin(), vec.wmax_.end());
119 wmin_.insert(vec.wmin_.begin(), vec.wmin_.end());
120 normalizer_ = vec.normalizer_;
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dc4t64fx.c74 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 Dc2t64fx.c62 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 DBufferedTextOutput.h45 virtual status_t writeLines(const struct iovec& vec, size_t N) = 0;
/frameworks/rs/cpu_ref/linkloader/include/
H A DmmanWindows.h50 extern int mincore(void* start, size_t length, unsigned char* vec);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A Dcor_h_vec_opt.s18 @ 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 Dcor_h_vec_neon.s19 @ 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/
H A DhwcStress.cpp203 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 DSkiaShader.cpp304 SkVector vec = pts[1] - pts[0]; local
305 const float mag = vec.length();
308 vec.scale(inv);
309 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);

Completed in 2270 milliseconds

12