PageRenderTime 223ms queryFilters 1ms Sphinxql 15ms GetByIds 179ms meta 0ms repositoryFilters 14ms languageFilters 1ms sourceFilters 1ms

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

Source

Language

Repository

HRTFKernel.h https://github.com/allstarschh/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)
game_asm_outline.rb https://github.com/amozoss/ece3710.git | Ruby | 127 lines
53    #             j top_of_game_loop
54    if hits >= 1 and hits < @frameDelay 
55      @black.blit @screen,[0,0]
89    #             
90    if hits >= @frameDelay and hits < @frameDelay*(@ducks.count) + @frameDelay 
91      duck.color_white()
118    # Go back to normal
119    elsif hits >= @frameDelay*(@ducks.count) + @frameDelay 
120      @drawOffset = -1
HRTFKernel.h https://github.com/andrenatal/webspeech-vr.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)
ManaCostBar.xaml.cs https://github.com/anonymous555/Hearthstone-Deck-Tracker.git | C# | 143 lines
24			AnimationDuration = 300;
25			FrameDelay = 20;
26			_nextAnimation = new double[3];
31		public int AnimationDuration { get; set; }
32		public int FrameDelay { get; set; }
33
58				{
59					bar.Height += (Math.Abs(from - to) * FrameDelay) / AnimationDuration;
60					if(bar.Height > to)
75				{
76					var newHeight = bar.Height - (Math.Abs(from - to) * FrameDelay) / AnimationDuration;
77					if(newHeight < to || newHeight < 0)
82
83					bar.Height -= (Math.Abs(from - to) * FrameDelay) / AnimationDuration;
84				}
HRTFKernel.cpp https://github.com/appcelerator-archive/webkit_titanium.git | C++ | 142 lines
61
62    double frameDelay = estimationFrame.extractAverageGroupDelay();
63    estimationFrame.doInverseFFT(impulseP);
64
65    return frameDelay;
66}
68HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, double sampleRate, bool bassBoost)
69    : m_frameDelay(0.0)
70    , m_sampleRate(sampleRate)
74    // Determine the leading delay (average group delay) for the response.
75    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
76
133    
134    double frameDelay = (1.0 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
135    
HRTFKernel.cpp https://github.com/appcelerator/webkit.git | C++ | 140 lines
63
64    float frameDelay = narrowPrecisionToFloat(estimationFrame.extractAverageGroupDelay());
65    estimationFrame.doInverseFFT(impulseP);
66
67    return frameDelay;
68}
70HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate)
71    : m_frameDelay(0)
72    , m_sampleRate(sampleRate)
76    // Determine the leading delay (average group delay) for the response.
77    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
78
131    
132    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
133    
HRTFKernel.cpp https://github.com/ardnet/webkit.js.git | C++ | 140 lines
63
64    float frameDelay = narrowPrecisionToFloat(estimationFrame.extractAverageGroupDelay());
65    estimationFrame.doInverseFFT(impulseP);
66
67    return frameDelay;
68}
70HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate)
71    : m_frameDelay(0)
72    , m_sampleRate(sampleRate)
76    // Determine the leading delay (average group delay) for the response.
77    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
78
131    
132    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
133    
HRTFKernel.cpp https://github.com/arthuredelstein/tor-browser.git | C++ | 99 lines
43
44    float frameDelay = static_cast<float>(estimationFrame.ExtractAverageGroupDelay());
45    estimationFrame.GetInverse(impulseP);
46
47    return frameDelay;
48}
50HRTFKernel::HRTFKernel(float* impulseResponse, size_t length, float sampleRate)
51    : m_frameDelay(0)
52    , m_sampleRate(sampleRate)
54    // Determine the leading delay (average group delay) for the response.
55    m_frameDelay = extractAverageGroupDelay(impulseResponse, length);
56
91    
92    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
93    
HRTFKernel.cpp https://github.com/astridliu/webkit.js.git | C++ | 140 lines
63
64    float frameDelay = narrowPrecisionToFloat(estimationFrame.extractAverageGroupDelay());
65    estimationFrame.doInverseFFT(impulseP);
66
67    return frameDelay;
68}
70HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate)
71    : m_frameDelay(0)
72    , m_sampleRate(sampleRate)
76    // Determine the leading delay (average group delay) for the response.
77    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
78
131    
132    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
133    
HRTFKernel.cpp https://github.com/ayeung/webkit.git | C++ | 140 lines
63
64    float frameDelay = narrowPrecisionToFloat(estimationFrame.extractAverageGroupDelay());
65    estimationFrame.doInverseFFT(impulseP);
66
67    return frameDelay;
68}
70HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate)
71    : m_frameDelay(0)
72    , m_sampleRate(sampleRate)
76    // Determine the leading delay (average group delay) for the response.
77    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
78
131    
132    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
133    
HRTFKernel.cpp https://github.com/bchukuka/gecko-dev.git | C++ | 99 lines
43
44    float frameDelay = static_cast<float>(estimationFrame.ExtractAverageGroupDelay());
45    estimationFrame.GetInverse(impulseP);
46
47    return frameDelay;
48}
50HRTFKernel::HRTFKernel(float* impulseResponse, size_t length, float sampleRate)
51    : m_frameDelay(0)
52    , m_sampleRate(sampleRate)
54    // Determine the leading delay (average group delay) for the response.
55    m_frameDelay = extractAverageGroupDelay(impulseResponse, length);
56
91    
92    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
93    
HRTFKernel.cpp https://github.com/bebef1987/gecko-dev.git | C++ | 99 lines
43
44    float frameDelay = static_cast<float>(estimationFrame.ExtractAverageGroupDelay());
45    estimationFrame.GetInverse(impulseP);
46
47    return frameDelay;
48}
50HRTFKernel::HRTFKernel(float* impulseResponse, size_t length, float sampleRate)
51    : m_frameDelay(0)
52    , m_sampleRate(sampleRate)
54    // Determine the leading delay (average group delay) for the response.
55    m_frameDelay = extractAverageGroupDelay(impulseResponse, length);
56
91    
92    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
93    
HRTFKernel.cpp https://github.com/BennyH26/phantomjs.git | C++ | 142 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)
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
133    
134    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
135    
HRTFKernel.cpp https://github.com/beyondyuanshu/qt.git | C++ | 142 lines
61
62    double frameDelay = estimationFrame.extractAverageGroupDelay();
63    estimationFrame.doInverseFFT(impulseP);
64
65    return frameDelay;
66}
68HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, double sampleRate, bool bassBoost)
69    : m_frameDelay(0.0)
70    , m_sampleRate(sampleRate)
74    // Determine the leading delay (average group delay) for the response.
75    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
76
133    
134    double frameDelay = (1.0 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
135    
effects.c https://github.com/blezek/warzone2100.git | C | 2,698 lines
807		/* Time to update the frame number on the smoke sprite */
808		if(graphicsTime - psEffect->lastFrame > psEffect->frameDelay)
809		{
990	/* Time to update the frame number on the explosion */
991	else if (graphicsTime - psEffect->lastFrame > psEffect->frameDelay)
992	{
1025	/* Time to update the frame number on the blood */
1026	if(graphicsTime - psEffect->lastFrame > psEffect->frameDelay)
1027	{
1048	/* Time to update the frame number on the smoke sprite */
1049	if(graphicsTime - psEffect->lastFrame > psEffect->frameDelay)
1050	{
1153		/* Time to add another trail 'thing'? */
1154		if(graphicsTime > psEffect->lastFrame + psEffect->frameDelay)
1155		{
HRTFKernel.cpp https://github.com/bnjbvr/gecko-dev.git | C++ | 99 lines
43
44    float frameDelay = static_cast<float>(estimationFrame.ExtractAverageGroupDelay());
45    estimationFrame.GetInverse(impulseP);
46
47    return frameDelay;
48}
50HRTFKernel::HRTFKernel(float* impulseResponse, size_t length, float sampleRate)
51    : m_frameDelay(0)
52    , m_sampleRate(sampleRate)
54    // Determine the leading delay (average group delay) for the response.
55    m_frameDelay = extractAverageGroupDelay(impulseResponse, length);
56
91    
92    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
93    
HRTFKernel.cpp https://github.com/bradparks/webkit.js.git | C++ | 140 lines
63
64    float frameDelay = narrowPrecisionToFloat(estimationFrame.extractAverageGroupDelay());
65    estimationFrame.doInverseFFT(impulseP);
66
67    return frameDelay;
68}
70HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate)
71    : m_frameDelay(0)
72    , m_sampleRate(sampleRate)
76    // Determine the leading delay (average group delay) for the response.
77    m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
78
131    
132    float frameDelay = (1 - x) * kernel1->frameDelay() + x * kernel2->frameDelay();
133    
Animation.hx git://github.com/rynti/Rygal.git | Haxe | 97 lines
43    /** The delay between multiple frames. */
44    public var frameDelay:Int;
45    
53     * 
54     * @param   frameDelay  The delay between frames in milliseconds.
55     * @param   sequence    The texture sequence this animation is based on.
57    public function new(frameDelay:Int, sequence:TextureSequence) {
58        this.frameDelay = frameDelay;
59        this.sequence = sequence;
65     * 
66     * @param   frameDelay  The delay between frames in milliseconds.
67     * @param   spritesheet     The spritesheet this animation is based on.
74     */
75    public static function fromSpritesheet(frameDelay:Int, spritesheet:Spritesheet,
76            start:Int = 0, end:Int = -1, loop:Bool = false):Animation {
ItemDrill.java https://github.com/CanPixel/PixelThrive.git | Java | 68 lines
15	protected double dir;
16	private int frame = 0, frameDelay = 0;
17	private BufferedImage[] frames = new BufferedImage[3];
34			dir = Math.atan2(dy, dx);
35			frameDelay++;
36			if(frameDelay >= 5)
37			{
38				frameDelay = 0;
39				frame++;
49		{
50			frame = frameDelay = 0;
51			if(SoundSystem.isSoundPlaying("drill")) SoundSystem.stopSound("drill");
Animation.java https://github.com/CanPixel/PixelThrive.git | Java | 43 lines
6	private int curFrame = 0, frameInt = 0;
7	private float frameDelay;
8
8
9	public Animation(String sheet, Vector2f spriteSize, float frameDelay, Vector2f[] frameCoords)
10	{
10	{
11		this.frameDelay = frameDelay;
12		frames = new Texture[frameCoords.length];
17	{
18		if(frameInt < frameDelay) frameInt++;
19		else
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21