Searched refs:vec (Results 1 - 25 of 45) 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
121 void pvmp3_dct_9(int32 vec[]) argument
126 int32 tmp0 = vec[8] + vec[0];
127 int32 tmp8 = vec[8] - vec[0];
128 int32 tmp1 = vec[7] + vec[1];
129 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
153 void pvmp3_dct_16(int32 vec[], int32 flag) argument
177 tmp_o0 = fxp_mul32_Q32((vec[ 0] - vec[15]), Qfmt_31(0.50241928618816F));
178 tmp0 = vec[
313 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
133 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window) argument
147 int32 *pt_vec = vec;
148 int32 *pt_vec_o = &vec[17];
162 pvmp3_dct_9(vec); // Even terms
163 pvmp3_dct_9(&vec[9]); // Odd terms
166 tmp3 = vec[16]; //
167 vec[16] = vec[ 8];
168 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/drm/mediadrm/plugins/clearkey/hidl/include/
H A DTypeConvert.h33 template<typename T> const hidl_vec<T> toHidlVec(const std::vector<T> &vec) { argument
35 hVec.setToExternal(const_cast<T *>(vec.data()), vec.size());
39 template<typename T> hidl_vec<T> toHidlVec(std::vector<T> &vec) { argument
41 hVec.setToExternal(vec.data(), vec.size());
46 std::vector<T> vec; local
47 vec.assign(hVec.data(), hVec.data() + hVec.size());
48 return *const_cast<const std::vector<T> *>(&vec);
52 std::vector<T> vec; local
59 std::vector<T> vec; local
66 std::vector<T> vec; local
[all...]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dlog_helpers.h15 const Eigen::Vector<T, 2>& vec) {
16 return out << "vec2(" << vec.x() << ',' << vec.y() << ')';
21 const Eigen::Vector<T, 3>& vec) {
22 return out << "vec3(" << vec.x() << ',' << vec.y() << ',' << vec.z() << ')';
27 const Eigen::Vector<T, 4>& vec) {
28 return out << "vec4(" << vec.x() << ',' << vec
14 operator <<(std::ostream& out, const Eigen::Vector<T, 2>& vec) argument
20 operator <<(std::ostream& out, const Eigen::Vector<T, 3>& vec) argument
26 operator <<(std::ostream& out, const Eigen::Vector<T, 4>& vec) argument
[all...]
/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.cpp195 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 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) { } // NOLINT(implicit) function in class:android::vec
330 vec(pTYPE rhs) { // NOLINT(implicit) 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...]
/frameworks/base/core/jni/
H A Dandroid_os_HwParcel.cpp449 const hidl_vec<Type> *vec = \
455 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle); \
461 *vec, \
490 hidl_vec<bool> *vec = new (vecPtr) hidl_vec<bool>; local
506 vec->setToExternal(dst, len);
511 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle);
517 *vec,
597 const hidl_vec<Type> *vec; \
640 const hidl_vec<bool> *vec; local
704 const string_vec *vec; local
750 string_vec *vec = new (vecPtr) string_vec; local
[all...]
/frameworks/hardware/interfaces/sensorservice/1.0/
H A DISensorManager.hal40 getSensorList() generates (vec<SensorInfo> list, Result result);
/frameworks/minikin/include/minikin/
H A DAndroidLineBreakerHelper.h62 float get(const std::vector<float>& vec, size_t lineNo) const { argument
63 if (vec.empty()) {
67 if (index < vec.size()) {
68 return vec[index];
70 return vec.back();
/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++);
632 vec[
834 cor_h_vec_30( Word16 h[], Word16 vec[], Word16 track, Word16 sign[], Word16 rrixix[][NB_POS], Word16 cor_1[], Word16 cor_2[] ) argument
906 cor_h_vec_012( Word16 h[], Word16 vec[], Word16 track, Word16 sign[], Word16 rrixix[][NB_POS], Word16 cor_1[], Word16 cor_2[] ) argument
[all...]
/frameworks/native/include/binder/
H A DBufferedTextOutput.h45 virtual status_t writeLines(const struct iovec& vec, size_t N) = 0;
/frameworks/native/libs/binder/include/binder/
H A DBufferedTextOutput.h45 virtual status_t writeLines(const struct iovec& vec, size_t N) = 0;
/frameworks/base/services/core/jni/
H A Dcom_android_server_ConsumerIrService.cpp61 auto cb = [&](bool s, hidl_vec<ConsumerIrFreqRange> vec) {
62 ranges = 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]

Completed in 511 milliseconds

12