Searched refs:gRandom (Results 1 – 12 of 12) sorted by relevance
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | goom_core.c | 90 goomInfo->gRandom = goom_random_init ((uintptr_t) goomInfo->pixel); in goom_init() 261 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() [all …]
|
D | flying_stars_fx.c | 185 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 …]
|
D | tentacle3d.c | 240 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()
|
D | filters.c | 519 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()
|
D | lines.c | 159 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()
|
D | goom_plugin_info.h | 172 GoomRandom *gRandom; member
|
D | convolve_fx.c | 321 switch (goom_irand (info->gRandom, 300)) { in convolve_apply()
|
D | ifs.c | 69 #define LRAND() ((long) (goom_random(goomInfo->gRandom) & 0x7fffffff)) 465 #define RAND() goom_random(goomInfo->gRandom)
|
/third_party/skia/samplecode/ |
D | SampleChart.cpp | 17 static SkRandom gRandom; in gen_data() local 19 (*dataPts)[i] = gRandom.nextRangeScalar(yAvg - SkScalarHalf(ySpread), in gen_data()
|
/third_party/flutter/skia/samplecode/ |
D | SampleChart.cpp | 17 static SkRandom gRandom; in gen_data() local 19 (*dataPts)[i] = gRandom.nextRangeScalar(yAvg - SkScalarHalf(ySpread), in gen_data()
|
/third_party/flutter/skia/src/gpu/ |
D | GrResourceCache.cpp | 944 static SkRandom gRandom; in validate() local 946 if (~mask && (gRandom.nextU() & mask)) { in validate()
|
/third_party/skia/src/gpu/ |
D | GrResourceCache.cpp | 1036 static SkRandom gRandom; in validate() local 1038 if (~mask && (gRandom.nextU() & mask)) { in validate()
|