Home
last modified time | relevance | path

Searched refs:FloorLog2 (Results 1 – 17 of 17) sorted by relevance

/external/libgav1/libgav1/src/utils/
Dcommon.h197 inline int FloorLog2(int32_t n) { in FloorLog2() function
202 inline int FloorLog2(uint32_t n) { in FloorLog2() function
207 inline int FloorLog2(int64_t n) { in FloorLog2() function
212 inline int FloorLog2(uint64_t n) { in FloorLog2() function
222 return (n < 2) ? 0 : FloorLog2(n - 1) + 1; in CeilLog2()
Dbit_reader.cc58 const int w = FloorLog2(n) + 1; in DecodeUniform()
Dentropy_decoder.cc1096 const int bits_used = 15 ^ FloorLog2(values_in_range_); in NormalizeRange()
/external/libgav1/libgav1/src/dsp/x86/
Dcdef_avx2.cc589 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_AVX2()
594 assert(damping - FloorLog2(secondary_strength) >= 0); in CdefFilter_AVX2()
596 _mm_cvtsi32_si128(damping - FloorLog2(secondary_strength)); in CdefFilter_AVX2()
Dcdef_sse4.cc527 _mm_cvtsi32_si128(std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_SSE4_1()
532 assert(damping - FloorLog2(secondary_strength) >= 0); in CdefFilter_SSE4_1()
534 _mm_cvtsi32_si128(damping - FloorLog2(secondary_strength)); in CdefFilter_SSE4_1()
/external/libgav1/libgav1/src/dsp/arm/
Dcdef_neon.cc495 vdupq_n_s16(-std::max(0, damping - FloorLog2(primary_strength))); in CdefFilter_NEON()
500 assert(damping - FloorLog2(secondary_strength) >= 0); in CdefFilter_NEON()
502 vdupq_n_s16(-(damping - FloorLog2(secondary_strength))); in CdefFilter_NEON()
Dintrapred_cfl_neon.cc37 return RightShiftWithRounding(sum, FloorLog2(width) + FloorLog2(height)); in Average()
/external/libgav1/libgav1/src/
Dwarp_prediction.cc69 const int n = FloorLog2(std::abs(value)); in GenerateApproximateDivisor()
Ddecoder_impl.cc377 const int superblock_size4x4_log2 = FloorLog2(superblock_size4x4); in DecodeSuperBlockRowInTile()
/external/libgav1/libgav1/src/dsp/
Dintrapred_cfl.cc92 sum, FloorLog2(block_width) + FloorLog2(block_height)); in CflSubsampler_C()
Dcdef.cc113 damping = std::max(0, damping - FloorLog2(threshold)); in Constrain()
Dintrapred.cc71 const int dc = sum >> FloorLog2(block_width); in DcTop()
88 const int dc = sum >> FloorLog2(block_height); in DcLeft()
/external/libgav1/libgav1/src/tile/
Dprediction.cc89 return FloorLog2(dimension) - 2; in GetInterIntraMaskLookupIndex()
783 dsp_.weight_mask[FloorLog2(prediction_width) - 3] in InterPrediction()
784 [FloorLog2(prediction_height) - 3] in InterPrediction()
/external/libgav1/libgav1/src/post_filter/
Dcdef.cc423 ((variance >> 6) != 0) ? std::min(FloorLog2(variance >> 6), 12) : 0; in ApplyCdefForOneUnit()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dneon_tensor_utils.cc130 row_rect > 0 ? FloorLog2(row_rect) : FloorLog2(col_rect); in UseCpuBackendGemm()
131 int batch_lg2 = FloorLog2(batch); in UseCpuBackendGemm()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h270 inline Integer FloorLog2(Integer n) { in FloorLog2() function
Dtensor_utils_test.cc58 EXPECT_EQ(::tflite::FloorLog2(i), in TEST()