Home
last modified time | relevance | path

Searched refs:coeff1 (Results 1 – 20 of 20) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c19 v8i16 coeff, dq_coeff, coeff0, coeff1; in vp8_block_error_msa() local
28 ILVRL_H2_SH(coeff, dq_coeff, coeff0, coeff1); in vp8_block_error_msa()
29 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_block_error_msa()
50 v8i16 coeff, coeff0, coeff1, coeff2, coeff3, coeff4; in vp8_mbblock_error_msa() local
84 ILVRL_H2_SH(coeff, dq_coeff, coeff0, coeff1); in vp8_mbblock_error_msa()
85 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
88 ILVRL_H2_SH(coeff2, dq_coeff2, coeff0, coeff1); in vp8_mbblock_error_msa()
89 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
96 ILVRL_H2_SH(coeff3, dq_coeff3, coeff0, coeff1); in vp8_mbblock_error_msa()
97 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa()
[all …]
Dquantize_msa.c27 v8i16 coeff0, coeff1, z0, z1; in fast_quantize_b_msa() local
38 LD_SH2(coeff_ptr, 8, coeff0, coeff1); in fast_quantize_b_msa()
39 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, in fast_quantize_b_msa()
41 LD_SH2(round, 8, coeff0, coeff1); in fast_quantize_b_msa()
42 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, in fast_quantize_b_msa()
44 LD_SH2(quant, 8, coeff0, coeff1); in fast_quantize_b_msa()
45 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, in fast_quantize_b_msa()
107 v8i16 coeff0, coeff1, z0, z1; in exact_regular_quantize_b_msa() local
119 LD_SH2(coeff_ptr, 8, coeff0, coeff1); in exact_regular_quantize_b_msa()
120 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, in exact_regular_quantize_b_msa()
[all …]
Ddenoising_msa.c35 v16u8 coeff0, coeff1; in vp8_denoiser_filter_msa() local
82 ILVRL_B2_UB(mc_running_avg_y0, sig0, coeff0, coeff1); in vp8_denoiser_filter_msa()
83 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
132 ILVRL_B2_UB(mc_running_avg_y1, sig1, coeff0, coeff1); in vp8_denoiser_filter_msa()
133 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
217 ILVRL_B2_UB(mc_running_avg_y0, sig0, coeff0, coeff1); in vp8_denoiser_filter_msa()
218 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
259 ILVRL_B2_UB(mc_running_avg_y1, sig1, coeff0, coeff1); in vp8_denoiser_filter_msa()
260 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_quantize_sse2.c43 __m128i coeff0, coeff1; in vp9_quantize_fp_sse2() local
58 coeff1 = _mm_load_si128((const __m128i*)(coeff_ptr + n_coeffs) + 1); in vp9_quantize_fp_sse2()
62 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_quantize_fp_sse2()
64 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vp9_quantize_fp_sse2()
86 coeff1 = _mm_mullo_epi16(qcoeff1, dequant); in vp9_quantize_fp_sse2()
89 _mm_store_si128((__m128i*)(dqcoeff_ptr + n_coeffs) + 1, coeff1); in vp9_quantize_fp_sse2()
99 zero_coeff1 = _mm_cmpeq_epi16(coeff1, zero); in vp9_quantize_fp_sse2()
118 __m128i coeff0, coeff1; in vp9_quantize_fp_sse2() local
125 coeff1 = _mm_load_si128((const __m128i*)(coeff_ptr + n_coeffs) + 1); in vp9_quantize_fp_sse2()
129 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_quantize_fp_sse2()
[all …]
Dvp9_dct_ssse3.c302 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_ssse3() local
317 coeff1 = *in[1]; in vp9_fdct8x8_quant_ssse3()
321 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_fdct8x8_quant_ssse3()
323 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vp9_fdct8x8_quant_ssse3()
345 coeff1 = _mm_mullo_epi16(qcoeff1, dequant); in vp9_fdct8x8_quant_ssse3()
348 _mm_store_si128((__m128i*)(dqcoeff_ptr + n_coeffs) + 1, coeff1); in vp9_fdct8x8_quant_ssse3()
358 zero_coeff1 = _mm_cmpeq_epi16(coeff1, zero); in vp9_fdct8x8_quant_ssse3()
377 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_ssse3() local
385 coeff1 = *in[index + 1]; in vp9_fdct8x8_quant_ssse3()
389 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_fdct8x8_quant_ssse3()
[all …]
Dvp9_avg_intrin_sse2.c258 __m128i coeff1 = _mm_load_si128((const __m128i *)(coeff + 64)); in vp9_hadamard_16x16_sse2() local
262 __m128i b0 = _mm_add_epi16(coeff0, coeff1); in vp9_hadamard_16x16_sse2()
263 __m128i b1 = _mm_sub_epi16(coeff0, coeff1); in vp9_hadamard_16x16_sse2()
273 coeff1 = _mm_add_epi16(b1, b3); in vp9_hadamard_16x16_sse2()
275 _mm_store_si128((__m128i *)(coeff + 64), coeff1); in vp9_hadamard_16x16_sse2()
Dvp9_dct_sse2.c468 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_sse2() local
483 coeff1 = *in[1]; in vp9_fdct8x8_quant_sse2()
487 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_fdct8x8_quant_sse2()
489 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vp9_fdct8x8_quant_sse2()
511 coeff1 = _mm_mullo_epi16(qcoeff1, dequant); in vp9_fdct8x8_quant_sse2()
514 _mm_store_si128((__m128i*)(dqcoeff_ptr + n_coeffs) + 1, coeff1); in vp9_fdct8x8_quant_sse2()
524 zero_coeff1 = _mm_cmpeq_epi16(coeff1, zero); in vp9_fdct8x8_quant_sse2()
542 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_sse2() local
550 coeff1 = *in[index + 1]; in vp9_fdct8x8_quant_sse2()
554 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vp9_fdct8x8_quant_sse2()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dquantize_sse2.c64 __m128i coeff0, coeff1; in vpx_quantize_b_sse2() local
85 coeff1 = load_coefficients(coeff_ptr + n_coeffs + 8); in vpx_quantize_b_sse2()
89 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vpx_quantize_b_sse2()
91 qcoeff1 = _mm_xor_si128(coeff1, coeff1_sign); in vpx_quantize_b_sse2()
125 coeff1 = _mm_mullo_epi16(qcoeff1, dequant); in vpx_quantize_b_sse2()
128 store_coefficients(coeff1, dqcoeff_ptr + n_coeffs + 8); in vpx_quantize_b_sse2()
138 zero_coeff1 = _mm_cmpeq_epi16(coeff1, zero); in vpx_quantize_b_sse2()
155 __m128i coeff0, coeff1; in vpx_quantize_b_sse2() local
163 coeff1 = load_coefficients(coeff_ptr + n_coeffs + 8); in vpx_quantize_b_sse2()
167 coeff1_sign = _mm_srai_epi16(coeff1, 15); in vpx_quantize_b_sse2()
[all …]
/external/skia/src/opts/
DSkBitmapProcState_arm_neon.cpp112 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; in convolveHorizontally_neon() local
115 coeff1 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask1)); in convolveHorizontally_neon()
130 int32x4_t p1 = vmull_s16(p1_src, coeff1); in convolveHorizontally_neon()
152 int16x4_t coeff0, coeff1, coeff2; in convolveHorizontally_neon() local
156 coeff1 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_u16(coeffs), coeff_mask1)); in convolveHorizontally_neon()
164 int32x4_t p1 = vmull_s16(vget_high_s16(p01_16), coeff1); in convolveHorizontally_neon()
403 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; in convolve4RowsHorizontally_neon() local
407 coeff1 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask1)); in convolve4RowsHorizontally_neon()
421 p1 = vmull_s16(vget_high_s16(p01_16), coeff1); \ in convolve4RowsHorizontally_neon()
440 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; in convolve4RowsHorizontally_neon() local
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
DMidpointStepInterpolator.java86 final double coeff1 = oneMinusThetaH * theta; in computeInterpolatedStateAndDerivatives() local
94 interpolatedState[i] = currentState[i] + coeff1 * yDot1 - coeff2 * yDot2; in computeInterpolatedStateAndDerivatives()
DClassicalRungeKuttaStepInterpolator.java92 final double coeff1 = s * ((-fourTheta + 5) * theta - 1); in computeInterpolatedStateAndDerivatives() local
103 currentState[i] + coeff1 * yDot1 + coeff23 * yDot23 + coeff4 * yDot4; in computeInterpolatedStateAndDerivatives()
DThreeEighthesStepInterpolator.java93 final double coeff1 = s * (1 - 7 * theta + 2 * fourTheta2); in computeInterpolatedStateAndDerivatives() local
108 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4; in computeInterpolatedStateAndDerivatives()
DGillStepInterpolator.java102 final double coeff1 = soMt * (1 - fourTheta); in computeInterpolatedStateAndDerivatives() local
118 currentState[i] - coeff1 * yDot1 - coeff2 * yDot2 - coeff3 * yDot3 - coeff4 * yDot4; in computeInterpolatedStateAndDerivatives()
/external/webp/src/dsp/
Dupsampling_neon.c164 const int16x8_t Y1 = vqdmulhq_lane_s16(Y0, coeff1, 0); \
165 const int16x8_t R0 = vqdmulhq_lane_s16(V0, coeff1, 1); \
166 const int16x8_t G0 = vqdmulhq_lane_s16(U0, coeff1, 2); \
167 const int16x8_t G1 = vqdmulhq_lane_s16(V0, coeff1, 3); \
229 const int16x4_t coeff1 = vld1_s16(kCoeffs1); \
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DLevenbergMarquardtEstimator.java394 double coeff1 = 0; in estimate() local
396 coeff1 += work1[j] * work1[j]; in estimate()
399 coeff1 = coeff1 / pc2; in estimate()
401 double preRed = coeff1 + 2 * coeff2; in estimate()
402 double dirDer = -(coeff1 + coeff2); in estimate()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DLevenbergMarquardtOptimizer.java395 double coeff1 = 0; in doOptimize() local
397 coeff1 += work1[j] * work1[j]; in doOptimize()
400 coeff1 = coeff1 / pc2; in doOptimize()
402 double preRed = coeff1 + 2 * coeff2; in doOptimize()
403 double dirDer = -(coeff1 + coeff2); in doOptimize()
/external/libvpx/libvpx/vpx_dsp/mips/
Dfwd_txfm_msa.c23 v8i16 coeff1 = { cospi_2_64, cospi_30_64, cospi_14_64, cospi_18_64, in fdct8x16_1d_column() local
73 SPLATI_H2_SH(coeff1, 0, 1, cnst0, cnst1); in fdct8x16_1d_column()
85 SPLATI_H2_SH(coeff1, 2, 3, cnst0, cnst1); in fdct8x16_1d_column()
109 SPLATI_H2_SH(coeff1, 4, 5, cnst0, cnst1); in fdct8x16_1d_column()
121 SPLATI_H2_SH(coeff1, 6, 7, cnst0, cnst1); in fdct8x16_1d_column()
/external/opencv3/modules/features2d/src/
Dbrisk.cpp1931 int coeff1 = 3 * (tmp1 + s_0_1 - ((s_1_0 + s_1_2) << 1) + s_2_1); in subpixel2D() local
1942 int H_det = 4 * coeff1 * coeff2 - coeff5 * coeff5; in subpixel2D()
1951 if (!(H_det > 0 && coeff1 < 0)) in subpixel2D()
1979 return float(tmp_max + coeff1 + coeff2 + coeff6) / 18.0f; in subpixel2D()
1984 delta_y = float(2 * coeff1 * coeff4 - coeff3 * coeff5) / float(-H_det); in subpixel2D()
2024 delta_x2 = -float(coeff3 + coeff5) / float(2 * coeff1); in subpixel2D()
2033 delta_x2 = -float(coeff3 - coeff5) / float(2 * coeff1); in subpixel2D()
2040 …float max1 = (coeff1 * delta_x1 * delta_x1 + coeff2 * delta_y1 * delta_y1 + coeff3 * delta_x1 + co… in subpixel2D()
2043 …float max2 = (coeff1 * delta_x2 * delta_x2 + coeff2 * delta_y2 * delta_y2 + coeff3 * delta_x2 + co… in subpixel2D()
2061 …return (coeff1 * delta_x * delta_x + coeff2 * delta_y * delta_y + coeff3 * delta_x + coeff4 * delt… in subpixel2D()
/external/opencv3/modules/imgproc/src/
Dphasecorr.cpp584 double coeff0 = 2.0 * CV_PI / (double)(cols - 1), coeff1 = 2.0f * CV_PI / (double)(rows - 1); in createHanningWindow() local
593 double wr = 0.5 * (1.0 - cos(coeff1 * i)); in createHanningWindow()
603 double wr = 0.5 * (1.0 - cos(coeff1 * i)); in createHanningWindow()
/external/libvpx/libvpx/vp8/common/mips/msa/
Dvp8_macros_msa.h1729 #define DPADD_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2) \ argument
1735 out0_m = __msa_dpadd_s_h(out0_m, (v16i8)in1, (v16i8)coeff1); \