Home
last modified time | relevance | path

Searched refs:acc_diff (Results 1 – 3 of 3) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_denoiser_sse2.c24 static INLINE int sum_diff_16x1(__m128i acc_diff) { in sum_diff_16x1() argument
27 _mm_srai_epi16(_mm_unpacklo_epi8(acc_diff, acc_diff), 8); in sum_diff_16x1()
29 _mm_srai_epi16(_mm_unpackhi_epi8(acc_diff, acc_diff), 8); in sum_diff_16x1()
50 __m128i acc_diff) { in vp9_denoiser_16x1_sse2() argument
91 acc_diff = _mm_adds_epi8(acc_diff, padj); in vp9_denoiser_16x1_sse2()
92 acc_diff = _mm_subs_epi8(acc_diff, nadj); in vp9_denoiser_16x1_sse2()
93 return acc_diff; in vp9_denoiser_16x1_sse2()
100 const __m128i k_delta, __m128i acc_diff) { in vp9_denoiser_adj_16x1_sse2() argument
123 acc_diff = _mm_subs_epi8(acc_diff, padj); in vp9_denoiser_adj_16x1_sse2()
124 acc_diff = _mm_adds_epi8(acc_diff, nadj); in vp9_denoiser_adj_16x1_sse2()
[all …]
/external/libvpx/libvpx/vp8/encoder/x86/
Ddenoising_sse2.c21 static INLINE unsigned int abs_sum_diff_16x1(__m128i acc_diff) { in abs_sum_diff_16x1() argument
24 _mm_unpacklo_epi8(acc_diff, acc_diff), 8); in abs_sum_diff_16x1()
26 _mm_unpackhi_epi8(acc_diff, acc_diff), 8); in abs_sum_diff_16x1()
51 __m128i acc_diff = _mm_setzero_si128(); in vp8_denoiser_filter_sse2() local
108 acc_diff = _mm_adds_epi8(acc_diff, padj); in vp8_denoiser_filter_sse2()
109 acc_diff = _mm_subs_epi8(acc_diff, nadj); in vp8_denoiser_filter_sse2()
119 unsigned int abs_sum_diff = abs_sum_diff_16x1(acc_diff); in vp8_denoiser_filter_sse2()
164 acc_diff = _mm_subs_epi8(acc_diff, padj); in vp8_denoiser_filter_sse2()
165 acc_diff = _mm_adds_epi8(acc_diff, nadj); in vp8_denoiser_filter_sse2()
172 abs_sum_diff = abs_sum_diff_16x1(acc_diff); in vp8_denoiser_filter_sse2()
[all …]
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_sse2.cc84 static uint32_t AbsSumDiff16x1(__m128i acc_diff) { in AbsSumDiff16x1() argument
87 _mm_srai_epi16(_mm_unpacklo_epi8(acc_diff, acc_diff), 8); in AbsSumDiff16x1()
89 _mm_srai_epi16(_mm_unpackhi_epi8(acc_diff, acc_diff), 8); in AbsSumDiff16x1()
146 __m128i acc_diff = _mm_setzero_si128(); in MbDenoise() local
202 acc_diff = _mm_adds_epi8(acc_diff, padj); in MbDenoise()
203 acc_diff = _mm_subs_epi8(acc_diff, nadj); in MbDenoise()
213 unsigned int abs_sum_diff = AbsSumDiff16x1(acc_diff); in MbDenoise()
260 acc_diff = _mm_subs_epi8(acc_diff, padj); in MbDenoise()
261 acc_diff = _mm_adds_epi8(acc_diff, nadj); in MbDenoise()
268 abs_sum_diff = AbsSumDiff16x1(acc_diff); in MbDenoise()