Displaying 18 results from an estimated 18 matches for "nextfram".
Did you mean:
nextframe
2010 Jun 28
1
ACE does not work for me at all.
...andlers
void __stdcall WFAudioPlayer::WaveOutProc(HWAVEOUT hWaveOut,UINT uMsg,DWORD
dwInstance,DWORD dwParam1,DWORD dwParam2)
{
if(uMsg != WOM_DONE)
return;
WFAudioPlayer* player = reinterpret_cast<WFAudioPlayer*>(dwInstance);
if (player)
{
// get the frame to be played back next.
tByte* nextframe = player->GetNextBlockFrame();
/**
* No matter the following two lines are commented or not, the voip
performances are the same, with echo.
*/
// make speex AEC buffer it for echo cancellation for recorder
if (nextframe)
player->GetConverter()->SpeexEchoPlayback(nextframe);
}
......
}...
2007 Nov 14
5
[Bug 13241] New: This particular flash file cycles between "loaded" and "loading"
http://bugs.freedesktop.org/show_bug.cgi?id=13241
Summary: This particular flash file cycles between "loaded" and
"loading"
Product: swfdec
Version: 0.5.3
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2007 Jan 31
0
Branch 'interpreter' - 20 commits - autogen.sh configure.ac libswfdec/js libswfdec/swfdec_debug.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_script.c
...]
+undefined
+undefined
+[object Object]
+undefined
+undefined
+[object Object]
+undefined
+undefined
diff-tree 29607ca556843663468425ffad907e69839a0d8f (from 62447e55d8fb4b74154694683d47070cd49e9868)
Author: Benjamin Otte <otte@gnome.org>
Date: Wed Jan 31 14:50:27 2007 +0100
implement NextFrame, PreviousFrame, ToInteger, TargetPath, GotoLabel, GotoFrame2
Those are the actions needed by South Park studio
diff --git a/libswfdec/swfdec_script.c b/libswfdec/swfdec_script.c
index b172ec6..9921af8 100644
--- a/libswfdec/swfdec_script.c
+++ b/libswfdec/swfdec_script.c
@@ -35,6 +35,8 @...
2007 Jan 18
0
Branch 'interpreter' - 2 commits - libswfdec/js libswfdec/swfdec_js_movie.c libswfdec/swfdec_script.c
...e (jump-- > 0);
+ cx->fp->pc = pc;
+ }
+ return JS_TRUE;
+}
+
+/*** PRINT FUNCTIONS ***/
+
static char *
swfdec_action_print_goto_frame (guint action, const guint8 *data, guint len)
{
@@ -93,7 +177,7 @@ static const SwfdecActionSpec actions[25
/* version 3 */
[0x04] = { "NextFrame", NULL },
[0x05] = { "PreviousFrame", NULL },
- [0x06] = { "Play", NULL },
+ [0x06] = { "Play", NULL, 0, 0, { swfdec_action_play, swfdec_action_play, swfdec_action_play, swfdec_action_play, swfdec_action_play } },
[0x07] = { "Stop", NULL, 0, 0,...
2007 Nov 07
0
14 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_script.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_text_field_movie.c
...interpret.c
+++ b/libswfdec/swfdec_as_interpret.c
@@ -3101,13 +3101,14 @@ swfdec_action_print_wait_for_frame (guint action, const guint8 *data, guint len)
/*** BIG FUNCTION TABLE ***/
const SwfdecActionSpec swfdec_as_actions[256] = {
- /* version 3 */
- [SWFDEC_AS_ACTION_NEXT_FRAME] = { "NextFrame", NULL, 0, 0, swfdec_action_next_frame, 3 },
- [SWFDEC_AS_ACTION_PREVIOUS_FRAME] = { "PreviousFrame", NULL, 0, 0, swfdec_action_previous_frame, 3 },
- [SWFDEC_AS_ACTION_PLAY] = { "Play", NULL, 0, 0, swfdec_action_play, 3 },
- [SWFDEC_AS_ACTION_STOP] = { "Stop"...
2011 Apr 11
0
[LLVMdev] RFC: GSoC Project
..., and calculate the correct return address for each stack frame. I'm
envisioning something like this:
frame = llvm.currentframe();
while frame != NULL {
retaddr = llvm.returnaddr(frame);
// do stack tracing using frame and retaddr to identify stack roots.
frame = llvm.nextframe(frame);
}
This is essentially what I do now with the EBP register - but it would be
better if it were encapsulated behind an API, so that frontends wouldn't
have to know about specific registers.
>
> -Chris
>
>
> On Wed, Mar 23, 2011 at 3:07 AM, Sanjoy Das <
> sanjoy...
2007 Jun 08
0
Changes to 'refs/tags/0.4.2'
...ng
implement DefineFunction
return "[type Function]" from function.toString()
create a call object for calls to SWF code
implement CallFunction, BitRShift, BitLShift and BitURShift
add 2 tests for DefineFunction
add swfdec_movie_get_path
implement NextFrame, PreviousFrame, ToInteger, TargetPath, GotoLabel, GotoFrame2
add test for Color constructor
make eval (obj, "") return obj and not undefined
add print function for SetTarget
handle colors not referring to movies
implement Equals
initialize the constant...
2011 Apr 10
2
[LLVMdev] RFC: GSoC Project
On Apr 10, 2011, at 2:45 PM, Talin wrote:
> I wonder - would something like this allow for multiple stacks for a single thread? I'm thinking of something like continuations / fibers / green threads, which would be very handy.
I haven't looked at the proposal, but yes, this would be very useful functionality for LLVM to provide.
-Chris
>
> On Wed, Mar 23, 2011 at 3:07 AM,
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
...ontext *cx, guint action, const guint8 *data, guint len)
+{
+ SwfdecMovie *movie = swfdec_action_get_target (cx);
+ if (movie) {
+ if (movie->frame + 1 < movie->n_frames) {
+ swfdec_movie_goto (movie, movie->frame + 1);
+ } else {
+ SWFDEC_INFO ("can't execute nextFrame, already at last frame");
+ }
+ } else {
+ SWFDEC_ERROR ("no movie to nextFrame on");
+ }
+}
+
+static void
+swfdec_action_previous_frame (SwfdecAsContext *cx, guint action, const guint8 *data, guint len)
+{
+ SwfdecMovie *movie = swfdec_action_get_target (cx);
+ if (movie...
2007 Mar 28
0
Branch 'as' - 3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_types.c
...ters);
return JS_FALSE;
}
if (preload != 0) {
@@ -2489,7 +2499,7 @@ typedef struct {
/* array is for version 3, 4, 5, 6, 7+ */
} SwfdecActionSpec;
-static const SwfdecActionSpec actions[256] = {
+const SwfdecActionSpec actions[256] = {
/* version 3 */
[0x04] = { "NextFrame", NULL, 0, 0, { swfdec_action_next_frame, swfdec_action_next_frame, swfdec_action_next_frame, swfdec_action_next_frame, swfdec_action_next_frame } },
[0x05] = { "PreviousFrame", NULL, 0, 0, { swfdec_action_previous_frame, swfdec_action_previous_frame, swfdec_action_previous_frame...
2007 Jun 27
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie_as.c
...if (movie) {
- if (movie->frame + 1 < movie->n_frames) {
- swfdec_movie_goto (movie, movie->frame + 1);
+ if (movie->frame < movie->n_frames) {
+ swfdec_sprite_movie_goto (movie, movie->frame + 1);
} else {
SWFDEC_INFO ("can't execute nextFrame, already at last frame");
}
@@ -109,10 +109,10 @@ swfdec_action_next_frame (SwfdecAsContex
static void
swfdec_action_previous_frame (SwfdecAsContext *cx, guint action, const guint8 *data, guint len)
{
- SwfdecMovie *movie = swfdec_action_get_target (cx);
+ SwfdecSpriteMovie *movie =...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
..._void_function (state, name);
-}
-
-static void
-compile_simple_call (CompileState *state, guint action, guint len)
-{
- char *name;
-
- /* FIXME: shouldn't some functions here PUSH_OBJ instead of push_target? */
- push_target (state);
- switch (action) {
- case 0x04:
- name = "nextFrame";
- break;
- case 0x05:
- name = "prevFrame";
- break;
- case 0x06:
- name = "play";
- break;
- case 0x07:
- name = "stop";
- break;
- case 0x09:
- name = "stopAllSounds";
- break;
- case 0x28:...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...ng
implement DefineFunction
return "[type Function]" from function.toString()
create a call object for calls to SWF code
implement CallFunction, BitRShift, BitLShift and BitURShift
add 2 tests for DefineFunction
add swfdec_movie_get_path
implement NextFrame, PreviousFrame, ToInteger, TargetPath, GotoLabel, GotoFrame2
add test for Color constructor
make eval (obj, "") return obj and not undefined
add print function for SetTarget
handle colors not referring to movies
implement Equals
initialize the constant...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...ng
implement DefineFunction
return "[type Function]" from function.toString()
create a call object for calls to SWF code
implement CallFunction, BitRShift, BitLShift and BitURShift
add 2 tests for DefineFunction
add swfdec_movie_get_path
implement NextFrame, PreviousFrame, ToInteger, TargetPath, GotoLabel, GotoFrame2
add test for Color constructor
make eval (obj, "") return obj and not undefined
add print function for SetTarget
handle colors not referring to movies
implement Equals
initialize the constant...
2007 Jun 27
0
Branch 'as' - 16 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_script_function.c
...S_SPRITE_MOVIE (cx->frame->target)) {
++ SwfdecSpriteMovie *movie = SWFDEC_SPRITE_MOVIE (cx->frame->target);
+ if (movie->frame < movie->n_frames) {
+ swfdec_sprite_movie_goto (movie, movie->frame + 1);
} else {
SWFDEC_INFO ("can't execute nextFrame, already at last frame");
}
@@@ -88,10 -109,10 +88,10 @@@
static void
swfdec_action_previous_frame (SwfdecAsContext *cx, guint action, const guint8 *data, guint len)
{
- if (SWFDEC_IS_MOVIE (cx->frame->target)) {
- SwfdecMovie *movie = SWFDEC_MOVIE (cx->frame->ta...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...dVariables", false],
+ ["_global.MovieClip.prototype", "localToGlobal", false],
+ ["_global.MovieClip.prototype", "meth", false],
+ ["_global.MovieClip.prototype", "moveTo", true],
+ ["_global.MovieClip.prototype", "nextFrame", false],
+ ["_global.MovieClip.prototype", "play", false],
+ ["_global.MovieClip.prototype", "prevFrame", false],
+ ["_global.MovieClip.prototype", "removeMovieClip", false],
+ ["_global.MovieClip.prototype", "set...
2007 Mar 29
0
Branch 'as' - 9 commits - libswfdec-gtk/swfdec_playback_alsa.c libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c
...len);
typedef struct {
const char * name; /* name identifying the action */
char * (* print) (guint action, const guint8 *data, guint len);
@@ -2500,6 +2463,7 @@ typedef struct {
} SwfdecActionSpec;
const SwfdecActionSpec actions[256] = {
+#if 0
/* version 3 */
[0x04] = { "NextFrame", NULL, 0, 0, { swfdec_action_next_frame, swfdec_action_next_frame, swfdec_action_next_frame, swfdec_action_next_frame, swfdec_action_next_frame } },
[0x05] = { "PreviousFrame", NULL, 0, 0, { swfdec_action_previous_frame, swfdec_action_previous_frame, swfdec_action_previous_frame...
2007 Nov 20
0
19 commits - libswfdec/swfdec_audio_event.c libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_image.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h
...llStyle (shape, r, g, b, 255);
+ SWFShape_setRightFillStyle (shape, fill);
+ SWFShape_drawLineTo (shape, 100, 0);
+ SWFShape_drawLineTo (shape, 100, 100);
+ SWFShape_drawLineTo (shape, 0, 100);
+ SWFShape_drawLineTo (shape, 0, 0);
+
+ SWFMovieClip_add (clip, (SWFBlock) shape);
+ SWFMovieClip_nextFrame (clip);
+ return (SWFBlock) clip;
+}
+
+static void
+do_movie (int version, unsigned int flags)
+{
+ char name[100];
+ SWFMovie movie;
+ SWFDisplayItem item, item1, item2;
+
+ movie = newSWFMovieWithVersion (version);
+ SWFMovie_setRate (movie, 1);
+ SWFMovie_setDimension (movie, 200, 150);...