Home
last modified time | relevance | path

Searched refs:goom_irand (Results 1 – 7 of 7) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/goom/
Dgoom_core.c261 if (goom_irand (goomInfo->gRandom, 16) == 0) in goom_update()
262 switch (goom_irand (goomInfo->gRandom, 34)) { in goom_update()
266 goom_irand (goomInfo->gRandom, 2); in goom_update()
273 (goom_irand (goomInfo->gRandom, 3) == 0); in goom_update()
274 if (goom_irand (goomInfo->gRandom, 2)) in goom_update()
307 (goom_irand (goomInfo->gRandom, 3) == 0); in goom_update()
319 (goom_irand (goomInfo->gRandom, 4) == 0); in goom_update()
321 goom_irand (goomInfo->gRandom, 2); in goom_update()
358 && (goom_irand (goomInfo->gRandom, 3))) { in goom_update()
360 goom_irand (goomInfo->gRandom, goomInfo->statesRangeMax); in goom_update()
[all …]
Dflying_stars_fx.c185 ro = radius * (float) goom_irand (info->gRandom, 100) / 100.0f; in addABomb()
186 ro *= (float) goom_irand (info->gRandom, 100) / 100.0f + 1.0f; in addABomb()
187 theta = goom_irand (info->gRandom, 256); in addABomb()
226 int max = (int) ((1.0f + info->sound.goomPower) * goom_irand (info->gRandom, in fs_sound_event_occured()
229 (1.0f + info->sound.goomPower) * (float) (goom_irand (info->gRandom, in fs_sound_event_occured()
241 mx = goom_irand (info->gRandom, info->screen.width); in fs_sound_event_occured()
242 my = goom_irand (info->gRandom, info->screen.height); in fs_sound_event_occured()
251 mx = goom_irand (info->gRandom, info->screen.width); in fs_sound_event_occured()
256 my = -(info->screen.height / 3) - goom_irand (info->gRandom, in fs_sound_event_occured()
307 if (goom_irand (info->gRandom, 20) == 1) { in fs_apply()
[all …]
Dtentacle3d.c240 goom_irand (goomInfo->gRandom, in pretty_move()
241 200) ? 0 : 100 + goom_irand (goomInfo->gRandom, 60); in pretty_move()
259 goom_irand (goomInfo->gRandom, in pretty_move()
260 500) ? fx_data->rotation : goom_irand (goomInfo->gRandom, 2); in pretty_move()
305 if ((fx_data->lig < 6.3f) && (goom_irand (goomInfo->gRandom, 30) == 0)) in tentacle_update()
306 fx_data->dstcol = goom_irand (goomInfo->gRandom, NB_TENTACLE_COLORS); in tentacle_update()
337 (float) (ShiftRight (data[0][goom_irand (goomInfo->gRandom, 511)], in tentacle_update()
Dfilters.c519 int decc = goom_irand (goomInfo->gRandom, 8) - 4; in generateTheWaterFXHorizontalDirectionBuffer()
520 int spdc = goom_irand (goomInfo->gRandom, 8) - 4; in generateTheWaterFXHorizontalDirectionBuffer()
521 int accel = goom_irand (goomInfo->gRandom, 8) - 4; in generateTheWaterFXHorizontalDirectionBuffer()
529 goom_irand (goomInfo->gRandom, 3) - goom_irand (goomInfo->gRandom, 3); in generateTheWaterFXHorizontalDirectionBuffer()
537 spdc = spdc - goom_irand (goomInfo->gRandom, 3) + accel / 10; in generateTheWaterFXHorizontalDirectionBuffer()
539 spdc = spdc + goom_irand (goomInfo->gRandom, 3) + accel / 10; in generateTheWaterFXHorizontalDirectionBuffer()
542 spdc -= goom_irand (goomInfo->gRandom, 3) - 2; in generateTheWaterFXHorizontalDirectionBuffer()
545 spdc += goom_irand (goomInfo->gRandom, 3) + 2; in generateTheWaterFXHorizontalDirectionBuffer()
551 goom_irand (goomInfo->gRandom, 2) - goom_irand (goomInfo->gRandom, 2); in generateTheWaterFXHorizontalDirectionBuffer()
Dgoom_tools.h44 inline static int goom_irand(GoomRandom *grandom, int i) { in goom_irand() function
Dlines.c159 l->powinc = (float) (goom_irand (l->goomInfo->gRandom, 20) + 10) / 300.0f; in goom_lines_move()
163 l->powinc = -(float) (goom_irand (l->goomInfo->gRandom, 20) + 10) / 300.0f; in goom_lines_move()
Dconvolve_fx.c321 switch (goom_irand (info->gRandom, 300)) { in convolve_apply()