/external/libaom/libaom/aom_dsp/x86/ |
D | loopfilter_sse2.c | 248 __m128i abs_p0q0, abs_p1q1; in lpf_internal_4_sse2() local 272 abs_p1q1 = _mm_srli_si128(abs_p1q1p0q0, 4); /* abs(p1 - q1) */ in lpf_internal_4_sse2() 273 abs_p1q1 = _mm_unpacklo_epi8(abs_p1q1, abs_p1q1); in lpf_internal_4_sse2() 274 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 9); in lpf_internal_4_sse2() 275 abs_p1q1 = _mm_packs_epi16(abs_p1q1, abs_p1q1); /* abs(p1 - q1) / 2 */ in lpf_internal_4_sse2() 278 mask = _mm_adds_epu8(abs_p0q0, abs_p1q1); in lpf_internal_4_sse2() 291 __m128i abs_p0q0, abs_p1q1; in lpf_internal_4_dual_sse2() local 316 abs_p1q1 = _mm_unpackhi_epi8(abs_p1q1p0q0, abs_p1q1p0q0); /* abs(p1 - q1) */ in lpf_internal_4_dual_sse2() 317 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 9); in lpf_internal_4_dual_sse2() 318 abs_p1q1 = _mm_packs_epi16(abs_p1q1, abs_p1q1); /* abs(p1 - q1) / 2 */ in lpf_internal_4_dual_sse2() [all …]
|
D | highbd_loopfilter_sse2.c | 87 __m128i abs_p1q1 = abs_diff16(p[1], q[1]); in highbd_filter_mask_dual() local 89 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); in highbd_filter_mask_dual() 95 __m128i max = _mm_subs_epu16(_mm_adds_epu16(abs_p0q0, abs_p1q1), *bl); in highbd_filter_mask_dual() 116 __m128i abs_p0q0_p1q1, abs_p0q0, abs_p1q1, abs_q1q0; in highbd_hev_filter_mask_x_sse2() local 126 abs_p1q1 = _mm_srli_si128(abs_p0q0_p1q1, 8); in highbd_hev_filter_mask_x_sse2() 127 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); // divide by 2 in highbd_hev_filter_mask_x_sse2() 129 max = _mm_subs_epu16(_mm_adds_epu16(abs_p0q0, abs_p1q1), *bl); in highbd_hev_filter_mask_x_sse2() 835 __m128i abs_p1q1, abs_p0q0, abs_p1p0, abs_p2p1, abs_q1q0, abs_q2q1; in highbd_lpf_internal_6_dual_sse2() local 850 abs_p1q1 = abs_diff16(*p1, *q1); in highbd_lpf_internal_6_dual_sse2() 853 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); in highbd_lpf_internal_6_dual_sse2() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_sse2.c | 29 __m128i abs_p0q0, abs_p1q1, work; \ 41 abs_p1q1 = \ 43 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 9); \ 44 abs_p1q1 = _mm_packs_epi16(abs_p1q1, abs_p1q1); /* abs(p1 - q1) / 2 */ \ 46 mask = _mm_adds_epu8(abs_p0q0, abs_p1q1); \ 263 __m128i abs_p1q1, abs_p0q0, abs_q1q0, fe, ff, work; in vpx_lpf_horizontal_16_sse2() local 269 abs_p1q1 = abs_diff(q1p1, p1q1); in vpx_lpf_horizontal_16_sse2() 275 abs_p1q1 = _mm_srli_epi16(_mm_and_si128(abs_p1q1, fe), 1); in vpx_lpf_horizontal_16_sse2() 276 mask = _mm_subs_epu8(_mm_adds_epu8(abs_p0q0, abs_p1q1), blimit_v); in vpx_lpf_horizontal_16_sse2() 634 __m128i abs_p1q1 = abs_diff(p1, q1); in vpx_lpf_horizontal_16_dual_sse2() local [all …]
|
D | highbd_loopfilter_sse2.c | 60 __m128i abs_p0q0, abs_p1q1, ffff, work; in vpx_highbd_lpf_horizontal_16_sse2() local 110 abs_p1q1 = _mm_or_si128(_mm_subs_epu16(p1, q1), _mm_subs_epu16(q1, p1)); in vpx_highbd_lpf_horizontal_16_sse2() 118 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); // abs(p1 - q1) / 2 in vpx_highbd_lpf_horizontal_16_sse2() 119 mask = _mm_subs_epu16(_mm_adds_epu16(abs_p0q0, abs_p1q1), blimit_v); in vpx_highbd_lpf_horizontal_16_sse2() 508 __m128i abs_p1q1, abs_p0q0, abs_q1q0, abs_p1p0, work; in vpx_highbd_lpf_horizontal_8_sse2() local 554 abs_p1q1 = _mm_or_si128(_mm_subs_epu16(p1, q1), _mm_subs_epu16(q1, p1)); in vpx_highbd_lpf_horizontal_8_sse2() 560 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); in vpx_highbd_lpf_horizontal_8_sse2() 561 mask = _mm_subs_epu16(_mm_adds_epu16(abs_p0q0, abs_p1q1), blimit_v); in vpx_highbd_lpf_horizontal_8_sse2() 742 __m128i abs_p1q1 = in vpx_highbd_lpf_horizontal_4_sse2() local 808 abs_p1q1 = _mm_srli_epi16(abs_p1q1, 1); in vpx_highbd_lpf_horizontal_4_sse2() [all …]
|
D | loopfilter_avx2.c | 51 __m128i abs_p1q1, abs_p0q0, abs_q1q0, fe, ff, work; in vpx_lpf_horizontal_16_avx2() local 59 abs_p1q1 = in vpx_lpf_horizontal_16_avx2() 66 abs_p1q1 = _mm_srli_epi16(_mm_and_si128(abs_p1q1, fe), 1); in vpx_lpf_horizontal_16_avx2() 67 mask = _mm_subs_epu8(_mm_adds_epu8(abs_p0q0, abs_p1q1), blimit_v); in vpx_lpf_horizontal_16_avx2() 430 __m128i abs_p1q1 = in vpx_lpf_horizontal_16_dual_avx2() local 438 abs_p1q1 = _mm_srli_epi16(_mm_and_si128(abs_p1q1, fe), 1); in vpx_lpf_horizontal_16_dual_avx2() 439 mask = _mm_subs_epu8(_mm_adds_epu8(abs_p0q0, abs_p1q1), blimit_v); in vpx_lpf_horizontal_16_dual_avx2()
|