Searched defs:prod (Results 1 - 25 of 59) sorted by path

123

/external/aac/libFDK/src/
H A Dfixpoint_math.cpp218 FIXP_DBL prod; local
226 prod = (LONG)(high+low);
228 return((FIXP_DBL)prod);
/external/chromium_org/components/omaha_query_params/
H A Domaha_query_params.cc66 std::string OmahaQueryParams::Get(ProdId prod) { argument
68 "os=%s&arch=%s&nacl_arch=%s&prod=%s%s",
72 GetProdIdString(prod),
77 const char* OmahaQueryParams::GetProdIdString(OmahaQueryParams::ProdId prod) { argument
78 switch (prod) {
/external/chromium_org/third_party/libwebp/dsp/
H A Denc_neon.c919 uint16x8_t prod = vmull_u8(vget_low_u8(abs_diff), vget_low_u8(abs_diff)); local
920 prod = vmlal_u8(prod, vget_high_u8(abs_diff), vget_high_u8(abs_diff));
921 *sum = vpadalq_u16(*sum, prod); // pair-wise add and accumulate
956 const uint16x8_t prod = vmull_u8(abs_diff, abs_diff); local
957 sum = vpadalq_u16(sum, prod);
966 uint16x8_t prod = vmull_u8(vget_low_u8(abs_diff), vget_low_u8(abs_diff)); local
967 prod = vmlal_u8(prod, vget_high_u8(abs_diff), vget_high_u8(abs_diff));
968 return SumToInt(vpaddlq_u16(prod));
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/math/
H A Dm_matrix.c298 GLfloat prod[16]; local
304 matmul4(prod, m->m, m->inv);
306 print_matrix_floats(prod);
/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_mathops.c64 double prod; local
68 prod = (1./32768./65526.)*val*i;
70 prod = val*i;
72 if (fabs(prod-1) > .00025)
74 fprintf (stderr, "div failed: 1/%d="WORD" (product = %f)\n", i, val, prod);
/external/chromium_org/third_party/skia/include/core/
H A DSkColorPriv.h216 int prod = SkMulS16(src - dst, alpha) + 128; local
217 prod = (prod + (prod >> 8)) >> 8;
218 return dst + prod;
H A DSkMath.h192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); local
193 return (prod + (prod >> shift)) >> shift;
203 unsigned prod = SkMulS16(a, b) + 128; local
204 return (prod + (prod >> 8)) >> 8;
H A DSkScalar.h49 float prod = x * 0; local
50 // At this point, prod will either be NaN or 0
51 // Therefore we can return (prod == prod) or (0 == prod).
52 return prod == prod;
/external/chromium_org/third_party/skia/src/core/
H A DSkMathPriv.h56 unsigned prod = SkMulS16(a, b) + 1; local
57 return (prod + (prod >> 8)) >> 8;
66 unsigned prod = SkMulS16(a, b) + 255; local
67 return (prod + (prod >> 8)) >> 8;
72 static inline unsigned SkDiv255Round(unsigned prod) { argument
73 prod += 128;
74 return (prod + (prod >>
[all...]
H A DSkXfermode.cpp35 unsigned prod = SkMulS16(a, b) + SkMulS16(c, d) + 128;
36 unsigned result = (prod + (prod >> 8)) >> 8;
61 static inline int clamp_div255round(int prod) { argument
62 if (prod <= 0) {
64 } else if (prod >= 255*255) {
67 return SkDiv255Round(prod);
/external/chromium_org/third_party/skia/src/opts/
H A DSkBlitRow_opts_arm_neon.cpp468 static inline uint16x8_t SkDiv255Round_neon8(uint16x8_t prod) { argument
469 prod += vdupq_n_u16(128);
470 prod += vshrq_n_u16(prod, 8);
471 return vshrq_n_u16(prod, 8);
H A DSkColor_opts_SSE2.h35 __m128i prod = _mm_mullo_epi16(a, b); local
36 prod = _mm_add_epi32(prod, _mm_set1_epi32(128));
37 prod = _mm_add_epi32(prod, _mm_srli_epi32(prod, 8));
38 prod = _mm_srli_epi32(prod, 8);
40 return prod;
86 __m128i prod local
[all...]
H A DSkXfermode_opts_SSE2.cpp21 __m128i prod = _mm_add_epi32(a, _mm_set1_epi32(128)); // prod += 128; local
22 prod = _mm_add_epi32(prod, _mm_srli_epi32(prod, 8)); // prod + (prod >> 8)
23 prod = _mm_srli_epi32(prod, 8); // >> 8
25 return prod;
48 clamp_div255round_SSE2(const __m128i& prod) argument
[all...]
H A DSkXfermode_opts_arm_neon.cpp58 static inline uint16x8_t SkDiv255Round_neon8_16_16(uint16x8_t prod) { argument
59 prod += vdupq_n_u16(128);
60 prod += vshrq_n_u16(prod, 8);
62 return vshrq_n_u16(prod, 8);
/external/chromium_org/third_party/skia/src/utils/
H A DSkCamera.cpp13 SkScalar prod = 0; local
15 prod += a[0] * b[0];
19 return prod / denom;
24 SkScalar prod = 0; local
26 prod += a[0] * b[0];
30 return prod;
/external/chromium_org/third_party/skia/tests/
H A DMathTest.cpp108 int prod = src * a31 + (31 - a31) * dst + 16; local
109 prod = (prod + (prod >> 5)) >> 5;
110 return prod;
114 int prod = (src - dst) * a31 + 16; local
115 prod = (prod + (prod >> 5)) >> 5;
116 return dst + prod;
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dfilters.c27 int64_t prod = 0; local
35 prod += WEBRTC_SPL_MUL_16_16(x[i], x[i]);
39 temp = (uint32_t)(prod >> 31);
45 r[0] = (int32_t)(prod >> scaling);
49 prod = 0;
51 prod += WEBRTC_SPL_MUL_16_16(x[j], x[i + j]);
53 sum = (int32_t)(prod >> scaling);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dfilter_functions.c96 double sum, prod; local
103 prod = x[0] * x_lag[0];
105 sum += prod;
106 prod = x[n] * x_lag[n];
108 sum += prod;
H A Dpitch_estimator.c93 double sum, ysum, prod; local
114 prod = x[0] * inptr[0];
116 sum += prod;
117 prod = x[n] * inptr[n];
119 sum += prod;
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dbitvect.c1767 wordptr prod; member in struct:BitVector_from_Dec_static_data
1782 data->prod = BitVector_Create(bits,FALSE);
1788 data->prod = NULL;
1800 BitVector_Destroy(data->prod);
1819 wordptr prod; local
1832 prod = data->prod;
1848 BitVector_Empty(prod);
1876 error = BitVector_Mul_Pos(prod,temp,term,FALSE);
1880 *prod
1930 wordptr prod; local
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Darray-reduce.js101 function prod(a, b) { return a * b; } function
119 simpleArray, prod, 1);
135 testReduce("reduce", "EmptyReduceProd", 1, [], [], prod, 1);
140 testReduce("reduce", "EmptyReduceProdNoInit", 1, [], [1], prod);
156 simpleSparseArray, prod, 1);
172 testReduce("reduce", "EmptySparseReduceProdNoInit", 1, [], [,,1,,], prod);
197 verySparseArray, prod, 1);
221 verySparseArray, prod);
247 simpleArray, prod, 1);
263 testReduce("reduceRight", "EmptyReduceRightProd", 1, [], [], prod,
[all...]
/external/eigen/Eigen/src/Core/
H A DGeneralProduct.h228 EIGEN_DONT_INLINE void outer_product_selector_run(const ProductType& prod, Dest& dest, const Func& func, const false_type&) argument
235 func(dest.col(j), prod.rhs().coeff(j) * prod.lhs());
240 EIGEN_DONT_INLINE void outer_product_selector_run(const ProductType& prod, Dest& dest, const Func& func, const true_type&) { argument
246 func(dest.row(i), prod.lhs().coeff(i) * prod.rhs());
360 static void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha) argument
366 (prod.rhs().transpose(), prod.lhs().transpose()), destT, alpha);
409 static inline void run(const ProductType& prod, Des argument
482 run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha) argument
533 run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha) argument
546 run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha) argument
[all...]
H A DProductBase.h198 operator*(const ProductBase<Derived,Lhs,Rhs>& prod, const typename Derived::Scalar& x) argument
199 { return ScaledProduct<Derived>(prod.derived(), x); }
204 operator*(const ProductBase<Derived,Lhs,Rhs>& prod, const typename Derived::RealScalar& x) argument
205 { return ScaledProduct<Derived>(prod.derived(), x); }
210 operator*(const typename Derived::Scalar& x,const ProductBase<Derived,Lhs,Rhs>& prod) argument
211 { return ScaledProduct<Derived>(prod.derived(), x); }
216 operator*(const typename Derived::RealScalar& x,const ProductBase<Derived,Lhs,Rhs>& prod) argument
217 { return ScaledProduct<Derived>(prod.derived(), x); }
244 ScaledProduct(const NestedProduct& prod, const Scalar& x) argument
245 : Base(prod
[all...]
H A DRedux.h355 * \sa trace(), prod(), mean()
368 * \sa trace(), prod(), sum()
386 DenseBase<Derived>::prod() const function in class:Eigen::DenseBase
H A DVectorwiseOp.h131 EIGEN_MEMBER_FUNCTOR(prod, (Size-1)*NumTraits<Scalar>::MulCost);
397 * \sa DenseBase::prod() */
398 const typename ReturnType<internal::member_prod>::Type prod() const function in class:Eigen::VectorwiseOp

Completed in 6535 milliseconds

123