Home
last modified time | relevance | path

Searched refs:WebRtcSpl_CountLeadingZeros32 (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/common_audio/signal_processing/include/
Dspl_inl.h46 static __inline int WebRtcSpl_CountLeadingZeros32(uint32_t n) { in WebRtcSpl_CountLeadingZeros32() function
124 return 32 - WebRtcSpl_CountLeadingZeros32(n); in WebRtcSpl_GetSizeInBits()
130 return a == 0 ? 0 : WebRtcSpl_CountLeadingZeros32(a < 0 ? ~a : a) - 1; in WebRtcSpl_NormW32()
136 return a == 0 ? 0 : WebRtcSpl_CountLeadingZeros32(a); in WebRtcSpl_NormU32()
143 return a == 0 ? 0 : WebRtcSpl_CountLeadingZeros32(a < 0 ? ~a32 : a32) - 17; in WebRtcSpl_NormW16()
/external/webrtc/common_audio/signal_processing/
Dsignal_processing_unittest.cc141 EXPECT_EQ(32, WebRtcSpl_CountLeadingZeros32(0)); in TEST()
146 EXPECT_EQ(31 - i, WebRtcSpl_CountLeadingZeros32(single_one)); in TEST()
148 EXPECT_EQ(31 - i, WebRtcSpl_CountLeadingZeros32(all_ones)); in TEST()