/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_dct_16.cpp | 153 void pvmp3_dct_16(int32 vec[], int32 flag) in pvmp3_dct_16() argument 177 tmp_o0 = fxp_mul32_Q32((vec[ 0] - vec[15]), Qfmt_31(0.50241928618816F)); in pvmp3_dct_16() 178 tmp0 = vec[ 0] + vec[15]; in pvmp3_dct_16() 180 tmp_o7 = fxp_mul32_Q32((vec[ 7] - vec[ 8]) << 3, Qfmt_31(0.63764357733614F)); in pvmp3_dct_16() 181 tmp7 = vec[ 7] + vec[ 8]; in pvmp3_dct_16() 186 tmp_o1 = fxp_mul32_Q32((vec[ 1] - vec[14]), Qfmt_31(0.52249861493969F)); in pvmp3_dct_16() 187 tmp1 = vec[ 1] + vec[14]; in pvmp3_dct_16() 189 tmp_o6 = fxp_mul32_Q32((vec[ 6] - vec[ 9]) << 1, Qfmt_31(0.86122354911916F)); in pvmp3_dct_16() 190 tmp6 = vec[ 6] + vec[ 9]; in pvmp3_dct_16() 199 tmp_o2 = fxp_mul32_Q32((vec[ 2] - vec[13]), Qfmt_31(0.56694403481636F)); in pvmp3_dct_16() [all …]
|
D | pvmp3_dct_9.cpp | 121 void pvmp3_dct_9(int32 vec[]) in pvmp3_dct_9() argument 126 int32 tmp0 = vec[8] + vec[0]; in pvmp3_dct_9() 127 int32 tmp8 = vec[8] - vec[0]; in pvmp3_dct_9() 128 int32 tmp1 = vec[7] + vec[1]; in pvmp3_dct_9() 129 int32 tmp7 = vec[7] - vec[1]; in pvmp3_dct_9() 130 int32 tmp2 = vec[6] + vec[2]; in pvmp3_dct_9() 131 int32 tmp6 = vec[6] - vec[2]; in pvmp3_dct_9() 132 int32 tmp3 = vec[5] + vec[3]; in pvmp3_dct_9() 133 int32 tmp5 = vec[5] - vec[3]; in pvmp3_dct_9() 135 vec[0] = (tmp0 + tmp2 + tmp3) + (tmp1 + vec[4]); in pvmp3_dct_9() [all …]
|
D | pvmp3_mdct_18.cpp | 133 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window) in pvmp3_mdct_18() argument 147 int32 *pt_vec = vec; in pvmp3_mdct_18() 148 int32 *pt_vec_o = &vec[17]; in pvmp3_mdct_18() 162 pvmp3_dct_9(vec); // Even terms in pvmp3_mdct_18() 163 pvmp3_dct_9(&vec[9]); // Odd terms in pvmp3_mdct_18() 166 tmp3 = vec[16]; // in pvmp3_mdct_18() 167 vec[16] = vec[ 8]; in pvmp3_mdct_18() 168 tmp4 = vec[14]; // in pvmp3_mdct_18() 169 vec[14] = vec[ 7]; in pvmp3_mdct_18() 170 tmp = vec[12]; in pvmp3_mdct_18() [all …]
|
D | pvmp3_mdct_6.cpp | 122 void pvmp3_mdct_6(int32 vec[], int32 *history) in pvmp3_mdct_6() argument 129 int32 *pt_vec = vec; in pvmp3_mdct_6() 130 int32 *pt_vec_o = vec; in pvmp3_mdct_6() 144 pvmp3_dct_6(vec); // Even terms in pvmp3_mdct_6() 147 tmp = -(vec[0] + vec[1]); in pvmp3_mdct_6() 150 tmp = -(vec[1] + vec[2]); in pvmp3_mdct_6() 151 vec[0] = vec[3] + vec[4]; in pvmp3_mdct_6() 152 vec[1] = vec[4] + vec[5]; in pvmp3_mdct_6() 155 tmp = -(vec[2] + vec[3]); in pvmp3_mdct_6() 156 vec[4] = -vec[1]; in pvmp3_mdct_6() [all …]
|
D | pvmp3_dct_6.cpp | 114 void pvmp3_dct_6(int32 vec[]) in pvmp3_dct_6() argument 127 tmp0 = vec[5] + vec[0]; in pvmp3_dct_6() 128 tmp5 = vec[5] - vec[0]; in pvmp3_dct_6() 129 tmp1 = vec[4] + vec[1]; in pvmp3_dct_6() 130 tmp4 = vec[4] - vec[1]; in pvmp3_dct_6() 131 tmp2 = vec[3] + vec[2]; in pvmp3_dct_6() 132 tmp3 = vec[3] - vec[2]; in pvmp3_dct_6() 134 vec[0] = tmp0 + tmp2 ; in pvmp3_dct_6() 135 vec[2] = fxp_mul32_Q30(tmp0 - tmp2, cos_pi_6); in pvmp3_dct_6() 136 vec[4] = (vec[0] >> 1) - tmp1; in pvmp3_dct_6() [all …]
|
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[]);
|
D | pvmp3_dct_16.h | 81 void pvmp3_dct_16(int32 vec[], int32 flag); 83 void pvmp3_merge_in_place_N32(int32 vec[]);
|
/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_parcel_utils.h | 45 std::vector<T>* vec = static_cast<std::vector<T>*>(vectorData); in AParcel_stdVectorAllocator() local 46 if (static_cast<size_t>(length) > vec->max_size()) return false; in AParcel_stdVectorAllocator() 48 vec->resize(length); in AParcel_stdVectorAllocator() 49 *outBuffer = vec->data(); in AParcel_stdVectorAllocator() 59 std::optional<std::vector<T>>* vec = static_cast<std::optional<std::vector<T>>*>(vectorData); in AParcel_nullableStdVectorAllocator() local 62 *vec = std::nullopt; in AParcel_nullableStdVectorAllocator() 66 *vec = std::optional<std::vector<T>>(std::vector<T>{}); in AParcel_nullableStdVectorAllocator() 68 if (static_cast<size_t>(length) > (*vec)->max_size()) return false; in AParcel_nullableStdVectorAllocator() 69 (*vec)->resize(length); in AParcel_nullableStdVectorAllocator() 71 *outBuffer = (*vec)->data(); in AParcel_nullableStdVectorAllocator() [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | TypeConvert.h | 33 template<typename T> const hidl_vec<T> toHidlVec(const std::vector<T> &vec) { in toHidlVec() argument 35 hVec.setToExternal(const_cast<T *>(vec.data()), vec.size()); in toHidlVec() 39 template<typename T> hidl_vec<T> toHidlVec(std::vector<T> &vec) { in toHidlVec() argument 41 hVec.setToExternal(vec.data(), vec.size()); in toHidlVec() 46 std::vector<T> vec; in toVector() local 47 vec.assign(hVec.data(), hVec.data() + hVec.size()); in toVector() 48 return *const_cast<const std::vector<T> *>(&vec); in toVector() 52 std::vector<T> vec; in toVector() local 53 vec.assign(hVec.data(), hVec.data() + hVec.size()); in toVector() 54 return vec; in toVector() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/ |
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[8], tmp2<<1, cos_2pi_9)@ 120 @ vec[8] = fxp_mac32_Q32( vec[8], tmp3<<1, cos_8pi_9)@ 130 @ vec[5] = fxp_mac32_Q32( vec[5], tmp8<<1, cos_13pi_18)@ 142 @ vec[1] = fxp_mac32_Q32( vec[1], tmp8<<1, cos_17pi_18)@ 146 @ vec[3] = fxp_mul32_Q32((tmp5 + tmp6 - tmp8)<<1, cos_pi_6)@ 153 @ vec[5] = fxp_mul32_Q32(tmp5<<1, cos_17pi_18)@ [all …]
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 37 class vec; variable 49 vec<TYPE, SIZE>& doAssign( in doAssign() 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() 245 vec<TYPE, SIZE> PURE operator - (const vec<TYPE, SIZE>& lhs) { 246 vec<TYPE, SIZE> r; 300 class vec : public vbase<TYPE, SIZE> 323 vec() { } 324 vec(const vec& rhs) : base(rhs) { } 325 vec(const base& rhs) : base(rhs) { } // NOLINT(google-explicit-constructor) 330 vec(pTYPE rhs) { // NOLINT(google-explicit-constructor) [all …]
|
D | quat.h | 30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) { in quatToMatrix() 58 vec<TYPE, 4> matrixToQuat(const mat<TYPE, 3, 3>& R) { in matrixToQuat() 67 vec<TYPE, 4> q; in matrixToQuat() 83 vec<TYPE, 4> normalize_quat(const vec<TYPE, 4>& q) { in normalize_quat() 84 vec<TYPE, 4> r(q); in normalize_quat()
|
D | mat.h | 61 vec<TYPE, R> PURE doMul( in doMul() 63 const vec<TYPE, D>& rhs) in doMul() 65 vec<TYPE, R> res; in doMul() 78 const vec<TYPE, R>& lhs, in doMul() 124 class mat : public vec< vec<TYPE, R>, C > { 126 typedef vec< vec<TYPE, R>, C > base; 192 friend vec<TYPE, R> PURE operator * ( 193 const mat& lhs, const vec<TYPE, C>& rhs) { 199 const vec<TYPE, R>& lhs, const mat<TYPE, C, 1>& rhs) { 233 const vec<TYPE, R>& rhs) { [all …]
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | log_helpers.h | 15 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.y() << ',' << vec.z() << ',' 29 << vec.w() << ')';
|
/frameworks/opt/gamesdk/src/tuningfork/ |
D | protobuf_util.cpp | 29 if(count > str->vec->size() - str->it) { in Read() 30 str->it = str->vec->size(); in Read() 38 auto p = &(*str->vec)[str->it]; in Read() 39 auto n = std::min(count, str->vec->size() - str->it); in Read() 48 auto vec = str->vec; in Write() local 50 auto sz = vec->size(); in Write() 51 vec->resize(sz+count); in Write() 52 std::copy(buf, buf+count, &(*vec)[sz]); in Write()
|
/frameworks/base/core/jni/ |
D | android_util_StatsLog.cpp | 46 struct iovec vec[2]; in android_util_StatsLog_writeRaw() local 47 vec[0].iov_base = (void*) &statsEventTag; in android_util_StatsLog_writeRaw() 48 vec[0].iov_len = sizeof(statsEventTag); in android_util_StatsLog_writeRaw() 49 vec[1].iov_base = (void*) bufferArray; in android_util_StatsLog_writeRaw() 50 vec[1].iov_len = size; in android_util_StatsLog_writeRaw() 51 write_to_statsd(vec, 2); in android_util_StatsLog_writeRaw()
|
D | android_os_HwParcel.cpp | 463 const hidl_vec<Type> *vec = \ 469 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle); \ 475 *vec, \ 504 hidl_vec<bool> *vec = new (vecPtr) hidl_vec<bool>; in DEFINE_PARCEL_VECTOR_WRITER() local 520 vec->setToExternal(dst, len); in DEFINE_PARCEL_VECTOR_WRITER() 525 status_t err = parcel->writeBuffer(vec, sizeof(*vec), &parentHandle); in DEFINE_PARCEL_VECTOR_WRITER() 531 *vec, in DEFINE_PARCEL_VECTOR_WRITER() 542 static void WriteHidlVector(JNIEnv *env, jobject thiz, const hidl_vec<T> &vec) { in WriteHidlVector() argument 546 status_t err = parcel->writeBuffer(&vec, sizeof(vec), &parentHandle); in WriteHidlVector() 551 vec, in WriteHidlVector() [all …]
|
/frameworks/native/libs/binder/ |
D | BufferedTextOutput.cpp | 196 struct iovec vec; in print() local 197 vec.iov_base = (void*)first; in print() 198 vec.iov_len = lastLine-first; in print() 200 writeLines(vec, 1); in print() 215 struct iovec vec; in print() local 216 vec.iov_base = b->buffer; in print() 217 vec.iov_len = b->bufferPos; in print() 219 writeLines(vec, 1); in print() 256 struct iovec vec; in popBundle() local 257 vec.iov_base = b->buffer; in popBundle() [all …]
|
D | Static.cpp | 39 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines() argument 43 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); in writeLines() 55 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines() argument 57 writev(mFD, &vec, N); in writeLines()
|
/frameworks/minikin/include/minikin/ |
D | AndroidLineBreakerHelper.h | 55 float get(const std::vector<float>& vec, size_t lineNo) const { in get() argument 56 if (vec.empty()) { in get() 60 if (index < vec.size()) { in get() 61 return vec[index]; in get() 63 return vec.back(); in get()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c4t64fx.c | 78 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 88 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 98 Word16 vec[], /* (i) scaled vector (/8) to correlate with h[] */ 145 Word16 dn2[L_SUBFR], sign[L_SUBFR], vec[L_SUBFR]; in ACELP_4t64_fx() local 292 vec[i] = -32768; in ACELP_4t64_fx() 296 vec[i] = 32767; in ACELP_4t64_fx() 534 psign = vec; in ACELP_4t64_fx() 565 vec[i] = 0; in ACELP_4t64_fx() 593 vec[i] = (*p0++) + (*p1++); in ACELP_4t64_fx() 636 vec[i] = add1(add1(add1(*p0++, *p1++), *p2++), *p3++); in ACELP_4t64_fx() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | OperationManager.cpp | 29 inline bool hasValue(const std::vector<T>& vec, const T& val) { in hasValue() argument 31 return vec.empty() || std::count(vec.begin(), vec.end(), val) > 0; in hasValue()
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 59 float2 vec = bcptr - pos; 60 float2 vec2 = vec * vec; 66 fv -= vec * f; 78 float2 vec = touchPos[i] - ball->position; 79 float2 vec2 = vec * vec; 81 float2 pfv = (vec / len2) * touchPressure[i] * 500.f * gScale;
|
/frameworks/native/libs/cputimeinstate/ |
D | testtimeinstate.cpp | 30 for (const auto &vec : map) { in TEST() local 31 ASSERT_EQ(vec.second.size(), sizes.size()); in TEST() 32 for (size_t i = 0; i < vec.second.size(); ++i) ASSERT_EQ(vec.second[i].size(), sizes[i]); in TEST()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
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);
|