PageRenderTime 251ms queryFilters 1ms Sphinxql 15ms GetByIds 216ms meta 0ms repositoryFilters 4ms languageFilters 0ms sourceFilters 1ms

2,043 results for 'FrameDelay repo:akravets/yahoo-weather-example' (251 ms)

Source

Language

Repository

oplug_mp4.cpp https://bitbucket.org/gianni/vaet | C++ | 546 lines
123const char *containerTitle;
124int frameDelay = 0;
125bool receivedFrame = false;
286
287				  if (frame + frameDelay >= total)
288				  {
294				  else
295					  r = _encode->encode(frame + frameDelay, &bitstream);
296
316				  {
317					  printf("skipping frame: %u size: %i\n", frame + frameDelay, bitstream.len);
318					  frameDelay++;
379stopit:
380    printf("2nd pass, sent %u frames\n", bitstream.frameNumber + frameDelay);
381    // Flush slave Q
AwaiterTests.cs https://gitlab.com/RogerCapiche/315GR.git | C# | 72 lines
21        [Test]
22        public void OnUpdate_FrameDelayJob_ExpiredJobRemovedCorrectly()
23        {
24            // Arrange
25            var task = Delay.FrameDelay(1);
26
34        [Test]
35        public void OnUpdate_FrameDelayJob_DoNotRemoveJobsTooEarly()
36        {
37            // Arrange
38            var task = Delay.FrameDelay(5);
39            var task2 = Delay.FrameDelay(20);
39            var task2 = Delay.FrameDelay(20);
40            var task3 = Delay.FrameDelay(10);
41            var task4 = Delay.FrameDelay(3);
GifImage.cs https://github.com/microdee/vvvv-sdk.git | C# | 291 lines
63
64        public Gif() { DefaultFrameDelay = 1; }
65
71
72                DefaultFrameDelay = Delay;
73                this.Repeat = Repeat;
97        /// </summary>
98        public int DefaultFrameDelay { get; set; }
99
108        /// <param name="YOffset">The positioning y offset this image should be displayed at.</param>
109        public void AddFrame(Image Image, double? frameDelay = null, int XOffset = 0, int YOffset = 0)
110        {
110        {
111            Frames.Add(new GifFrame(Image, frameDelay ?? DefaultFrameDelay, XOffset, YOffset));
112        }
FrameDelayNode.cs https://github.com/microdee/vvvv-sdk.git | C# | 68 lines
19                Tags = "generic")]
20    public class ColorFrameDelayNode : FrameDelayNode<RGBAColor>
21    {
27                Tags = "generic")]
28    public class RawFrameDelayNode : FrameDelayNode<System.IO.Stream>
29    {
35                Tags = "generic")]
36    public class StringFrameDelayNode : FrameDelayNode<string>
37    {
43                Tags = "generic")]
44    public class ValueFrameDelayNode : FrameDelayNode<double>
45    {
51                Tags = "generic")]
52    public class TransformFrameDelayNode : FrameDelayNode<Matrix>
53    {
AtmoLiveView.cpp https://bitbucket.org/megadevs/vlc-ios.git | C++ | 200 lines
76
77    int frameDelay = pAtmoConfig->getLiveView_FrameDelay();
78
82    */
83    frameDelay = frameDelay * 1000;
84#endif
92    {
93        if( frameDelay > 0 )
94            do_sleep( frameDelay );
106#if defined(_ATMO_VLC_PLUGIN_)
107        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), m_pAtmoThread, packet_time);
108#else
108#else
109        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), packet_time);
110#endif
AtmoLiveView.cpp https://bitbucket.org/RickDB/atmowin-atmoduino-mod | C++ | 207 lines
83
84    int frameDelay = pAtmoConfig->getLiveView_FrameDelay();
85
89    */
90    frameDelay = frameDelay * 1000;
91#endif
99    {
100        if( frameDelay > 0 )
101            do_sleep( frameDelay );
113#if defined(_ATMO_VLC_PLUGIN_)
114        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), m_pLog, packet_time);
115#else
115#else
116        ColorPacket = pPacketQueue->GetNextPacket(get_time - frameDelay, (i_frame_counter == 0), packet_time);
117#endif
CallAudioProvider.java https://github.com/RBWare/RedPhone.git | Java | 269 lines
163    }
164    averageFrameDelay.observeValue((int)frameDelay);
165
181
182    if( averageFrameDelay.getAvgBufferSize() > desFrameDelay + littleStartShrink &&
183      shiftMode == RATE_NORMAL ) {
187    }
188    if( averageFrameDelay.getAvgBufferSize() < desFrameDelay &&
189      shiftMode == RATE_LITTLE && playRate < 1 ) {
194
195    if( averageFrameDelay.getAvgBufferSize() < desFrameDelay - littleStartStretch &&
196      shiftMode == RATE_NORMAL ) {
200    }
201    if (averageFrameDelay.getAvgBufferSize() > desFrameDelay
202        && shiftMode == RATE_LITTLE && playRate > 1) {
AnimationComponent.cs https://github.com/Oscillation/School_Project_GameBuild.git | C# | 211 lines
49
50        float frameDelay; //milliseconds
51        float timer;
68            this.frameHeight = frameHeight;
69            this.frameDelay = DEFAULT_DELAY;
70            timer = 0;
81
82        public AnimationComponent(int spriteSheetWidth, int spriteSheetHeight, int frameWidth, int frameHeight, float frameDelay, Point defaultFrame)
83        {
87            this.frameHeight = frameHeight;
88            this.frameDelay = frameDelay;
89            timer = 0;
111                timer += (float)gameTime.ElapsedGameTime.TotalMilliseconds;
112                if (timer > frameDelay)
113                {
Test (EX9.Texture Source).v4p https://bitbucket.org/joreg/iris.git | Unknown | 1,225 lines
158   </NODE>
159   <NODE componentmode="Hidden" id="21" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
160   <BOUNDS height="0" left="6330" top="8175" type="Node" width="0">
190   </LINK>
191   <NODE componentmode="Hidden" id="17" managers="" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
192   <BOUNDS height="0" left="7410" top="8205" type="Node" width="0">
556   </LINK>
557   <NODE componentmode="Hidden" id="101" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
558   <BOUNDS height="100" left="10395" top="9405" type="Node" width="100">
672   </LINK>
673   <NODE componentmode="Hidden" id="114" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
674   <BOUNDS height="100" left="9795" top="8340" type="Node" width="100">
Videoplayer (EX9.Texture Source).v4p https://bitbucket.org/joreg/iris.git | Unknown | 1,225 lines
158   </NODE>
159   <NODE componentmode="Hidden" id="21" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
160   <BOUNDS height="0" left="6330" top="8175" type="Node" width="0">
190   </LINK>
191   <NODE componentmode="Hidden" id="17" managers="" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
192   <BOUNDS height="0" left="7410" top="8205" type="Node" width="0">
556   </LINK>
557   <NODE componentmode="Hidden" id="101" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
558   <BOUNDS height="100" left="10395" top="9405" type="Node" width="100">
672   </LINK>
673   <NODE componentmode="Hidden" id="114" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
674   <BOUNDS height="100" left="9795" top="8340" type="Node" width="100">
PatchManager3.v4p https://bitbucket.org/joreg/iris.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">
Layout.v4p https://bitbucket.org/joreg/iris.git | Unknown | 1,987 lines
120   </NODE>
121   <NODE componentmode="Hidden" id="43" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
122   <BOUNDS height="0" left="9810" top="3210" type="Node" width="0">
138   </NODE>
139   <NODE componentmode="Hidden" id="41" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
140   <BOUNDS height="0" left="9105" top="1725" type="Node" width="0">
404   </NODE>
405   <NODE componentmode="Hidden" id="64" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
406   <BOUNDS height="100" left="3270" top="8520" type="Node" width="100">
492   </LINK>
493   <NODE componentmode="Hidden" id="73" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
494   <BOUNDS height="100" left="4680" top="15000" type="Node" width="100">
Layout~.xml https://bitbucket.org/joreg/iris.git | XML | 2,005 lines
120   </NODE>
121   <NODE componentmode="Hidden" id="43" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
122   <BOUNDS height="0" left="9810" top="3210" type="Node" width="0">
138   </NODE>
139   <NODE componentmode="Hidden" id="41" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
140   <BOUNDS height="0" left="9105" top="1725" type="Node" width="0">
404   </NODE>
405   <NODE componentmode="Hidden" id="64" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
406   <BOUNDS height="100" left="3270" top="8520" type="Node" width="100">
492   </LINK>
493   <NODE componentmode="Hidden" id="73" nodename="FrameDelay (Animation)" systemname="FrameDelay (Animation)">
494   <BOUNDS height="100" left="4680" top="15000" type="Node" width="100">
player_nes.cpp git://github.com/scummvm/scummvm.git | C++ | 1,077 lines
618		_mchan[i].command = 0;
619		_mchan[i].framedelay = 0;
620		_mchan[i].pitch = 0;
776				_mchan[x].command = _mchan[x].cmdlock;
777				_mchan[x].framedelay = 1;
778			}
797				_mchan[ch].command = startCmd[inst];
798				_mchan[ch].framedelay = 1;
799				goto top;
806				_mchan[ch].command = releaseCmd[inst];
807				_mchan[ch].framedelay = 1;
808				goto top;
821
822		if (_mchan[x].framedelay && !--_mchan[x].framedelay) {
823			switch (_mchan[x].command) {
EmotionButton.cpp https://gitlab.com/yoage/TTWinClient.git | C++ | 538 lines
261					{
262						UINT frameDelay = 200;
263						CxImage* pImg = GetSelectedImage(curPage, curSel);
266						//QQ表情的帧延时通常是10毫秒,显示速度过快,因此增大到50毫秒
267						if(pFrame != NULL) frameDelay = max(frameDelay, pFrame->GetFrameDelay());
268
270 
271						this->m_pManager->SetTimer(this, TIMER_SHOWGIF, frameDelay);
272					}
306				CxImage *pFrame = NULL;
307				UINT frameDelay = 200;
308
316				
317				if(pFrame) frameDelay = max(frameDelay, pFrame->GetFrameDelay());
318 
AtmoLiveView.cpp https://github.com/ccf19881030/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/RobotiumTech/robotium.git | Java | 484 lines
27/**
28 * Contains screenshot methods like: takeScreenshot(final View, final String name), startScreenshotSequence(final String name, final int quality, final int frameDelay, final int maxFrames), 
29 * stopScreenshotSequence().
116	 * @param quality the compression rate. From 0 (compress for lowest size) to 100 (compress for maximum quality)
117	 * @param frameDelay the time in milliseconds to wait between each frame
118	 * @param maxFrames the maximum number of frames that will comprise this sequence
120	 */
121	public void startScreenshotSequence(final String name, final int quality, final int frameDelay, final int maxFrames) {
122		initScreenShotSaver();
127
128		screenshotSequenceThread = new ScreenshotSequenceThread(name, quality, frameDelay, maxFrames);
129
309			quality = _quality; 
310			frameDelay = _frameDelay;
311			maxFrames = _maxFrames;
SpriteAnimation.cs https://bitbucket.org/hasyimi/tamagotchi | C# | 213 lines
58        /// </summary>
59        public TimeSpan FrameDelay { get; set; }
60
62        {
63            get { return TimeSpan.FromSeconds( FrameDelay.TotalSeconds * FramesCount ); }
64
66            {
67                FrameDelay = TimeSpan.FromSeconds(value.TotalSeconds / FramesCount);
68            }
92        /// <param name="frameWidth">The width of a single frame.</param>
93        /// <param name="frameDelay">The delay for playing each frame.</param>
94        public SpriteAnimation(Texture2D texture, int frameWidth, TimeSpan frameDelay)
98            FrameHeight = texture.Height;
99            FrameDelay = frameDelay;
100            this.texture = texture;
splashscreen_gif.c https://bitbucket.org/screenconnect/openjdk8-jdk | C | 337 lines
140        int transparentColor = -1;
141        int frameDelay = 100;
142        int disposeMethod = GIF_DISPOSE_RESTORE;
169
170                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
171                    if (frameDelay < 10)
171                    if (frameDelay < 10)
172                        frameDelay = 10;
173                    if (flag & GIF_TRANSPARENT) {
269
270        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
271        switch (disposeMethod) {
splashscreen_gif.c https://bitbucket.org/adoptopenjdk/jdk8-jdk | C | 327 lines
140        int transparentColor = -1;
141        int frameDelay = 100;
142        int disposeMethod = GIF_DISPOSE_RESTORE;
169
170                    frameDelay = (((int)pExtension[2]) << 8) | pExtension[1];
171                    if (frameDelay < 10)
171                    if (frameDelay < 10)
172                        frameDelay = 10;
173                    if (flag & GIF_TRANSPARENT) {
269
270        splash->frames[imageIndex].delay = frameDelay * 10;     // 100ths of second to milliseconds
271        switch (disposeMethod) {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21