dplug.canvas.misc

Miscellaneous functions for dplug:canvas internals.

Public Imports

inteli
public import inteli;
Undocumented in source.

Members

Aliases

fabs
alias fabs = llvm_fabs
Undocumented in source.
intr_bsf
alias intr_bsf = llvm_ctlz
Undocumented in source.
intr_bsr
alias intr_bsr = llvm_cttz
Undocumented in source.

Functions

_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.

Imports

abs (from std.math)
public import std.math : sqrt, abs;
Undocumented in source.
sqrt (from std.math)
public import std.math : sqrt, abs;
Undocumented in source.

Structs

ArenaAllocator
struct ArenaAllocator(T, uint blockSize)
Undocumented in source.

Meta