PageRenderTime 16ms queryFilters 31ms Sphinxql 45ms GetByIds 270ms meta 0ms repositoryFilters 30ms languageFilters 0ms sourceFilters 1ms

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

Source

Language

Repository

splashscreen_gif.c https://bitbucket.org/chegar/jigsaw_modulefileparser | C | 325 lines
138        int transparentColor = -1;
139        int frameDelay = 100;
140        int disposeMethod = GIF_DISPOSE_RESTORE;
167
168                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
169                    if (frameDelay < 10)
169                    if (frameDelay < 10)
170                        frameDelay = 10;
171                    if (flag & GIF_TRANSPARENT) {
267
268        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
269        switch (disposeMethod) {
splashscreen_gif.c https://bitbucket.org/sreilly/openjdk7u-jdk | C | 325 lines
138        int transparentColor = -1;
139        int frameDelay = 100;
140        int disposeMethod = GIF_DISPOSE_RESTORE;
167
168                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
169                    if (frameDelay < 10)
169                    if (frameDelay < 10)
170                        frameDelay = 10;
171                    if (flag & GIF_TRANSPARENT) {
267
268        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
269        switch (disposeMethod) {
splashscreen_gif.c https://bitbucket.org/infinitekind/openjdk7u-jdk | C | 325 lines
138        int transparentColor = -1;
139        int frameDelay = 100;
140        int disposeMethod = GIF_DISPOSE_RESTORE;
167
168                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
169                    if (frameDelay < 10)
169                    if (frameDelay < 10)
170                        frameDelay = 10;
171                    if (flag & GIF_TRANSPARENT) {
267
268        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
269        switch (disposeMethod) {
splashscreen_gif.c https://bitbucket.org/psandoz/lambda-jdk-pipeline-patches | C | 325 lines
138        int transparentColor = -1;
139        int frameDelay = 100;
140        int disposeMethod = GIF_DISPOSE_RESTORE;
167
168                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
169                    if (frameDelay < 10)
169                    if (frameDelay < 10)
170                        frameDelay = 10;
171                    if (flag & GIF_TRANSPARENT) {
267
268        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
269        switch (disposeMethod) {
splashscreen_gif.c https://bitbucket.org/psandoz/lambda-jdk | C | 325 lines
138        int transparentColor = -1;
139        int frameDelay = 100;
140        int disposeMethod = GIF_DISPOSE_RESTORE;
167
168                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
169                    if (frameDelay < 10)
169                    if (frameDelay < 10)
170                        frameDelay = 10;
171                    if (flag & GIF_TRANSPARENT) {
267
268        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
269        switch (disposeMethod) {
Misc.cpp https://bitbucket.org/peanut64/dhewm3-dhewm | C++ | 3,763 lines
1293*/
1294void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1295	idVec3			launchPos;
1330	if ( numshots > 0 ) {
1331		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1332	}
1339*/
1340void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1341	const idDict *	projectileDef;
1365	CancelEvents( &EV_LaunchMissilesUpdate );
1366	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1367}
Misc.cpp https://bitbucket.org/peanut64/dhewm3-dhewm | C++ | 3,159 lines
1259*/
1260void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1261	idVec3			launchPos;
1296	if ( numshots > 0 ) {
1297		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1298	}
1305*/
1306void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1307	const idDict *	projectileDef;
1331	CancelEvents( &EV_LaunchMissilesUpdate );
1332	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1333}
Misc.cpp https://bitbucket.org/peanut64/dhewm3-dhewg | C++ | 3,763 lines
1293*/
1294void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1295	idVec3			launchPos;
1330	if ( numshots > 0 ) {
1331		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1332	}
1339*/
1340void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1341	const idDict *	projectileDef;
1365	CancelEvents( &EV_LaunchMissilesUpdate );
1366	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1367}
Misc.cpp https://bitbucket.org/peanut64/dhewm3-dhewg | C++ | 3,159 lines
1259*/
1260void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1261	idVec3			launchPos;
1296	if ( numshots > 0 ) {
1297		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1298	}
1305*/
1306void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1307	const idDict *	projectileDef;
1331	CancelEvents( &EV_LaunchMissilesUpdate );
1332	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1333}
Misc.cpp https://bitbucket.org/peanut64/dhewm3-dhewm-use | C++ | 3,763 lines
1293*/
1294void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1295	idVec3			launchPos;
1330	if ( numshots > 0 ) {
1331		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1332	}
1339*/
1340void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1341	const idDict *	projectileDef;
1365	CancelEvents( &EV_LaunchMissilesUpdate );
1366	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1367}
Misc.cpp https://bitbucket.org/peanut64/dhewm3-dhewm-use | C++ | 3,159 lines
1259*/
1260void idAnimated::Event_LaunchMissilesUpdate( int launchjoint, int targetjoint, int numshots, int framedelay ) {
1261	idVec3			launchPos;
1296	if ( numshots > 0 ) {
1297		PostEventMS( &EV_LaunchMissilesUpdate, FRAME2MS( framedelay ), launchjoint, targetjoint, numshots - 1, framedelay );
1298	}
1305*/
1306void idAnimated::Event_LaunchMissiles( const char *projectilename, const char *sound, const char *launchjoint, const char *targetjoint, int numshots, int framedelay ) {
1307	const idDict *	projectileDef;
1331	CancelEvents( &EV_LaunchMissilesUpdate );
1332	ProcessEvent( &EV_LaunchMissilesUpdate, launch, target, numshots - 1, framedelay );
1333}
AtmoLiveView.cpp https://github.com/aniket20/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
AnimatedImageRenderer.h https://github.com/ardock/VoltAir.git | C Header | 208 lines
28 * the top frame being the first frame. These frames are displayed in sequence, with a specified
29 * delay (#frameDelay) between frames.
30 *
53     */
54    Q_PROPERTY(float frameDelay READ getFrameDelay WRITE setFrameDelay NOTIFY frameDelayChanged)
55    /**
110    /**
111     * @brief Returns #frameDelay.
112     */
112     */
113    float getFrameDelay() const { return mFrameDelay; }
114    /**
114    /**
115     * @brief Sets #frameDelay.
116     * @param value Float to set #frameDelay to
game.py https://github.com/arnaudjbernard/boidzgame-proto.git | Python | 49 lines
19        
20        self.framedelay = 40
21        
26        for renderer in Renderer.instances:
27            renderer.draw(self.framedelay, self.screen)
28        
31            for ticker in Ticker.instances:
32                ticker.onTick(self.framedelay)
33            
34            for renderer in Renderer.instances:
35                renderer.clear(self.framedelay, self.screen)
36            for renderer in Renderer.instances:
36            for renderer in Renderer.instances:
37                renderer.draw(self.framedelay, self.screen)
38            pygame.display.update()
HRTFKernel.h https://github.com/arthuredelstein/tor-browser.git | C Header | 118 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 {
54
55    static nsReturnRef<HRTFKernel> create(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate);
56
62    size_t fftSize() const { return m_fftFrame->FFTSize(); }
63    float frameDelay() const { return m_frameDelay; }
64
81    
82    HRTFKernel(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate)
83        : m_fftFrame(fftFrame)
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
HRTFKernel.h https://github.com/bchukuka/gecko-dev.git | C Header | 118 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 {
54
55    static nsReturnRef<HRTFKernel> create(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate);
56
62    size_t fftSize() const { return m_fftFrame->FFTSize(); }
63    float frameDelay() const { return m_frameDelay; }
64
81    
82    HRTFKernel(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate)
83        : m_fftFrame(fftFrame)
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
HRTFKernel.h https://github.com/bebef1987/gecko-dev.git | C Header | 118 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 {
54
55    static nsReturnRef<HRTFKernel> create(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate);
56
62    size_t fftSize() const { return m_fftFrame->FFTSize(); }
63    float frameDelay() const { return m_frameDelay; }
64
81    
82    HRTFKernel(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate)
83        : m_fftFrame(fftFrame)
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
HRTFKernel.h https://github.com/bnjbvr/gecko-dev.git | C Header | 118 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 {
54
55    static nsReturnRef<HRTFKernel> create(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate);
56
62    size_t fftSize() const { return m_fftFrame->FFTSize(); }
63    float frameDelay() const { return m_frameDelay; }
64
81    
82    HRTFKernel(nsAutoPtr<FFTBlock> fftFrame, float frameDelay, float sampleRate)
83        : m_fftFrame(fftFrame)
83        : m_fftFrame(fftFrame)
84        , m_frameDelay(frameDelay)
85        , m_sampleRate(sampleRate)
slice.js https://github.com/bobwol/BlocksJS.git | JavaScript | 490 lines
52	
53	slice.frameDelay = (options && options.frameDelay !== undefined) ? options.frameDelay : 4;
54	slice.numberOfFrames = (options && options.numberOfFrames) || 1;
73						
74						if (frameCnt >= slice.frameDelay) {
75						
112	
113						if (frameCnt >= slice.frameDelay) {
114							// Go to the next frame
349	
350		var newFrameCnt = Math.floor(slice.frameDelay * (frameIndex - Math.floor(frameIndex)) / 100);
351		frameIndex = Math.floor(frameIndex);
oplug_mp4.cpp http://mulder.googlecode.com/svn/trunk/ | C++ | 531 lines
109int reuse = 0;
110int frameDelay = 0;
111bool receivedFrame = false;
283
284				  if (frame + frameDelay >= total)
285				  {
291				  else
292					  r = _encode->encode(frame + frameDelay, &bitstream);
293
313				  {
314					  printf("skipping frame: %u size: %i\n", frame + frameDelay, bitstream.len);
315					  frameDelay++;
376stopit:
377    printf("2nd pass, sent %u frames\n", bitstream.frameNumber + frameDelay);
378    // Flush slave Q
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21