/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
encodeopt_msa.c | 18 v8i16 coeff, dq_coeff, coeff0, coeff1; local 26 ILVRL_H2_SH(coeff, dq_coeff, coeff0, coeff1); 27 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); 47 v8i16 coeff, coeff0, coeff1, coeff2, coeff3, coeff4; local 79 ILVRL_H2_SH(coeff, dq_coeff, coeff0, coeff1); 80 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); 83 ILVRL_H2_SH(coeff2, dq_coeff2, coeff0, coeff1); 84 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); 91 ILVRL_H2_SH(coeff3, dq_coeff3, coeff0, coeff1); 92 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1) 113 v8i16 coeff, coeff0, coeff1, coeff2, coeff3, coeff4; local [all...] |
quantize_msa.c | 24 v8i16 coeff0, coeff1, z0, z1; local 35 LD_SH2(coeff_ptr, 8, coeff0, coeff1); 36 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, z0, 38 LD_SH2(round, 8, coeff0, coeff1); 39 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, round0, 41 LD_SH2(quant, 8, coeff0, coeff1); 42 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, quant0 93 v8i16 coeff0, coeff1, z0, z1; local [all...] |
/external/libaom/libaom/aom_dsp/x86/ |
quantize_sse2.c | 32 __m128i coeff0, coeff1, coeff0_sign, coeff1_sign; local 45 coeff1 = load_coefficients(coeff_ptr + 8); 49 coeff1_sign = _mm_srai_epi16(coeff1, 15); 51 qcoeff1 = invert_sign_sse2(coeff1, coeff1_sign); 78 coeff1 = calculate_dqcoeff(qcoeff1, dequant); 81 store_coefficients(coeff1, dqcoeff_ptr + 8); 84 scan_for_eob(&coeff0, &coeff1, cmp_mask0, cmp_mask1, iscan_ptr, 0, zero); 89 coeff1 = load_coefficients(coeff_ptr + index + 8); 92 coeff1_sign = _mm_srai_epi16(coeff1, 15); 94 qcoeff1 = invert_sign_sse2(coeff1, coeff1_sign) [all...] |
adaptive_quantize_sse2.c | 29 __m128i coeff0, coeff1, coeff0_sign, coeff1_sign; local 69 coeff1 = load_coefficients(coeff_ptr + 8); 73 coeff1_sign = _mm_srai_epi16(coeff1, 15); 75 qcoeff1 = invert_sign_sse2(coeff1, coeff1_sign); 120 coeff1 = calculate_dqcoeff(qcoeff1, dequant); 123 store_coefficients(coeff1, dqcoeff_ptr + 8); 125 eob = scan_for_eob(&coeff0, &coeff1, cmp_mask0, cmp_mask1, iscan, 0, zero); 133 coeff1 = load_coefficients(coeff_ptr + index + 8); 136 coeff1_sign = _mm_srai_epi16(coeff1, 15); 138 qcoeff1 = invert_sign_sse2(coeff1, coeff1_sign) 229 __m128i coeff0, coeff1, coeff0_sign, coeff1_sign; local [all...] |
quantize_ssse3.c | 76 __m128i coeff0, coeff1, qcoeff0, qcoeff1; local 98 coeff1 = load_coefficients(coeff_ptr + 8); 101 qcoeff1 = _mm_abs_epi16(coeff1); 129 qcoeff1 = _mm_sign_epi16(qcoeff1, coeff1); 149 coeff1 = load_coefficients(coeff_ptr + index + 8); 152 qcoeff1 = _mm_abs_epi16(coeff1); 173 qcoeff1 = _mm_sign_epi16(qcoeff1, coeff1);
|
avg_intrin_sse2.c | 295 __m128i coeff1 = _mm_load_si128((const __m128i *)(t_coeff + 64)); local 299 __m128i b0 = _mm_add_epi16(coeff0, coeff1); 300 __m128i b1 = _mm_sub_epi16(coeff0, coeff1); 310 coeff1 = _mm_add_epi16(b1, b3); 316 store_tran_low(coeff1, coeff + 64); 322 _mm_store_si128((__m128i *)(coeff16 + 64), coeff1); 355 __m128i coeff1 = _mm_load_si128((const __m128i *)(t_coeff + 256)); local 359 __m128i b0 = _mm_add_epi16(coeff0, coeff1); 360 __m128i b1 = _mm_sub_epi16(coeff0, coeff1); 370 coeff1 = _mm_add_epi16(b1, b3) [all...] |
quantize_x86.h | 98 static INLINE __m128i scan_for_eob(__m128i *coeff0, __m128i *coeff1, 104 const __m128i zero_coeff1 = _mm_cmpeq_epi16(*coeff1, zero); 129 const __m128i coeff1 = _mm_load_si128((__m128i *)(coeff_ptr)); local 131 return _mm_packs_epi32(coeff1, coeff2);
|
avg_intrin_avx2.c | 149 const __m256i coeff1 = _mm256_loadu_si256((const __m256i *)(t_coeff + 64)); local 153 __m256i b0 = _mm256_add_epi16(coeff0, coeff1); 154 __m256i b1 = _mm256_sub_epi16(coeff0, coeff1); 203 const __m256i coeff1 = _mm256_loadu_si256((const __m256i *)(t_coeff + 256)); local 207 __m256i b0 = _mm256_add_epi16(coeff0, coeff1); 208 __m256i b1 = _mm256_sub_epi16(coeff0, coeff1);
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_quantize_sse2.c | 44 __m128i coeff0, coeff1; local 59 coeff1 = load_tran_low(coeff_ptr + n_coeffs + 8); 63 coeff1_sign = _mm_srai_epi16(coeff1, 15); 65 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); 87 coeff1 = _mm_mullo_epi16(qcoeff1, dequant); 90 store_tran_low(coeff1, dqcoeff_ptr + n_coeffs + 8); 100 zero_coeff1 = _mm_cmpeq_epi16(coeff1, zero); 119 __m128i coeff0, coeff1; local 126 coeff1 = load_tran_low(coeff_ptr + n_coeffs + 8); 130 coeff1_sign = _mm_srai_epi16(coeff1, 15) [all...] |
vp9_dct_ssse3.c | 296 __m128i coeff0, coeff1; local 311 coeff1 = *in[1]; 315 coeff1_sign = _mm_srai_epi16(coeff1, 15); 317 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); 339 coeff1 = _mm_mullo_epi16(qcoeff1, dequant); 342 store_tran_low(coeff1, dqcoeff_ptr + n_coeffs + 8); 352 zero_coeff1 = _mm_cmpeq_epi16(coeff1, zero); 371 __m128i coeff0, coeff1; local 379 coeff1 = *in[index + 1]; 383 coeff1_sign = _mm_srai_epi16(coeff1, 15) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
MidpointStepInterpolator.java | 86 final double coeff1 = oneMinusThetaH * theta; local 94 interpolatedState[i] = currentState[i] + coeff1 * yDot1 - coeff2 * yDot2;
|
ClassicalRungeKuttaStepInterpolator.java | 92 final double coeff1 = s * ((-fourTheta + 5) * theta - 1); local 103 currentState[i] + coeff1 * yDot1 + coeff23 * yDot23 + coeff4 * yDot4;
|
ThreeEighthesStepInterpolator.java | 93 final double coeff1 = s * (1 - 7 * theta + 2 * fourTheta2); local 108 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4;
|
GillStepInterpolator.java | 102 final double coeff1 = soMt * (1 - fourTheta); local 118 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4;
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
quantize_sse2.c | 31 __m128i coeff0, coeff1, coeff0_sign, coeff1_sign; local 46 coeff1 = load_tran_low(coeff_ptr + 8); 50 coeff1_sign = _mm_srai_epi16(coeff1, 15); 52 qcoeff1 = invert_sign_sse2(coeff1, coeff1_sign); 86 coeff1 = load_tran_low(coeff_ptr + index + 8); 89 coeff1_sign = _mm_srai_epi16(coeff1, 15); 91 qcoeff1 = invert_sign_sse2(coeff1, coeff1_sign);
|
quantize_avx.c | 35 __m128i coeff0, coeff1; local 52 coeff1 = load_tran_low(coeff_ptr + 8); 55 qcoeff1 = _mm_abs_epi16(coeff1); 85 qcoeff1 = _mm_sign_epi16(qcoeff1, coeff1); 105 coeff1 = load_tran_low(coeff_ptr + index + 8); 108 qcoeff1 = _mm_abs_epi16(coeff1); 128 qcoeff1 = _mm_sign_epi16(qcoeff1, coeff1); 161 __m128i coeff0, coeff1; local 193 coeff1 = load_tran_low(coeff_ptr + 8); 196 qcoeff1 = _mm_abs_epi16(coeff1); [all...] |
quantize_ssse3.c | 31 __m128i coeff0, coeff1; local 45 coeff1 = load_tran_low(coeff_ptr + 8); 48 qcoeff1 = _mm_abs_epi16(coeff1); 62 qcoeff1 = _mm_sign_epi16(qcoeff1, coeff1); 80 coeff1 = load_tran_low(coeff_ptr + index + 8); 83 qcoeff1 = _mm_abs_epi16(coeff1); 92 qcoeff1 = _mm_sign_epi16(qcoeff1, coeff1); 126 __m128i coeff0, coeff1; local 161 coeff1 = load_tran_low(coeff_ptr + 8); 164 qcoeff1 = _mm_abs_epi16(coeff1); [all...] |
avg_intrin_avx2.c | 150 __m256i coeff1 = _mm256_loadu_si256((const __m256i *)(t_coeff + 64)); local 154 __m256i b0 = _mm256_add_epi32(coeff0, coeff1); 155 __m256i b1 = _mm256_sub_epi32(coeff0, coeff1); 165 coeff1 = _mm256_add_epi32(b1, b3); 170 _mm256_storeu_si256((__m256i *)(coeff + 64), coeff1); 191 __m256i coeff1 = _mm256_loadu_si256((const __m256i *)(t_coeff + 256)); local 195 __m256i b0 = _mm256_add_epi32(coeff0, coeff1); 196 __m256i b1 = _mm256_sub_epi32(coeff0, coeff1); 206 coeff1 = _mm256_add_epi32(b1, b3); 211 _mm256_storeu_si256((__m256i *)(coeff + 256), coeff1); 355 const __m256i coeff1 = _mm256_loadu_si256((const __m256i *)(t_coeff + 64)); local 413 const __m256i coeff1 = _mm256_loadu_si256((const __m256i *)(t_coeff + 256)); local [all...] |
quantize_sse2.h | 67 static INLINE __m128i scan_for_eob(__m128i *coeff0, __m128i *coeff1, 73 const __m128i zero_coeff1 = _mm_cmpeq_epi16(*coeff1, zero);
|
avg_intrin_sse2.c | 348 __m128i coeff1 = _mm_load_si128((const __m128i *)(t_coeff + 64)); local 352 __m128i b0 = _mm_add_epi16(coeff0, coeff1); 353 __m128i b1 = _mm_sub_epi16(coeff0, coeff1); 363 coeff1 = _mm_add_epi16(b1, b3); 369 store_tran_low(coeff1, coeff + 64); 375 _mm_store_si128((__m128i *)(coeff16 + 64), coeff1); 412 __m128i coeff1 = _mm_load_si128((const __m128i *)(t_coeff + 256)); local 416 __m128i b0 = _mm_add_epi16(coeff0, coeff1); 417 __m128i b1 = _mm_sub_epi16(coeff0, coeff1); 427 coeff1 = _mm_add_epi16(b1, b3) [all...] |
/external/libvpx/libvpx/vp9/encoder/ppc/ |
vp9_quantize_vsx.c | 54 int16x8_t coeff1 = vec_vsx_ld(16, coeff_ptr); local 79 qcoeff1 = vec_mulhi(vec_vaddshs(vec_abs(coeff1), round), quant); 81 qcoeff1 = vec_sign(qcoeff1, coeff1); 104 coeff1 = vec_vsx_ld(off1, coeff_ptr); 117 qcoeff1 = vec_mulhi(vec_vaddshs(vec_abs(coeff1), round), quant); 119 qcoeff1 = vec_sign(qcoeff1, coeff1); 189 int16x8_t coeff1 = vec_vsx_ld(16, coeff_ptr); local 194 int16x8_t abs_coeff1 = vec_abs(coeff1); 223 vec_madds(vec_vaddshs(vec_abs(coeff1), round), quant, vec_zeros_s16); 226 qcoeff1 = vec_sign(qcoeff1, coeff1); [all...] |
/external/libvpx/libvpx/vpx_dsp/ppc/ |
quantize_vsx.c | 115 int16x8_t coeff1 = vec_vsx_ld(16, coeff_ptr); local 118 int16x8_t coeff1_abs = vec_abs(coeff1); 135 quantize_coeff(coeff1, coeff1_abs, round, quant, quant_shift, zero_mask1); 156 coeff1 = vec_vsx_ld(off1, coeff_ptr); 159 coeff1_abs = vec_abs(coeff1); 166 qcoeff1 = quantize_coeff(coeff1, coeff1_abs, round, quant, quant_shift, 224 int16x8_t coeff1 = vec_vsx_ld(16, coeff_ptr); local 227 int16x8_t coeff1_abs = vec_abs(coeff1); 247 qcoeff1 = quantize_coeff_32(coeff1, coeff1_abs, round, quant, quant_shift, 265 coeff1 = vec_vsx_ld(off1, coeff_ptr) [all...] |
/external/libaom/libaom/av1/encoder/x86/ |
av1_quantize_sse2.c | 79 __m128i coeff0, coeff1; local 81 read_coeff(coeff_ptr, n_coeffs, &coeff0, &coeff1); 85 const __m128i coeff1_sign = _mm_srai_epi16(coeff1, 15); 87 __m128i qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); 111 coeff1 = _mm_mullo_epi16(qcoeff1, *dequant1); 113 write_qcoeff(&coeff0, &coeff1, dqcoeff_ptr, n_coeffs); 118 const __m128i zero_coeff1 = _mm_cmpeq_epi16(coeff1, zero);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_blur.rs | 56 float coeff1 = 1.0f / (sqrt( 2.0f * pi ) * sigma); 62 gaussian[r + radius] = coeff1 * pow(e, floatR * floatR * coeff2);
|
/external/webp/src/dsp/ |
upsampling_neon.c | 145 const int16x8_t Y1 = vqdmulhq_lane_s16(Y0, coeff1, 0); \ 146 const int16x8_t R0 = vqdmulhq_lane_s16(V0, coeff1, 1); \ 147 const int16x8_t G0 = vqdmulhq_lane_s16(U0, coeff1, 2); \ 148 const int16x8_t G1 = vqdmulhq_lane_s16(V0, coeff1, 3); \ 210 const int16x4_t coeff1 = vld1_s16(kCoeffs1); \
|