Home
last modified time | relevance | path

Searched refs:DIST_ZERO (Results 1 – 3 of 3) sorted by relevance

/dports/audio/x42-plugins-lv2/x42-plugins-20211016/meters.lv2/gui/
H A Dsdhmeter.c185 return pos * DIST_RANGE + DIST_ZERO; in _x_log_pos()
189 return _x_log_pos((i - DIST_ZERO) / DIST_RANGE); in x_log_pos()
229 const float xctr = rintf (da_width * DIST_ZERO / DIST_SIZE) - .5; in expose_event()
267 : (DIST_ZERO + DIST_RANGE * sig); in expose_event()
278 const float x0 = rintf(da_width * (DIST_ZERO - DIST_RANGE) / DIST_SIZE) - .5; in expose_event()
283 const float x1 = rintf(da_width * (DIST_ZERO + DIST_RANGE) / DIST_SIZE) - .5; in expose_event()
294 …const float xp5 = rintf ((logscale_x ? _x_log_pos(.5) : (DIST_ZERO + DIST_RANGE * .5)) * da_width … in expose_event()
296 …const float xm5 = rintf ((logscale_x ? _x_log_pos(-.5) : (DIST_ZERO + DIST_RANGE * -.5)) * da_widt… in expose_event()
315 : ((DIST_ZERO + DIST_RANGE * avg) * mlt_x) - .5; in expose_event()
317 ? (_x_log_pos(stddev) - DIST_ZERO) * mlt_x in expose_event()
[all …]
/dports/audio/x42-plugins-lv2/x42-plugins-20211016/meters.lv2/src/
H A Duris.h42 #define DIST_ZERO (180.f) // DIST_OFF + DIST_RANGE macro
H A Dsigdistlv2.c301 int bin = rintf(DIST_ZERO + val * DIST_RANGE); in sdh_run()