/external/libaom/libaom/aom_dsp/arm/ |
D | loopfilter_neon.c | 21 static INLINE uint8x8_t lpf_mask(uint8x8_t p3q3, uint8x8_t p2q2, uint8x8_t p1q1, in lpf_mask() argument 33 mask_8x8 = vmax_u8(mask_8x8, vabd_u8(p2q2, p1q1)); in lpf_mask() 34 mask_8x8 = vmax_u8(mask_8x8, vabd_u8(p1q1, p0q0)); in lpf_mask() 40 p0q0_p1q1 = vtrn_u32(vreinterpret_u32_u8(p0q0), vreinterpret_u32_u8(p1q1)); in lpf_mask() 55 static INLINE uint8x8_t lpf_mask2(uint8x8_t p1q1, uint8x8_t p0q0, in lpf_mask2() argument 64 mask_8x8 = vabd_u8(p1q1, p0q0); in lpf_mask2() 70 p0q0_p1q1 = vtrn_u32(vreinterpret_u32_u8(p0q0), vreinterpret_u32_u8(p1q1)); in lpf_mask2() 86 uint8x8_t p1q1, uint8x8_t p0q0) { in lpf_flat_mask4() argument 90 flat_8x8 = vabd_u8(p1q1, p0q0); in lpf_flat_mask4() 101 static INLINE uint8x8_t lpf_flat_mask3(uint8x8_t p2q2, uint8x8_t p1q1, in lpf_flat_mask3() argument [all …]
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | loop_filter_neon.cc | 42 inline uint8x8_t OuterThreshold(const uint8x8_t p0q0, const uint8x8_t p1q1, in OuterThreshold() argument 44 const uint8x8x2_t a = Interleave32(p0q0, p1q1); in OuterThreshold() 55 const uint8x8_t p0q0, const uint8x8_t p1q1, in NeedsFilter4() argument 60 const uint8x8_t outer_mask = OuterThreshold(p0q0, p1q1, outer_thresh); in NeedsFilter4() 64 inline void Filter4Masks(const uint8x8_t p0q0, const uint8x8_t p1q1, in Filter4Masks() argument 68 const uint8x8_t p0p1_q0q1 = vabd_u8(p0q0, p1q1); in Filter4Masks() 74 NeedsFilter4(p0p1_q0q1, p0q0, p1q1, inner_thresh, outer_thresh); in Filter4Masks() 139 const uint8x8_t p1q1 = Load4<1>(dst + stride, p1_v); in Horizontal4_NEON() local 143 Filter4Masks(p0q0, p1q1, hev_thresh, outer_thresh, inner_thresh, &hev_mask, in Horizontal4_NEON() 163 const uint8x8x2_t q0p1xp0q1 = Interleave32(Transpose32(p0q0), p1q1); in Horizontal4_NEON() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_avx2.c | 23 __m128i q7p7, q6p6, q5p5, q4p4, q3p3, q2p2, q1p1, q0p0, p0q0, p1q1; in vpx_lpf_horizontal_16_avx2() local 44 p1q1 = _mm_shuffle_epi32(q1p1, 78); in vpx_lpf_horizontal_16_avx2() 60 _mm_or_si128(_mm_subs_epu8(q1p1, p1q1), _mm_subs_epu8(p1q1, q1p1)); in vpx_lpf_horizontal_16_avx2() 92 __m128i qs1 = _mm_xor_si128(p1q1, t80); in vpx_lpf_horizontal_16_avx2()
|
D | loopfilter_sse2.c | 241 __m128i q7p7, q6p6, q5p5, q4p4, q3p3, q2p2, q1p1, q0p0, p0q0, p1q1; in vpx_lpf_horizontal_16_sse2() local 256 p1q1 = _mm_shuffle_epi32(q1p1, 78); in vpx_lpf_horizontal_16_sse2() 269 abs_p1q1 = abs_diff(q1p1, p1q1); in vpx_lpf_horizontal_16_sse2() 299 __m128i qs1 = _mm_xor_si128(p1q1, t80); in vpx_lpf_horizontal_16_sse2() 941 __m128i q3p3, q2p2, q1p1, q0p0, p1q1, p0q0; in vpx_lpf_horizontal_8_sse2() local 951 p1q1 = _mm_shuffle_epi32(q1p1, 78); in vpx_lpf_horizontal_8_sse2() 964 abs_p1q1 = abs_diff(q1p1, p1q1); in vpx_lpf_horizontal_8_sse2()
|