ffmpeg.libavutil.lfg

Undocumented in source.

Members

Functions

av_bmg_get
void av_bmg_get(AVLFG* lfg, double[2] out_)

Get the next two numbers generated by a Box-Muller Gaussian generator using the random numbers issued by lfg.

av_lfg_get
uint av_lfg_get(AVLFG* c)

Get the next random unsigned 32-bit number using an ALFG.

av_lfg_init
void av_lfg_init(AVLFG* c, uint seed)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
av_lfg_init_from_data
int av_lfg_init_from_data(AVLFG* c, const(ubyte)* data, uint length)

Seed the state of the ALFG using binary data.

av_mlfg_get
uint av_mlfg_get(AVLFG* c)

Get the next random unsigned 32-bit number using a MLFG.

Structs

AVLFG
struct AVLFG
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta