PageRenderTime 335ms queryFilters 3ms Sphinxql 22ms GetByIds 287ms meta 0ms repositoryFilters 7ms languageFilters 0ms sourceFilters 1ms

2,043 results for 'FrameDelay repo:stephenabritton/doom-3-bfg' (335 ms)

Source

Language

Repository

CallAudioProvider.java https://github.com/chenkaigithub/RedPhone.git | Java | 273 lines
182      shiftMode = RATE_NORMAL;
183      frameDelayStats.setAvg(desFrameDelay);
184      Log.d( TAG,"Normal Rate" );
186
187    if( frameDelayStats.getAvg() > desFrameDelay + littleStartShrink &&
188      shiftMode == RATE_NORMAL ) {
192    }
193    if( frameDelayStats.getAvg() < desFrameDelay &&
194      shiftMode == RATE_LITTLE && playRate < 1 ) {
199
200    if( frameDelayStats.getAvg() < desFrameDelay - littleStartStretch &&
201      shiftMode == RATE_NORMAL ) {
205    }
206    if (frameDelayStats.getAvg() > desFrameDelay
207        && shiftMode == RATE_LITTLE && playRate > 1) {
HRTFKernel.h https://github.com/chelstrom/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)
Choreographer.java https://github.com/chikimonke/frameworks_base.git | Java | 834 lines
86    // The number of milliseconds between animation frames.
87    private static volatile long sFrameDelay = DEFAULT_FRAME_DELAY;
88
211     */
212    public static long getFrameDelay() {
213        return sFrameDelay;
230     */
231    public static void setFrameDelay(long frameDelay) {
232        sFrameDelay = frameDelay;
245     * This method is somewhat conservative about how much of the frame delay it
246     * subtracts.  It uses the same value returned by {@link #getFrameDelay} which by
247     * default is 10ms even though many parts of the system assume 16ms.  Consequently,
257    public static long subtractFrameDelay(long delayMillis) {
258        final long frameDelay = sFrameDelay;
259        return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay;
HRTFKernel.h https://github.com/chienjchienj/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)
night driver.v4p https://github.com/microdee/vvvv-sdk.git | Unknown | 2,103 lines
298   </LINK>
299   <NODE id="117" nodename="FrameDelay (Animation)">
300   <BOUNDS height="0" left="12540" top="17190" type="Node" width="0">
346   </LINK>
347   <NODE id="112" nodename="FrameDelay (Animation)">
348   <BOUNDS height="0" left="10905" top="18480" type="Node" width="0">
466   </NODE>
467   <NODE id="104" nodename="FrameDelay (Animation)">
468   <BOUNDS height="0" left="14280" top="600" type="Node" width="0">
476   </LINK>
477   <NODE id="103" nodename="FrameDelay (Animation)">
478   <BOUNDS height="0" left="14550" top="4515" type="Node" width="0">
674   </LINK>
675   <NODE id="87" nodename="FrameDelay (Animation)">
676   <BOUNDS height="0" left="10635" top="17955" type="Node" width="0">
AtmoLiveView.cpp https://bitbucket.org/romen/vlc.git | C++ | 205 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
HRTFKernel.cpp https://bitbucket.org/codefirex/external_webkit.git | C++ | 146 lines
65
66    float frameDelay = narrowPrecisionToFloat(estimationFrame.extractAverageGroupDelay());
67    estimationFrame.doInverseFFT(impulseP);
68
69    return frameDelay;
70}
72HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate, bool bassBoost)
73    : m_frameDelay(0)
74    , m_sampleRate(sampleRate)
78    // Determine the leading delay (average group delay) for the response.
79    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
80
137
138    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
139
jstween-1.1.js https://bitbucket.org/puffstream/menu-slider.git | JavaScript | 1,420 lines
332			__config.frameRate = fps || 45;
333			__config.frameDelay = Math.round(1000 / __config.frameRate);
334			__config.frameLength = (1 / __config.frameRate);
884
885				delay = (__config.frameDelay - ((timestamp() - __playTime) - ( __frame * __config.frameDelay)));
886				if (delay < 0) {
887					delay = 0;
888				} else if (delay > __config.frameDelay) {
889					delay = __config.frameDelay;
HRTFKernel.cpp https://bitbucket.org/ariya/qt4-retrofit.git | C++ | 145 lines
66
67    float frameDelay = narrowPrecisionToFloat(estimationFrame.extractAverageGroupDelay());
68    estimationFrame.doInverseFFT(impulseP);
69
70    return frameDelay;
71}
73HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate)
74    : m_frameDelay(0)
75    , m_sampleRate(sampleRate)
79    // Determine the leading delay (average group delay) for the response.
80    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
81
129    
130    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
131    
Animation.cs https://bitbucket.org/begedin/tanked.git | C# | 90 lines
17        public Rectangle[] Frames { get; set; }
18        public int FrameDelay { get; set; }
19        public bool Loop { get; set; }
31        /// <param name="Loop">bool value specifying wheter the animation should re-start at the end of the animation frames.</param>
32        public Animation(Texture2D SpriteSheet, Rectangle[] Frames, int FrameDelay = FRAME_DELAY_DEFAULT, bool Loop = false)
33        {
35            this.Frames = Frames;
36            this.FrameDelay = FrameDelay;
37            this.Loop = Loop;
60        {
61            int index = (int)((GameTime.TotalGameTime.TotalMilliseconds - _startTime) / FrameDelay);
62
ScreenshotTaker.java https://github.com/andyesi/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;
oplug_vcdff.cpp http://mulder.googlecode.com/svn/trunk/ | C++ | 560 lines
81int r = 0;
82int frameDelay = 0;
83
252
253						if (frame + frameDelay >= total)
254						{
260						else
261							r = encoder->encode(frame + frameDelay, &bitstream);
262
272						{
273							printf("skipping frame: %u size: %i\n", frame + frameDelay, bitstream.len);
274							frameDelay++;
416      bitstream.bufferSize=_page;
417	  r = frameDelay = 0;
418
player_nes.cpp git://github.com/scummvm/scummvm.git | C++ | 1,068 lines
607		_mchan[i].command = 0;
608		_mchan[i].framedelay = 0;
609		_mchan[i].pitch = 0;
765				_mchan[x].command = _mchan[x].cmdlock;
766				_mchan[x].framedelay = 1;
767			}
786				_mchan[ch].command = startCmd[inst];
787				_mchan[ch].framedelay = 1;
788				goto top;
795				_mchan[ch].command = releaseCmd[inst];
796				_mchan[ch].framedelay = 1;
797				goto top;
810
811		if (_mchan[x].framedelay && !--_mchan[x].framedelay) {
812			switch (_mchan[x].command) {
PatchManager3.v4p https://bitbucket.org/nsynk/iris-legacy.git | Unknown | 1,237 lines
170   </LINK>
171   <NODE componentmode="Hidden" id="29" managers="" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
172   <BOUNDS height="0" left="5115" top="19020" type="Node" width="0">
476   </NODE>
477   <NODE componentmode="Hidden" id="159" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
478   <BOUNDS height="100" left="5025" top="17130" type="Node" width="100">
492   </LINK>
493   <NODE componentmode="Hidden" id="160" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
494   <BOUNDS height="100" left="4875" top="15690" type="Node" width="100">
1060   </NODE>
1061   <NODE componentmode="Hidden" id="322" nodename="FrameDelay (String)" systemname="FrameDelay (String)">
1062   <BOUNDS height="100" left="14025" top="9315" type="Node" width="100">
lpf2ani.c https://github.com/0xDEC0DE/sc2-uqm.git | C | 1,325 lines
64file_info* Infos = 0;
65int framedelay = 100;	// default 10 fps
66int _curframe = -1;
1104
1105	for (i = 0, imgind = 0, sync = 0; i < cInfos; ++i, sync += framedelay)
1106	{
1292	{
1293		framedelay = 1000 / hdr.fps;
1294		if (opt_framerate)
1295		{	// override delay
1296			framedelay = 1000 / opt_framerate;
1297		}
1297		}
1298		verbose("using framedelay of %d, effective fps %d\n", framedelay, 1000 / framedelay);
1299	}
testApp.cpp https://github.com/bayks475/Final-Project.git | C++ | 321 lines
27    for(int i=0; i<NUM_STRIPS; i++) {
28        frameDelay[i] = i * delayIncrement;  // It will be 50 delay at the top, and 0 frame delay at the bottom
29    }
126    {
127        if(frameDelay[i] >= frameBuffers.size()) continue; // if we don't have enough buffered frames yet, skip drawing it.
128        int n = frameBuffers.size()-frameDelay[i]-1;  // Which buffered frame should we draw?
ttk.c https://github.com/MostAwesomeDude/ttk.git | C | 1,989 lines
471
472    if (wid->frame && wid->framedelay && (wid->framelast + wid->framedelay <= tick)) {
473        wid->framelast = tick;
1426    ret->focusable = 0; ret->keyrepeat = 0; ret->rawkeys = 0;
1427    ret->framelast = 0; ret->framedelay = 0;
1428    ret->timerlast = 0; ret->timerdelay = 0;
1515	wid->framelast = ttk_getticks();
1516	wid->framedelay = 1000/fps;
1517    } else {
1517    } else {
1518	wid->framelast = wid->framedelay = 0;
1519    }
1525    wid->framelast = ttk_getticks();
1526    wid->framedelay = 1000*fps_m1; // works for 0 to unset
1527}
SloMomBox.ino https://bitbucket.org/ionutcotoi/slomomentscontrolbox.git | Arduino Sketch | 810 lines
325void runProgram() {
326  int frameDelay=1000/EEPROM.read(BLENDER_FPS_ADDR);
327  int i=0;
329  Serial.print("DELAY: ");
330  Serial.println(frameDelay, DEC);
331  
334    digitalPotWrite(CSS, value);
335    delay(frameDelay);
336    Serial.print("GOTO: ");
346  int fps = EEPROM.read(BLENDER_FPS_ADDR);
347  int frameDelay=1000/fps; // 1000 ms/fps
348  
353  Serial.print("DELAY: ");
354  Serial.println(frameDelay, DEC);
355  
TileManager.js https://github.com/Lucent/openlayers.git | JavaScript | 488 lines
38     * APIProperty: tilesPerFrame
39     * {Number} Number of queued tiles to load per frame (see <frameDelay>).
40     *     Default is 2.
44    /**
45     * APIProperty: frameDelay
46     * {Number} Delay between tile loading frames (see <tilesPerFrame>) in
48     */
49    frameDelay: 16,
50
289     * Applies the <moveDelay> or <zoomDelay> to the <drawTilesFromQueue> loop,
290     * and schedules more queue processing after <frameDelay> if there are still
291     * tiles in the queue.
309                    if (tileQueue.length) {
310                        this.updateTimeout(map, this.frameDelay);
311                    }
graphics.lua https://github.com/zorggn/Lionblaster.git | Lua | 121 lines
55		animation = {
56			frameCount = 1, -- how many frames are in this set; 1 makes it static, so framedelay, and loop properities are moot in that case.
57			currentFrame = 1, -- which frame are we on
57			currentFrame = 1, -- which frame are we on
58			frameDelay = 0.0, -- how long, in seconds, should a frame stay in place (granularity up to the defined frameRate, not the tickRate)
59			biDirectional = false, -- if true, do the animation in reverse as well.
70			graphics = current,
71			frameDelay = 0.0,
72		}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21