/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/src/post_filter/ |
H A D | cdef.cc | 208 uint8_t primary_strength; in ApplyCdefForOneUnit() local 237 primary_strength = frame_header_.cdef.y_primary_strength[index] in ApplyCdefForOneUnit() 241 direction = (primary_strength == 0) ? 0 : direction_y; in ApplyCdefForOneUnit() 245 primary_strength = in ApplyCdefForOneUnit() 247 ? (primary_strength * (4 + variance_strength) + 8) >> 4 in ApplyCdefForOneUnit() 250 primary_strength = frame_header_.cdef.uv_primary_strength[index] in ApplyCdefForOneUnit() 255 (primary_strength == 0) in ApplyCdefForOneUnit() 261 if ((primary_strength | secondary_strength) == 0) { in ApplyCdefForOneUnit() 279 primary_strength, secondary_strength, damping, in ApplyCdefForOneUnit()
|
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/ |
H A D | cdef.cc | 128 const int primary_strength, const int secondary_strength, in CdefFilter_C() argument 138 assert(primary_strength >= 0 && primary_strength <= 15 << coeff_shift); in CdefFilter_C() 141 assert(primary_strength != 0 || secondary_strength != 0); in CdefFilter_C() 174 sum += Constrain(value - pixel_value, primary_strength, damping) * in CdefFilter_C() 175 kCdefPrimaryTaps[(primary_strength >> coeff_shift) & 1][k]; in CdefFilter_C()
|
H A D | dsp.h | 366 int primary_strength, int secondary_strength,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libgav1/src/src/dsp/ |
H A 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()
|
H A D | dsp.h | 340 int primary_strength, int secondary_strength,
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/src/dsp/x86/ |
H A D | cdef_sse4.cc | 361 const int direction, const int primary_strength, in DoCdef() argument 368 if (primary_strength == 0) { in DoCdef() 372 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in DoCdef() 383 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][0]); in DoCdef() 385 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][1]); in DoCdef() 392 const __m128i primary_threshold = _mm_set1_epi16(primary_strength); in DoCdef() 564 const int primary_strength, const int secondary_strength, in CdefFilter_SSE4_1() argument 575 DoCdef<8>(src, source_stride, block_height, direction, primary_strength, in CdefFilter_SSE4_1() 578 DoCdef<4>(src, source_stride, block_height, direction, primary_strength, in CdefFilter_SSE4_1() 582 DoCdef<2>(src, source_stride, block_height, direction, primary_strength, in CdefFilter_SSE4_1()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/src/dsp/arm/ |
H A D | cdef_neon.cc | 333 const int direction, const int primary_strength, in DoCdef() argument 339 const int16x8_t primary_threshold = vdupq_n_s16(primary_strength); in DoCdef() 344 if (primary_strength == 0) { in DoCdef() 348 vdupq_n_s16(-std::max(0, damping - FloorLog2(primary_strength))); in DoCdef() 358 const int primary_tap_0 = kCdefPrimaryTaps[primary_strength & 1][0]; in DoCdef() 359 const int primary_tap_1 = kCdefPrimaryTaps[primary_strength & 1][1]; in DoCdef() 500 const int subsampling_y, const int primary_strength, in CdefFilter_NEON() argument 512 DoCdef<8>(src, source_stride, block_height, direction, primary_strength, in CdefFilter_NEON() 516 DoCdef<4>(src, source_stride, block_height, direction, primary_strength, in CdefFilter_NEON()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libgav1/src/src/dsp/ |
H A D | cdef.cc | 124 const int subsampling_y, const int primary_strength, in CdefFilter_C() argument 158 sum += Constrain(value - pixel_value, primary_strength, damping) * in CdefFilter_C() 159 kCdefPrimaryTaps[(primary_strength >> coeff_shift) & 1][k]; in CdefFilter_C()
|
H A D | dsp.h | 342 int subsampling_y, int primary_strength,
|
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/x86/ |
H A D | cdef_avx2.cc | 578 const int primary_strength, const int secondary_strength, in CdefFilter_AVX2() argument 593 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_AVX2() 603 _mm_cvtsi32_si128(kCdefPrimaryTaps[primary_strength & 1][0])); in CdefFilter_AVX2() 605 _mm_cvtsi32_si128(kCdefPrimaryTaps[primary_strength & 1][1])); in CdefFilter_AVX2() 613 _mm256_broadcastw_epi16(_mm_cvtsi32_si128(primary_strength)); in CdefFilter_AVX2()
|
H A D | cdef_sse4.cc | 516 const int primary_strength, const int secondary_strength, in CdefFilter_SSE4_1() argument 532 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_SSE4_1() 543 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][0]); in CdefFilter_SSE4_1() 545 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][1]); in CdefFilter_SSE4_1() 550 const __m128i primary_threshold = _mm_set1_epi16(primary_strength); in CdefFilter_SSE4_1()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libgav1/src/src/dsp/x86/ |
H A D | cdef_sse4.cc | 510 const int height, const int primary_strength, in CdefFilter_SSE4_1() argument 526 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_SSE4_1() 537 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][0]); in CdefFilter_SSE4_1() 539 _mm_set1_epi16(kCdefPrimaryTaps[primary_strength & 1][1]); in CdefFilter_SSE4_1() 544 const __m128i primary_threshold = _mm_set1_epi16(primary_strength); in CdefFilter_SSE4_1()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libgav1/src/src/dsp/arm/ |
H A D | cdef_neon.cc | 475 const int height, const int primary_strength, in CdefFilter_NEON() argument 485 const uint16x8_t primary_threshold = vdupq_n_u16(primary_strength); in CdefFilter_NEON() 496 vdupq_n_s16(-std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_NEON() 506 const int primary_tap_0 = kCdefPrimaryTaps[primary_strength & 1][0]; in CdefFilter_NEON() 507 const int primary_tap_1 = kCdefPrimaryTaps[primary_strength & 1][1]; in CdefFilter_NEON()
|
/dports/multimedia/libgav1/libgav1-0.17.0/src/dsp/arm/ |
H A D | cdef_neon.cc | 568 const int primary_strength, const int secondary_strength, in CdefFilter_NEON() argument 577 const uint16x8_t primary_threshold = vdupq_n_u16(primary_strength); in CdefFilter_NEON() 590 vdupq_n_s16(-std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_NEON() 609 kCdefPrimaryTaps[(primary_strength >> coeff_shift) & 1][0]; in CdefFilter_NEON() 611 kCdefPrimaryTaps[(primary_strength >> coeff_shift) & 1][1]; in CdefFilter_NEON()
|
/dports/multimedia/libgav1/libgav1-0.17.0/src/post_filter/ |
H A D | cdef.cc | 431 const uint8_t primary_strength = in ApplyCdefForOneUnit() local 435 if ((primary_strength | y_secondary_strength) == 0) { in ApplyCdefForOneUnit() 443 (static_cast<int>(primary_strength == 0) << 1); in ApplyCdefForOneUnit() 446 primary_strength, y_secondary_strength, in ApplyCdefForOneUnit()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libgav1/src/src/post_filter/ |
H A D | cdef.cc | 423 const uint8_t primary_strength = in ApplyCdefForOneUnit() local 427 if ((primary_strength | y_secondary_strength) == 0) { in ApplyCdefForOneUnit() 434 y_strength_index | (static_cast<int>(primary_strength == 0) << 1); in ApplyCdefForOneUnit() 437 primary_strength, y_secondary_strength, in ApplyCdefForOneUnit()
|