Home
last modified time | relevance | path

Searched refs:flat_thresh (Results 1 – 4 of 4) sorted by relevance

/external/libgav1/libgav1/src/dsp/
Dloop_filter.cc183 inline bool IsFlat3(const Pixel* p, ptrdiff_t step, int flat_thresh) { in IsFlat3() argument
186 return std::abs(p1 - p0) <= flat_thresh && std::abs(q1 - q0) <= flat_thresh && in IsFlat3()
187 std::abs(p2 - p0) <= flat_thresh && std::abs(q2 - q0) <= flat_thresh; in IsFlat3()
218 const int flat_thresh = LoopFilterFuncs_C<bitdepth, Pixel>::kFlatThresh; in Vertical6() local
224 if (IsFlat3(dst, 1, flat_thresh)) { in Vertical6()
242 const int flat_thresh = LoopFilterFuncs_C<bitdepth, Pixel>::kFlatThresh; in Horizontal6() local
248 if (IsFlat3(dst, stride, flat_thresh)) { in Horizontal6()
281 inline bool IsFlat4(const Pixel* p, ptrdiff_t step, int flat_thresh) { in IsFlat4() argument
285 return std::abs(p1 - p0) <= flat_thresh && std::abs(q1 - q0) <= flat_thresh && in IsFlat4()
286 std::abs(p2 - p0) <= flat_thresh && std::abs(q2 - q0) <= flat_thresh && in IsFlat4()
[all …]
/external/libaom/libaom/aom_dsp/mips/
Dloopfilter_masks_dspr2.h137 uint32_t flat_thresh = 0x01010101; in filter_hev_mask_flatmask4_dspr2() local
235 [thresh] "r"(thresh), [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in filter_hev_mask_flatmask4_dspr2()
276 uint32_t flat_thresh = 0x01010101; in flatmask5() local
348 [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in flatmask5()
/external/libvpx/libvpx/vpx_dsp/mips/
Dloopfilter_masks_dspr2.h135 uint32_t flat_thresh = 0x01010101; in filter_hev_mask_flatmask4_dspr2() local
233 [thresh] "r"(thresh), [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in filter_hev_mask_flatmask4_dspr2()
274 uint32_t flat_thresh = 0x01010101; in flatmask5() local
346 [flat_thresh] "r"(flat_thresh), [ones] "r"(ones)); in flatmask5()
/external/libgav1/libgav1/src/dsp/x86/
Dloop_filter_sse4.cc275 const __m128i& qp0, const __m128i& flat_thresh) { in IsFlat3() argument
280 _mm_max_epu8(max_pq, _mm_srli_si128(max_pq, 4)), flat_thresh); in IsFlat3()
505 const __m128i& flat_thresh) { in IsFlat4() argument
512 _mm_max_epu8(max_pq, _mm_srli_si128(max_pq, 4)), flat_thresh); in IsFlat4()
1379 const __m128i& qp0, const __m128i& flat_thresh) { in IsFlat3() argument
1384 _mm_max_epu16(max_pq, _mm_srli_si128(max_pq, 8)), flat_thresh); in IsFlat3()
1621 const __m128i& flat_thresh) { in IsFlat4() argument
1628 _mm_max_epu16(max_pq, _mm_srli_si128(max_pq, 8)), flat_thresh); in IsFlat4()