| commit | 0d5fad46cf5e78906dee006614587656d07648f4 | [log] [tgz] |
|---|---|---|
| author | James Zern <jzern@google.com> | Tue Apr 17 03:19:54 2018 |
| committer | James Zern <jzern@google.com> | Wed Apr 18 01:01:34 2018 |
| tree | 1a5a5c8921c2fd4f7205c51b16874fea30712ab2 | |
| parent | c1cb86af5f9cdea7afe2fff54d0e04b085d1e186 [diff] |
add WEBP_DSP_INIT / WEBP_DSP_INIT_FUNC this internalizes the init checks and provides stronger synchronization with pthreads when available while still allowing VP8GetCPUInfo to be modified (mostly for testing purposes). windows is left as is since a critical section or mutex would cause a leak. Change-Id: Ieb997e014f2805c0ae39c16f13337663521356f4 (cherry picked from commit d77bf512bd0c4ff53019e357a2d24f6c4e3fbefc)