- _mm_broadcast_alpha
__m128i _mm_broadcast_alpha(__m128i x)
Undocumented in source. Be warned that the author may not have intended to support it.
- _mm_clamp_0_to_N_epi32
__m128i _mm_clamp_0_to_N_epi32(__m128i v, short max)
Undocumented in source. Be warned that the author may not have intended to support it.
- clip
T clip(T x, T min, T max)
Undocumented in source. Be warned that the author may not have intended to support it.
- intr_bsr
T intr_bsr(T src, bool isZeroUndefined)
Undocumented in source. Be warned that the author may not have intended to support it.
- isPow2
bool isPow2(int x)
Undocumented in source. Be warned that the author may not have intended to support it.
- max
T max(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
- min
T min(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
- nextSetBit
int nextSetBit(ulong* mask, int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
- nextSetBit
int nextSetBit(uint* mask, int start, int end)
Undocumented in source. Be warned that the author may not have intended to support it.
- roundUpPow2
uint roundUpPow2(uint x)
Undocumented in source. Be warned that the author may not have intended to support it.
- roundUpPow2
ulong roundUpPow2(ulong x)
Undocumented in source. Be warned that the author may not have intended to support it.
- roundUpTo
uint roundUpTo(uint x, uint q)
Undocumented in source. Be warned that the author may not have intended to support it.
Miscellaneous functions for dplug:canvas internals.