Searched defs:vec (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Didct32.cpp111 void idct_32(Int32 vec[], Int32 scratch_mem[]) /* scratch_mem size 32 */ argument
119 Int32 *pt_odd = vec;
120 Int32 *pt_vec = vec;
146 idct_16(vec, &scratch_mem[24]);
151 pt_vec = &vec[15];
154 pt_vecN_1 = &vec[16];
H A Didct8.cpp105 void idct_8(Int32 vec[]) argument
119 tmp5 = fxp_mul32_by_16(vec[4] << 1, Qfmt15(0.70710678118655F));
121 tmp1 = vec[0] + tmp5;
122 tmp5 = vec[0] - tmp5;
124 tmp3 = fxp_mul32_by_16(vec[2] << 1, Qfmt15(0.54119610014620F)); /* (1/(2*cos(2*phi)));*/
125 tmp7 = fxp_mul32_Q29(vec[6], Qfmt(1.30656296487638F)); /* (1/(2*cos(6*phi)));*/
130 vec[0] = tmp1 + tmp7;
131 tmp2 = fxp_mul32_by_16(vec[1] << 1, Qfmt15(0.50979557910416F)); /* (1/(2*cos( phi)));*/
132 vec[1] = tmp5 + tmp0;
133 vec[
[all...]
H A Dmdst.cpp138 void mdst_32(Int32 vec[], Int32 scratch_mem[]) argument
143 Int32 *pt_vec = vec;
172 dst_32(vec, scratch_mem);
174 pt_vec = vec;
211 void mdct_32(Int32 vec[]) argument
214 Int32 *pt_vec = vec;
246 dct_32(vec);
249 pt_vec = &vec[31];
281 void dct_32(Int32 vec[]) argument
284 pv_split(&vec[1
[all...]
H A Ddst16.cpp113 void dst_16(Int32 vec[], Int32 scratch_mem[]) /* scratch_mem size 8 */ argument
119 Int32 tmp0 = vec[15] >> 1;
122 Int32 *pt_odd = vec;
123 Int32 *pt_vec = vec;
149 dst_8(vec);
151 pt_vec = &vec[7];
154 pt_vecN_1 = &vec[8];
H A Ddst32.cpp119 void dst_32(Int32 vec[], Int32 scratch_mem[]) /* scratch_mem size 32 */ argument
125 Int32 tmp0 = vec[31] >> 1;
128 Int32 *pt_odd = vec;
129 Int32 *pt_vec = vec;
130 Int32 *pt_vecN_1 = vec;
154 dst_16(vec, &scratch_mem[24]);
157 pt_vecN_1 = &vec[16];
161 tmp3 = fxp_mul32_Q31((vec[15] - tmp0) << 3, Qfmt31(0.63687550772175F)) << 2;
164 vec[15] = tmp3 + tmp1;
166 tmp3 = fxp_mul32_Q31((vec[1
[all...]
H A Didct16.cpp118 void idct_16(Int32 vec[], Int32 scratch_mem[]) /* scratch_mem size 8 */ argument
126 Int32 *pt_odd = vec;
127 Int32 *pt_vec = vec;
161 idct_8(vec);
166 pt_vec = &vec[7];
169 pt_vecN_1 = &vec[8];
H A Ddct16.cpp104 void dct_16(Int32 vec[], Int flag) argument
129 tmp_o0 = fxp_mul32_by_16((vec[ 0] - vec[15]), Qfmt15(0.50241928618816F));
130 tmp0 = vec[ 0] + vec[15];
132 tmp_o7 = fxp_mul32_Q31((vec[ 7] - vec[ 8]) << 3, Qfmt_31(0.63764357733614F));
133 tmp7 = vec[ 7] + vec[ 8];
138 tmp_o1 = fxp_mul32_by_16((vec[
[all...]
H A Ddst8.cpp111 void dst_8(Int32 vec[]) argument
130 temp1 = fxp_mul32_by_16(vec[1], Qfmt15(0.50979557910416F)); /* (1/(2*cos( phi)));*/
131 temp2 = fxp_mul32_by_16(vec[2], Qfmt15(0.54119610014620F)); /* (1/(2*cos(2*phi)));*/
132 temp3 = fxp_mul32_by_16(vec[3], Qfmt15(0.60134488693505F)); /* (1/(2*cos(3*phi)));*/
133 temp5 = fxp_mul32_by_16(vec[5], Qfmt15(0.89997622313642F)); /* (1/(2*cos(5*phi)));*/
134 temp6 = fxp_mul32_by_16(vec[6] << 1, Qfmt15(0.65328148243819F)); /* (1/(2*cos(6*phi)));*/
135 temp7 = vec[7] + fxp_mul32_Q31(vec[7], Qfmt31(0.56291544774152F)); /* (1/(2*cos(7*phi)));*/
141 temp4 = fxp_mul32_by_16(vec[4], Qfmt15(0.70710678118655F));
142 vec[
[all...]
H A Danalysis_sub_band.cpp32 Int32 vec[], Input vector, 32-bit
132 void analysis_sub_band_LC(Int32 vec[64], argument
144 Int32 *pt_vec = &vec[0];
145 Int32 *pt_vec_32 = &vec[32];
200 void analysis_sub_band(Int32 vec[64], argument
218 Int32 *pt_vec = &vec[0];
219 Int32 *pt_vec_32 = &vec[32];
227 pv_memcpy(sine_term1, vec, 64*sizeof(*vec));
232 mdct_32(&vec[
[all...]
H A Ddct64.cpp175 void dct_64(Int32 vec[], Int32 *scratch_mem) argument
191 temp_o1 = &vec[32];
225 pv_split(&vec[16]);
227 dct_16(&vec[16], 0);
228 dct_16(vec, 1); // Even terms
230 pv_merge_in_place_N32(vec);
232 pv_split_z(&vec[32]);
234 dct_16(&vec[32], 1); // Even terms
235 dct_16(&vec[48], 0);
237 pv_merge_in_place_N32(&vec[3
521 pv_merge_in_place_N32(Int32 vec[]) argument
[all...]
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
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_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_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_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...]
/frameworks/base/libs/utils/
H A DStatic.cpp57 virtual status_t writeLines(const struct iovec& vec, size_t N) argument
59 //android_writevLog(&vec, N); <-- this is now a no-op
61 LOGI("%.*s", vec.iov_len, (const char*) vec.iov_base);
73 virtual status_t writeLines(const struct iovec& vec, size_t N) argument
75 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/base/services/sensorservice/
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.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
407 vec<mat33_t, 2> K;
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...]
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
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/base/libs/hwui/
H A DSkiaShader.cpp172 SkVector vec = pts[1] - pts[0]; local
173 const float mag = vec.length();
176 vec.scale(inv);
177 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
/frameworks/base/opengl/tests/hwc/
H A DhwcStress.cpp205 template <class T> vector<T> vectorRandSelect(const vector<T>& vec, size_t num);
206 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/compile/slang/
H A Dslang_rs_type_spec.h143 struct RSPrimitiveType base; // base type of vec must be in primitive type
184 struct RSVectorType vec; member in union:RSType
192 #define RS_CAST_TO_VECTOR_TYPE(R) (&((R)->vec))

Completed in 357 milliseconds

12