30 for (j = 0; j < 10000; j++) {
32 for (i = 0; i < 624; i++)
45 for (i = 0; i < 1000; i += 2) {
50 bmg_out[0] * stddev + mean,
51 bmg_out[1] * stddev + mean);
av_log(ac->avr, AV_LOG_TRACE, "%d samples - audio_convert: %s to %s (%s)\, len, av_get_sample_fmt_name(ac->in_fmt), av_get_sample_fmt_name(ac->out_fmt), use_generic ? ac->func_descr_generic :ac->func_descr)
void av_bmg_get(AVLFG *lfg, double out[2])
Get the next two numbers generated by a Box-Muller Gaussian generator using the random numbers issued...
high precision timer, useful to profile code
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define AV_LOG_INFO
Standard information.
static unsigned int av_lfg_get(AVLFG *c)
Get the next random unsigned 32-bit number using an ALFG.
av_cold void av_lfg_init(AVLFG *c, unsigned int seed)