Searched refs:acc_diff (Results 1 – 3 of 3) sorted by relevance
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_denoiser_sse2.c | 23 static INLINE int sum_diff_16x1(__m128i acc_diff) { in sum_diff_16x1() argument 26 _mm_srai_epi16(_mm_unpacklo_epi8(acc_diff, acc_diff), 8); in sum_diff_16x1() 28 _mm_srai_epi16(_mm_unpackhi_epi8(acc_diff, acc_diff), 8); in sum_diff_16x1() 43 const __m128i *l21, __m128i acc_diff) { in vp9_denoiser_16x1_sse2() argument 84 acc_diff = _mm_adds_epi8(acc_diff, padj); in vp9_denoiser_16x1_sse2() 85 acc_diff = _mm_subs_epi8(acc_diff, nadj); in vp9_denoiser_16x1_sse2() 86 return acc_diff; in vp9_denoiser_16x1_sse2() 92 const __m128i k_0, const __m128i k_delta, __m128i acc_diff) { in vp9_denoiser_adj_16x1_sse2() argument 114 acc_diff = _mm_subs_epi8(acc_diff, padj); in vp9_denoiser_adj_16x1_sse2() 115 acc_diff = _mm_adds_epi8(acc_diff, nadj); in vp9_denoiser_adj_16x1_sse2() [all …]
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | denoising_sse2.c | 21 static INLINE unsigned int abs_sum_diff_16x1(__m128i acc_diff) { in abs_sum_diff_16x1() argument 24 _mm_srai_epi16(_mm_unpacklo_epi8(acc_diff, acc_diff), 8); in abs_sum_diff_16x1() 26 _mm_srai_epi16(_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 106 acc_diff = _mm_adds_epi8(acc_diff, padj); in vp8_denoiser_filter_sse2() 107 acc_diff = _mm_subs_epi8(acc_diff, nadj); in vp8_denoiser_filter_sse2() 117 unsigned int abs_sum_diff = abs_sum_diff_16x1(acc_diff); in vp8_denoiser_filter_sse2() 161 acc_diff = _mm_subs_epi8(acc_diff, padj); in vp8_denoiser_filter_sse2() 162 acc_diff = _mm_adds_epi8(acc_diff, nadj); in vp8_denoiser_filter_sse2() 169 abs_sum_diff = abs_sum_diff_16x1(acc_diff); in vp8_denoiser_filter_sse2() [all …]
|
/external/webrtc/modules/video_processing/util/ |
D | denoiser_filter_sse2.cc | 86 static uint32_t AbsSumDiff16x1(__m128i acc_diff) { in AbsSumDiff16x1() argument 89 _mm_srai_epi16(_mm_unpacklo_epi8(acc_diff, acc_diff), 8); in AbsSumDiff16x1() 91 _mm_srai_epi16(_mm_unpackhi_epi8(acc_diff, acc_diff), 8); in AbsSumDiff16x1() 138 __m128i acc_diff = _mm_setzero_si128(); in MbDenoise() local 194 acc_diff = _mm_adds_epi8(acc_diff, padj); in MbDenoise() 195 acc_diff = _mm_subs_epi8(acc_diff, nadj); in MbDenoise() 204 unsigned int abs_sum_diff = AbsSumDiff16x1(acc_diff); in MbDenoise()
|