/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
D | encodeopt_msa.c | 18 v8i16 coeff, dq_coeff, coeff0, coeff1; in vp8_block_error_msa() local 26 ILVRL_H2_SH(coeff, dq_coeff, coeff0, coeff1); in vp8_block_error_msa() 27 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_block_error_msa() 47 v8i16 coeff, coeff0, coeff1, coeff2, coeff3, coeff4; in vp8_mbblock_error_msa() local 79 ILVRL_H2_SH(coeff, dq_coeff, coeff0, coeff1); in vp8_mbblock_error_msa() 80 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa() 83 ILVRL_H2_SH(coeff2, dq_coeff2, coeff0, coeff1); in vp8_mbblock_error_msa() 84 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa() 91 ILVRL_H2_SH(coeff3, dq_coeff3, coeff0, coeff1); in vp8_mbblock_error_msa() 92 HSUB_UH2_SW(coeff0, coeff1, diff0, diff1); in vp8_mbblock_error_msa() [all …]
|
D | quantize_msa.c | 24 v8i16 coeff0, coeff1, z0, z1; in fast_quantize_b_msa() local 35 LD_SH2(coeff_ptr, 8, coeff0, coeff1); in fast_quantize_b_msa() 36 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, z0, in fast_quantize_b_msa() 38 LD_SH2(round, 8, coeff0, coeff1); in fast_quantize_b_msa() 39 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, round0, in fast_quantize_b_msa() 41 LD_SH2(quant, 8, coeff0, coeff1); in fast_quantize_b_msa() 42 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, quant0, in fast_quantize_b_msa() 93 v8i16 coeff0, coeff1, z0, z1; in exact_regular_quantize_b_msa() local 105 LD_SH2(coeff_ptr, 8, coeff0, coeff1); in exact_regular_quantize_b_msa() 106 VSHF_H2_SH(coeff0, coeff1, coeff0, coeff1, zigzag_mask0, zigzag_mask1, z0, in exact_regular_quantize_b_msa() [all …]
|
D | denoising_msa.c | 33 v16u8 coeff0, coeff1; in vp8_denoiser_filter_msa() local 77 ILVRL_B2_UB(mc_running_avg_y0, sig0, coeff0, coeff1); in vp8_denoiser_filter_msa() 78 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa() 125 ILVRL_B2_UB(mc_running_avg_y1, sig1, coeff0, coeff1); in vp8_denoiser_filter_msa() 126 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa() 204 ILVRL_B2_UB(mc_running_avg_y0, sig0, coeff0, coeff1); in vp8_denoiser_filter_msa() 205 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa() 240 ILVRL_B2_UB(mc_running_avg_y1, sig1, coeff0, coeff1); in vp8_denoiser_filter_msa() 241 HSUB_UB2_SH(coeff0, coeff1, diff0, diff1); in vp8_denoiser_filter_msa() 323 v16u8 coeff0; in vp8_denoiser_filter_uv_msa() local [all …]
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_quantize_sse2.c | 42 __m128i coeff0, coeff1; in vp9_quantize_fp_sse2() local 56 coeff0 = load_tran_low(coeff_ptr + n_coeffs); in vp9_quantize_fp_sse2() 60 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_quantize_fp_sse2() 62 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_quantize_fp_sse2() 83 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_quantize_fp_sse2() 87 store_tran_low(coeff0, dqcoeff_ptr + n_coeffs); in vp9_quantize_fp_sse2() 97 zero_coeff0 = _mm_cmpeq_epi16(coeff0, zero); in vp9_quantize_fp_sse2() 117 __m128i coeff0, coeff1; in vp9_quantize_fp_sse2() local 123 coeff0 = load_tran_low(coeff_ptr + n_coeffs); in vp9_quantize_fp_sse2() 127 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_quantize_fp_sse2() [all …]
|
D | vp9_dct_ssse3.c | 294 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_ssse3() local 308 coeff0 = *in[0]; in vp9_fdct8x8_quant_ssse3() 312 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_fdct8x8_quant_ssse3() 314 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_fdct8x8_quant_ssse3() 335 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_fdct8x8_quant_ssse3() 339 store_tran_low(coeff0, dqcoeff_ptr + n_coeffs); in vp9_fdct8x8_quant_ssse3() 349 zero_coeff0 = _mm_cmpeq_epi16(coeff0, zero); in vp9_fdct8x8_quant_ssse3() 369 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_ssse3() local 376 coeff0 = *in[index]; in vp9_fdct8x8_quant_ssse3() 380 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_fdct8x8_quant_ssse3() [all …]
|
D | vp9_dct_intrin_sse2.c | 461 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_sse2() local 475 coeff0 = *in[0]; in vp9_fdct8x8_quant_sse2() 479 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_fdct8x8_quant_sse2() 481 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vp9_fdct8x8_quant_sse2() 502 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vp9_fdct8x8_quant_sse2() 506 _mm_store_si128((__m128i *)(dqcoeff_ptr + n_coeffs), coeff0); in vp9_fdct8x8_quant_sse2() 516 zero_coeff0 = _mm_cmpeq_epi16(coeff0, zero); in vp9_fdct8x8_quant_sse2() 535 __m128i coeff0, coeff1; in vp9_fdct8x8_quant_sse2() local 542 coeff0 = *in[index]; in vp9_fdct8x8_quant_sse2() 546 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vp9_fdct8x8_quant_sse2() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | quantize_sse2.c | 39 __m128i coeff0, coeff1; in vpx_quantize_b_sse2() local 59 coeff0 = load_tran_low(coeff_ptr + n_coeffs); in vpx_quantize_b_sse2() 63 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vpx_quantize_b_sse2() 65 qcoeff0 = _mm_xor_si128(coeff0, coeff0_sign); in vpx_quantize_b_sse2() 98 coeff0 = _mm_mullo_epi16(qcoeff0, dequant); in vpx_quantize_b_sse2() 102 store_tran_low(coeff0, dqcoeff_ptr + n_coeffs); in vpx_quantize_b_sse2() 112 zero_coeff0 = _mm_cmpeq_epi16(coeff0, zero); in vpx_quantize_b_sse2() 130 __m128i coeff0, coeff1; in vpx_quantize_b_sse2() local 137 coeff0 = load_tran_low(coeff_ptr + n_coeffs); in vpx_quantize_b_sse2() 141 coeff0_sign = _mm_srai_epi16(coeff0, 15); in vpx_quantize_b_sse2() [all …]
|
D | avg_intrin_sse2.c | 259 __m128i coeff0 = load_tran_low(coeff); in vpx_hadamard_16x16_sse2() local 264 __m128i b0 = _mm_add_epi16(coeff0, coeff1); in vpx_hadamard_16x16_sse2() 265 __m128i b1 = _mm_sub_epi16(coeff0, coeff1); in vpx_hadamard_16x16_sse2() 274 coeff0 = _mm_add_epi16(b0, b2); in vpx_hadamard_16x16_sse2() 276 store_tran_low(coeff0, coeff); in vpx_hadamard_16x16_sse2()
|
/external/webp/src/dsp/ |
D | enc_sse41.c | 217 __m128i coeff0 = _mm_abs_epi16(in0); in DoQuantizeBlock() local 224 coeff0 = _mm_add_epi16(coeff0, sharpen0); in DoQuantizeBlock() 232 const __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in DoQuantizeBlock() 233 const __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in DoQuantizeBlock()
|
D | enc_msa.c | 234 v8i16 coeff0, coeff1; in CollectHistogram() local 237 LD_SH2(&out[0], 8, coeff0, coeff1); in CollectHistogram() 238 coeff0 = __msa_add_a_h(coeff0, zero); in CollectHistogram() 240 SRAI_H2_SH(coeff0, coeff1, 3); in CollectHistogram() 241 coeff0 = __msa_min_s_h(coeff0, max_coeff_thr); in CollectHistogram() 243 ST_SH2(coeff0, coeff1, &out[0], 8); in CollectHistogram()
|
D | enc_sse2.c | 1217 __m128i coeff0, coeff8; in DoQuantizeBlock() local 1234 coeff0 = _mm_xor_si128(in0, sign0); in DoQuantizeBlock() 1236 coeff0 = _mm_sub_epi16(coeff0, sign0); in DoQuantizeBlock() 1243 coeff0 = _mm_add_epi16(coeff0, sharpen0); in DoQuantizeBlock() 1251 const __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in DoQuantizeBlock() 1252 const __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in DoQuantizeBlock()
|
/external/skia/src/opts/ |
D | SkBitmapFilter_opts.h | 447 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; 449 coeff0 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask0)); 464 int32x4_t p0 = vmull_s16(p0_src, coeff0); 528 int16x4_t coeffs, coeff0, coeff1, coeff2, coeff3; 531 coeff0 = vreinterpret_s16_u8(vtbl1_u8(vreinterpret_u8_s16(coeffs), coeff_mask0)); 544 p0 = vmull_s16(vget_low_s16(p01_16), coeff0); \
|
/external/webp/src/enc/ |
D | quant_enc.c | 644 const uint32_t coeff0 = (sign ? -in[j] : in[j]) + mtx->sharpen_[j]; in TrellisQuantizeBlock() local 645 int level0 = QUANTDIV(coeff0, iQ, B); in TrellisQuantizeBlock() 646 int thresh_level = QUANTDIV(coeff0, iQ, BIAS(0x80)); in TrellisQuantizeBlock() 677 const int new_error = coeff0 - level * Q; in TrellisQuantizeBlock() 679 kWeightTrellis[j] * (new_error * new_error - coeff0 * coeff0); in TrellisQuantizeBlock()
|
/external/libvpx/libvpx/vp8/common/mips/msa/ |
D | vp8_macros_msa.h | 1706 #define DPADD_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2) \ argument 1711 out0_m = __msa_dotp_s_h((v16i8)in0, (v16i8)coeff0); \
|