commit | 729b21f97f3d849b1ef2bd61114e4b39d073884d | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Thu Jun 02 11:02:12 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 02 11:02:22 2016 |
tree | 55f53cbf75c4c5a2b2c079a5fbaac3078c0e973e | |
parent | 116e4d4faec0439d7bec53db547320d00015572c [diff] |
Add clz functions (Count number of Leading Zero bits), 32-and 64-bit variants Using __builtin_clz on gcc/clang, and a fallback implementation otherwise. Also redefine WebRtcSpl_GetSizeInBits(x) as simply 32 - clz32(x). BUG=chromium:601787 Review-Url: https://codereview.webrtc.org/2014023002 Cr-Commit-Position: refs/heads/master@{#13014}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.