/dports/games/libretro-shaders-slang/slang-shaders-9850d68939b86262eae9f0da01ff1c11daafcdc3/vhs/shaders/ |
H A D | static.slang | 66 float nn(vec2 p, float framecount){ 70 float s = mod(framecount * 0.15, 4837.0); 88 …offset_x.x += rand(vec2(mod(framecount, 9847.0) * 0.03, uv.y * 0.42)) * 0.001 + sin(rand(vec2(mod(… 89 …offset_x.y += rand(vec2(mod(framecount, 5583.0) * 0.004, uv.y * 0.002)) * 0.004 + sin(mod(framecou… 96 float onOff(float a, float b, float c, float framecount) 98 return step(c, sin((framecount * 0.001) + a*cos((framecount * 0.001)*b))); 101 vec2 jumpy(vec2 uv, float framecount) 104 float window = 1./(1.+80.*(look.y-mod(framecount/4.,1.))*(look.y-mod(framecount/4.,1.))); 105 …look.x += 0.05 * sin(look.y*10. + framecount)/20.*onOff(4.,4.,.3, framecount)*(0.5+cos(framecount*… 106 float vShift = 0.4*onOff(2.,3.,.9, framecount)*(sin(framecount)*sin(framecount*20.) + [all …]
|
H A D | rewind.slang | 45 float onOff(float a, float b, float c, float framecount) 47 return step(c, sin((framecount * 0.001) + a*cos((framecount * 0.001)*b))); 50 vec2 jumpy(vec2 uv, float framecount) 53 float window = 1./(1.+80.*(look.y-mod(framecount/4.,1.))*(look.y-mod(framecount/4.,1.))); 54 …look.x += 0.05 * sin(look.y*10. + framecount)/20.*onOff(4.,4.,.3, framecount)*(0.5+cos(framecount*… 55 float vShift = 0.4*onOff(2.,3.,.9, framecount)*(sin(framecount)*sin(framecount*20.) + 56 (0.5 + 0.1*sin(framecount*200.)*cos(framecount)));
|
H A D | vhs.slang | 123 float onOff(float a, float b, float c, float framecount) 125 return step(c, sin((framecount * 0.001) + a*cos((framecount * 0.001)*b))); 128 vec2 jumpy(vec2 uv, float framecount) 131 float window = 1./(1.+80.*(look.y-mod(framecount/4.,1.))*(look.y-mod(framecount/4.,1.))); 132 …look.x += 0.05 * sin(look.y*10. + framecount)/20.*onOff(4.,4.,.3, framecount)*(0.5+cos(framecount*… 133 …float vShift = (0.1*wiggle) * 0.4*onOff(2.,3.,.9, framecount)*(sin(framecount)*sin(framecount*20.)… 134 (0.5 + 0.1*sin(framecount*200.)*cos(framecount)));
|
/dports/audio/ccaudio2/ccaudio2-2.2.0/src/ |
H A D | stream.cpp | 265 return info.framecount; in getCount() 307 buffer += info.framecount; in getMono() 315 buffer += info.framecount; in getMono() 356 offset = info.framecount; in getStereo() 395 buffer += info.framecount; in putMono() 403 buffer += info.framecount; in putMono() 590 if(ci.encoding == info.encoding && ci.framecount == info.framecount) in getEncoded() 632 if(ci.encoding == info.encoding && ci.framecount == info.framecount) in putEncoded() 638 if(ci.framecount != decSize) { in putEncoded() 642 decSize = ci.framecount; in putEncoded() [all …]
|
/dports/games/libretro-shaders-glsl/glsl-shaders-7052b09dc657d56bea443d5661dccbebcafe32dc/vhs/shaders/ |
H A D | static.glsl | 142 float nn(vec2 p, float framecount){ 146 float s = mod(framecount * 0.15, 4837.0); 164 …offset_x.x += rand(vec2(mod(framecount, 9847.0) * 0.03, uv.y * 0.42)) * 0.001 + sin(rand(vec2(mod(… 165 …offset_x.y += rand(vec2(mod(framecount, 5583.0) * 0.004, uv.y * 0.002)) * 0.004 + sin(mod(framecou… 172 float onOff(float a, float b, float c, float framecount) 174 return step(c, sin((framecount * 0.001) + a*cos((framecount * 0.001)*b))); 177 vec2 jumpy(vec2 uv, float framecount) 180 float window = 1./(1.+80.*(look.y-mod(framecount/4.,1.))*(look.y-mod(framecount/4.,1.))); 181 …look.x += 0.05 * sin(look.y*10. + framecount)/20.*onOff(4.,4.,.3, framecount)*(0.5+cos(framecount*… 182 float vShift = 0.4*onOff(2.,3.,.9, framecount)*(sin(framecount)*sin(framecount*20.) + [all …]
|
H A D | rewind.glsl | 93 float onOff(float a, float b, float c, float framecount) 95 return step(c, sin((framecount * 0.001) + a*cos((framecount * 0.001)*b))); 98 vec2 jumpy(vec2 uv, float framecount) 101 float window = 1./(1.+80.*(look.y-mod(framecount/4.,1.))*(look.y-mod(framecount/4.,1.))); 102 …look.x += 0.05 * sin(look.y*10. + framecount)/20.*onOff(4.,4.,.3, framecount)*(0.5+cos(framecount*… 103 float vShift = 0.4*onOff(2.,3.,.9, framecount)*(sin(framecount)*sin(framecount*20.) + 104 (0.5 + 0.1*sin(framecount*200.)*cos(framecount)));
|
/dports/graphics/libcaca/libcaca-0.99.beta19/caca/ |
H A D | frame.c | 39 return cv->framecount; in caca_get_frame_count() 59 if(id < 0 || id >= cv->framecount) in caca_set_frame() 152 else if(id > cv->framecount) in caca_create_frame() 153 id = cv->framecount; in caca_create_frame() 155 cv->framecount++; in caca_create_frame() 157 sizeof(struct caca_frame) * cv->framecount); in caca_create_frame() 159 for(f = cv->framecount - 1; f > id; f--) in caca_create_frame() 209 if(id < 0 || id >= cv->framecount) in caca_free_frame() 215 if(cv->framecount == 1) in caca_free_frame() 225 for(f = id + 1; f < cv->framecount; f++) in caca_free_frame() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima8/graphics/ |
H A D | shape.cpp | 102 if (framecount == 0) { in loadU8Format() 106 frames.reserve(framecount); in loadU8Format() 108 for (uint i = 0; i < framecount; ++i) { in loadU8Format() 125 if (framecount == 0) { in loadPentagramFormat() 129 frames.reserve(framecount); in loadPentagramFormat() 131 for (uint i = 0; i < framecount; ++i) { in loadPentagramFormat() 143 uint32 framecount; in loadGenericFormat() local 184 else framecount = 1; in loadGenericFormat() 185 if (framecount == 0) framecount = ConvertShape::CalcNumFrames(ds, format, size, 0); in loadGenericFormat() 187 frames.reserve(framecount); in loadGenericFormat() [all …]
|
/dports/devel/p5-SDL/SDL-2.548/src/GFX/ |
H A D | FPSManager.xs | 23 Uint32 framecount; variable 38 gfx_fps_new (CLASS, framecount, rateticks, lastticks, rate) 40 Uint32 framecount 46 RETVAL->framecount = framecount; 57 if (items > 1 ) fps->framecount = SvIV(ST(1)); 58 RETVAL = fps->framecount;
|
/dports/games/manaplus/manaplus-2.1.3.17/src/sdl2gfx/ |
H A D | SDL2_framerate.cpp | 74 manager->framecount = 0; in SDL_initFramerate() 97 manager->framecount = 0; in SDL_setFramerate() 147 return (static_cast<int>(manager->framecount)); in SDL_getFramecount() 188 manager->framecount++; in SDL_framerateDelay() 197 manager->framecount) * manager->rateticks); in SDL_framerateDelay() 206 manager->framecount = 0; in SDL_framerateDelay()
|
/dports/graphics/sdl_gfx/SDL_gfx-2.0.26/ |
H A D | SDL_framerate.c | 67 manager->framecount = 0; in SDL_initFramerate() 89 manager->framecount = 0; in SDL_setFramerate() 131 return ((int)manager->framecount); in SDL_getFramecount() 170 manager->framecount++; in SDL_framerateDelay() 178 target_ticks = manager->baseticks + (Uint32) ((float) manager->framecount * manager->rateticks); in SDL_framerateDelay() 184 manager->framecount = 0; in SDL_framerateDelay()
|
/dports/graphics/sdl2_gfx/SDL2_gfx-1.0.4/ |
H A D | SDL2_framerate.c | 67 manager->framecount = 0; in SDL_initFramerate() 89 manager->framecount = 0; in SDL_setFramerate() 131 return ((int)manager->framecount); in SDL_getFramecount() 170 manager->framecount++; in SDL_framerateDelay() 178 target_ticks = manager->baseticks + (Uint32) ((float) manager->framecount * manager->rateticks); in SDL_framerateDelay() 184 manager->framecount = 0; in SDL_framerateDelay()
|
/dports/games/gnujump/gnujump-1.0.8/src/ |
H A D | game-timer.c | 28 time->framecount = 0; in setFpsTimer() 44 time->framecount++; in updateTimer() 51 (Uint32) ((float) time->framecount * time->rateticks); in updateTimer() 60 time->framecount = 0; in updateTimer() 82 time->framecount = 0; in continueTimer() 89 time->framecount = 0; in initTimer()
|
/dports/audio/csound/csound-6.15.0/Opcodes/cuda/ |
H A D | pvsops2.cu | 69 int framecount; member 142 p->framecount = 0; in pvsynset() 173 int framecount = p->framecount; in pvsynperf() local 217 framecount--; in pvsynperf() 219 p->framecount = framecount; in pvsynperf() 270 int framecount; member 376 int framecount = p->framecount; in pvanalperf() local 391 framecount++; in pvanalperf() 418 framecount = 0; in pvanalperf() 422 p->framecount = framecount; in pvanalperf() [all …]
|
/dports/multimedia/gstreamer1-plugins/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/audio/gstreamer1-plugins-vorbis/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/audio/gstreamer1-plugins-opus/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/audio/gstreamer1-plugins-ogg/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/audio/gstreamer1-plugins-cdparanoia/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/x11-toolkits/gstreamer1-plugins-pango/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/graphics/gstreamer1-plugins-libvisual/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/graphics/gstreamer1-plugins-gl/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/x11/gstreamer1-plugins-x/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/multimedia/gstreamer1-plugins-theora/gst-plugins-base-1.16.2/tests/check/pipelines/ |
H A D | theoraenc.c | 70 int framecount; in check_buffer_granulepos() local 88 framecount = GST_BUFFER_OFFSET_END (buffer); in check_buffer_granulepos() 89 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos() 90 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos() 91 clocktime = gst_util_uint64_scale (framecount, GST_SECOND, FRAMERATE); in check_buffer_granulepos() 109 gint64 granulepos, expected, framecount; in check_buffer_granulepos_from_starttime() local 121 framecount = granulepos >> GRANULEPOS_SHIFT; in check_buffer_granulepos_from_starttime() 122 framecount += granulepos & ((1 << GRANULEPOS_SHIFT) - 1); in check_buffer_granulepos_from_starttime() 125 fail_unless (framecount == expected || framecount == expected + 1, in check_buffer_granulepos_from_starttime() 129 expected, expected + 1, framecount); in check_buffer_granulepos_from_starttime()
|
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/SDL_gfx/ |
H A D | SDL_framerate.cpp | 21 manager->framecount = 0; in SDL_initFramerate() 34 manager->framecount = 0; in SDL_setFramerate() 69 manager->framecount++; in SDL_framerateDelay() 75 target_ticks = manager->lastticks + (Uint32) ((float) manager->framecount * manager->rateticks); in SDL_framerateDelay() 81 manager->framecount = 0; in SDL_framerateDelay()
|