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

/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);
71 virtual status_t writeLines(const struct iovec& vec, size_t N) argument
73 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/libs/rs/
H A DrsScriptC_Lib.cpp605 static void SC_vec2Rand(float *vec, float maxLen) argument
609 vec[0] = len * sinf(angle);
610 vec[1] = len * cosf(angle);
1250 "void", "(float *vec, float maxLen)" },

Completed in 200 milliseconds