PageRenderTime 8ms queryFilters 1ms Sphinxql 11ms GetByIds 237ms meta 0ms repositoryFilters 10ms languageFilters 1ms sourceFilters 1ms

2,043 results for 'FrameDelay repo:gamblore/monocleengine-monogame' (8 ms)

Source

Language

Repository

HRTFKernel.h https://gitlab.com/colmsjo/phantomjs.git | C Header | 98 lines
48//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
49//      m_frameDelay is the leading delay of the original impulse response.
50class HRTFKernel : public RefCounted<HRTFKernel> {
58
59    static PassRefPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, float frameDelay, float sampleRate)
60    {
60    {
61        return adoptRef(new HRTFKernel(fftFrame, frameDelay, sampleRate));
62    }
69    size_t fftSize() const;
70    float frameDelay() const { return m_frameDelay; }
71
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
HRTFKernel.h https://gitlab.com/imxiangpeng/qtwebkit.git | C Header | 98 lines
48//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
49//      m_frameDelay is the leading delay of the original impulse response.
50class HRTFKernel : public RefCounted<HRTFKernel> {
58
59    static PassRefPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, float frameDelay, float sampleRate)
60    {
60    {
61        return adoptRef(new HRTFKernel(fftFrame, frameDelay, sampleRate));
62    }
69    size_t fftSize() const;
70    float frameDelay() const { return m_frameDelay; }
71
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
Choreographer.java https://gitlab.com/SaberMod/pa-android-frameworks-base.git | Java | 840 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
209     */
210    public static long getFrameDelay() {
211        return sFrameDelay;
228     */
229    public static void setFrameDelay(long frameDelay) {
230        sFrameDelay = frameDelay;
243     * This method is somewhat conservative about how much of the frame delay it
244     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
245     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
255    public static long subtractFrameDelay(long delayMillis) {
256        final long frameDelay = sFrameDelay;
257        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
pixel.c https://gitlab.com/tylert/kiibohd-controller.git | C | 3,622 lines
343		// Display capability name
344		print("Pixel_Animation_capability(index,loops,pfunc,framedelay,frameoption,replace)");
345		return;
356	element.pfunc = *(uint8_t*)(&args[3]);
357	element.framedelay = *(uint8_t*)(&args[4]);
358	element.frameoption = *(uint8_t*)(&args[5]);
926			found->ffunc = element->ffunc;
927			found->framedelay = element->framedelay;
928			found->frameoption = element->frameoption;
952				found->ffunc = element->ffunc;
953				found->framedelay = element->framedelay;
954				found->frameoption = element->frameoption;
991			found->ffunc = element->ffunc;
992			found->framedelay = element->framedelay;
993			found->frameoption = element->frameoption;
sequences_hof.cpp git://github.com/scummvm/scummvm.git | C++ | 3,524 lines
165		uint16 endFrame;
166		uint16 frameDelay;
167		uint32 nextFrame;
1129	_animSlots[animSlot].startFrame = _animSlots[animSlot].currentFrame = s.startframe;
1130	_animSlots[animSlot].frameDelay = s.frameDelay;
1131	_animSlots[animSlot].callback = _config->nestedSeqProc[sequenceID];
1237			_animSlots[animSlot].movie->displayFrame(_animSlots[animSlot].control[currentFrame].index, 2, _animSlots[animSlot].x, _animSlots[animSlot].y, 0x4000, 0, 0);
1238			_animSlots[animSlot].frameDelay = _animSlots[animSlot].control[currentFrame].delay;
1239		} else {
1244	if (_animSlots[animSlot].flags & 0x10) {
1245		currentFrame = (curTick - _animSlots[animSlot].nextFrame) / (_animSlots[animSlot].frameDelay * _vm->tickLength());
1246	} else {
1246	} else {
1247		int diff = (curTick - _animSlots[animSlot].nextFrame) / (_animSlots[animSlot].frameDelay * _vm->tickLength());
1248		if (diff > 0) {
HRTFKernel.h https://repo.or.cz/blink.git | C Header | 98 lines
48//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
49//      m_frameDelay is the leading delay of the original impulse response.
50class PLATFORM_EXPORT HRTFKernel {
58
59    static PassOwnPtr<HRTFKernel> create(PassOwnPtr<FFTFrame> fftFrame, float frameDelay, float sampleRate)
60    {
60    {
61        return adoptPtr(new HRTFKernel(fftFrame, frameDelay, sampleRate));
62    }
69    size_t fftSize() const { return m_fftFrame->fftSize(); }
70    float frameDelay() const { return m_frameDelay; }
71
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
HRTFKernel.h git://github.com/WebKit/webkit.git | C Header | 96 lines
46//      m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
47//      m_frameDelay is the leading delay of the original impulse response.
48class HRTFKernel : public RefCounted<HRTFKernel> {
56
57    static Ref<HRTFKernel> create(std::unique_ptr<FFTFrame> fftFrame, float frameDelay, float sampleRate)
58    {
58    {
59        return adoptRef(*new HRTFKernel(WTFMove(fftFrame), frameDelay, sampleRate));
60    }
67    size_t fftSize() const;
68    float frameDelay() const { return m_frameDelay; }
69
81        : m_fftFrame(WTFMove(fftFrame))
82        , m_frameDelay(frameDelay)
83        , m_sampleRate(sampleRate)
breedingpit.py https://github.com/josomebody/evotank.git | Python | 524 lines
130    dropframe = 0
131    framedelay = 0
132    firstframe = 1
139        if fpsavg > 70:
140            framedelay = (1000 - 1000 / frametime) / 60
141        #first of all, check for births
502        #get the fps so we can act accordingly
503        if (framedelay > 1) and (framedelay < 16):
504            pygame.time.wait(framedelay)
breedingpitauto.py https://github.com/josomebody/evotank.git | Python | 451 lines
132    dropframe = 0
133    framedelay = 0
134    firstframe = 1
141        if fpsavg > 70:
142            framedelay = (1000 - 1000 / frametime) / 60
143        #first of all, check for births
429        #get the fps so we can act accordingly
430        if (framedelay > 1) and (framedelay < 16):
431            pygame.time.wait(framedelay)
breedingpitradial.py https://github.com/josomebody/evotank.git | Python | 473 lines
121    dropframe = 0
122    framedelay = 0
123    firstframe = 1
130        if fpsavg > 70:
131            framedelay = (1000 - 1000 / frametime) / 60
132        #first of all, check for births
451        #get the fps so we can act accordingly
452        if (framedelay > 1) and (framedelay < 16):
453            pygame.time.wait(framedelay)
mission.py https://github.com/josomebody/evotank.git | Python | 560 lines
93    dropframe = 0
94    framedelay = 0
95    firstframe = 1
112        if fpsavg > 70:
113            framedelay = (1000 - 1000 / frametime) / 60
114        #first of all, check for births
467        #get the fps so we can act accordingly
468        #if (framedelay > 1) and (framedelay < 16):
469            #pygame.time.wait(framedelay)
~mission.py https://github.com/josomebody/evotank.git | Python | 415 lines
95    dropframe = 0
96    framedelay = 0
97    firstframe = 1
104        if fpsavg > 70:
105            framedelay = (1000 - 1000 / frametime) / 60
106        #first of all, check for births
393        #get the fps so we can act accordingly
394        if (framedelay > 1) and (framedelay < 16):
395            pygame.time.wait(framedelay)
Main.java https://github.com/apache/batik.git | Java | 458 lines
72    static int duration = 3000;
73    static int frameDelay = duration+7000;
74
235            long currTrans = System.currentTimeMillis();
236            while ((currTrans-startLastTransition) < frameDelay) {
237                try {
237                try {
238                    long stime = frameDelay-(currTrans-startLastTransition);
239                    if (stime > 500) {
241                        currTrans = System.currentTimeMillis();
242                        stime = frameDelay-(currTrans-startLastTransition);
243                    }
374                try {
375                    frameDelay = Integer.decode(args[i + 1]);
376                    i++;
processing_gameoflife.pde https://github.com/Lokidottir/processing-gameoflife.git | Arduino Sketch | 245 lines
6
7int frameDelay = 50; //The delay in milliseconds between each update. E.G. 50ms = maximum 20 updates per second
8int tempDelay = 0; //The value which frameDelay is swapped with when the delay is removed
70            //Removes, or imposes, the limit on the number of updates per second. The new limit is how fast the program renders (60hz, usually).
71            int temp = frameDelay;
72            frameDelay = tempDelay;
99    //If the program is unpaused and the time between the last update delay has passed, the program processes the board
100    if (!paused && (millis() > lastTime + frameDelay)) {
101        
Throbber.py https://bitbucket.org/windwiny/wxpython | Python | 249 lines
36        self.throbbers['plain']['throbber'] = \
37            throb.Throbber(self, -1, images, size=(36, 36),frameDelay = 0.1)
38                                                
39        self.throbbers['reverse']['throbber'] = \
40            throb.Throbber(self, -1, images, frameDelay = 0.07)
41
44        self.throbbers['autoreverse']['throbber'] = \
45            throb.Throbber(self, -1, images, frameDelay = 0.1, reverse = True)
46
49        self.throbbers['label']['throbber'] = \
50            throb.Throbber(self, -1, images, frameDelay = 0.1, label = 'Label')
51
57            throb.Throbber(
58                self, -1, images, frameDelay = 0.1, 
59                overlay = throbImages.catalog['logo'].GetBitmap()
aoutil.i https://github.com/frigaut/yao.git | Unknown | 2,015 lines
669    if (wfs(ns).framedelay == -1){
670      wfs(ns)._framedelay = loop.framedelay;
671    } else {
671    } else {
672      wfs(ns)._framedelay = wfs(ns).framedelay;
673      if ((sim.verbose) && (loop.framedelay != wfs(ns).framedelay)){
673      if ((sim.verbose) && (loop.framedelay != wfs(ns).framedelay)){
674          write, format="Using a loop delay of %d frames for wfs(%d)\n",wfs(ns).framedelay, ns;
675      }
929  for (n=1;n<=gainNpt;n++)
930    {errTF(,n) = ft_cb_ao_simul(ao.LoopFrameDelay,toGains(n),length/2)(,1);}
931
941    // Build current gain transfer function
942    curErrTF = ft_cb_ao_simul(ao.LoopFrameDelay,modgains(i),length/2)(,1);
943
AtmoLiveView.cpp https://github.com/apprisi/vlc.git | C++ | 204 lines
81
82    int frameDelay = pAtmoConfig->getLiveView_FrameDelay();
83
87    */
88    frameDelay = frameDelay * 1000;
89#endif
97    {
98        if( frameDelay > 0 )
99            do_sleep( frameDelay );
111#if defined(_ATMO_VLC_PLUGIN_)
112        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), m_pLog, packet_time);
113#else
113#else
114        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), packet_time);
115#endif
cli.cpp https://github.com/asarium/apngasm.git | C++ | 296 lines
19
20  class FrameDelay {
21  public:
22	  int num, den;
23	  FrameDelay(void) : num(100), den(1000) {}
24	  FrameDelay(int num) : num(num), den(1000) {}
24	  FrameDelay(int num) : num(num), den(1000) {}
25	  FrameDelay(int num, int den) : num(num), den(den) {}
26	  FrameDelay(const std::string &src_str)
187		static const boost::regex DELAY_RE("[0-9]+[:[0-9]+]?");
188		const FrameDelay DEFAULT_DELAY = options.getDefaultDelay();
189
196				{
197					const FrameDelay delay = *arg;
198					assembler.addFrame(lastFile, delay.num, delay.den);
AtmoLiveView.cpp https://github.com/bilibili/vlc.git | C++ | 204 lines
81
82    int frameDelay = pAtmoConfig->getLiveView_FrameDelay();
83
87    */
88    frameDelay = frameDelay * 1000;
89#endif
97    {
98        if( frameDelay > 0 )
99            do_sleep( frameDelay );
111#if defined(_ATMO_VLC_PLUGIN_)
112        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), m_pLog, packet_time);
113#else
113#else
114        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), packet_time);
115#endif
ScreenshotTaker.java https://github.com/chaseton/robotium.git | Java | 467 lines
25/**
26 * Contains screenshot methods like: takeScreenshot(final View, final String name), startScreenshotSequence(final String name, final int quality, final int frameDelay, final int maxFrames), 
27 * stopScreenshotSequence().
106	 * @param quality the compression rate. From 0 (compress for lowest size) to 100 (compress for maximum quality)
107	 * @param frameDelay the time in milliseconds to wait between each frame
108	 * @param maxFrames the maximum number of frames that will comprise this sequence
110	 */
111	public void startScreenshotSequence(final String name, final int quality, final int frameDelay, final int maxFrames) {
112		initScreenShotSaver();
117
118		screenshotSequenceThread = new ScreenshotSequenceThread(name, quality, frameDelay, maxFrames);
119
299			quality = _quality; 
300			frameDelay = _frameDelay;
301			maxFrames = _maxFrames;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21