Searched refs:primary_strength (Results 1 – 6 of 6) sorted by relevance
/external/libgav1/libgav1/src/dsp/ |
D | cdef.cc | 125 const int block_height, const int primary_strength, in CdefFilter_C() argument 135 assert(primary_strength >= 0 && primary_strength <= 15 << coeff_shift); in CdefFilter_C() 138 assert(primary_strength != 0 || secondary_strength != 0); in CdefFilter_C() 171 sum += Constrain(value - pixel_value, primary_strength, damping) * in CdefFilter_C() 172 kCdefPrimaryTaps[(primary_strength >> coeff_shift) & 1][k]; in CdefFilter_C()
|
D | dsp.h | 349 int primary_strength, int secondary_strength,
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | cdef_avx2.cc | 573 const int height, const int primary_strength, in CdefFilter_AVX2() argument 589 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_AVX2() 599 _mm_cvtsi32_si128(kCdefPrimaryTaps[primary_strength & 1][0])); in CdefFilter_AVX2() 601 _mm_cvtsi32_si128(kCdefPrimaryTaps[primary_strength & 1][1])); in CdefFilter_AVX2() 609 _mm256_broadcastw_epi16(_mm_cvtsi32_si128(primary_strength)); in CdefFilter_AVX2()
|
D | cdef_sse4.cc | 511 const int height, const int primary_strength, in CdefFilter_SSE4_1() argument 527 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_SSE4_1() 538 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][0]); in CdefFilter_SSE4_1() 540 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][1]); in CdefFilter_SSE4_1() 545 const __m128i primary_threshold = _mm_set1_epi16(primary_strength); in CdefFilter_SSE4_1()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | cdef_neon.cc | 474 const int height, const int primary_strength, in CdefFilter_NEON() argument 484 const uint16x8_t primary_threshold = vdupq_n_u16(primary_strength); in CdefFilter_NEON() 495 vdupq_n_s16(-std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_NEON() 505 const int primary_tap_0 = kCdefPrimaryTaps[primary_strength & 1][0]; in CdefFilter_NEON() 506 const int primary_tap_1 = kCdefPrimaryTaps[primary_strength & 1][1]; in CdefFilter_NEON()
|
/external/libgav1/libgav1/src/post_filter/ |
D | cdef.cc | 424 const uint8_t primary_strength = in ApplyCdefForOneUnit() local 428 if ((primary_strength | y_secondary_strength) == 0) { in ApplyCdefForOneUnit() 435 y_strength_index | (static_cast<int>(primary_strength == 0) << 1); in ApplyCdefForOneUnit() 438 primary_strength, y_secondary_strength, in ApplyCdefForOneUnit()
|