search for: frame_id

Displaying 8 results from an estimated 8 matches for "frame_id".

Did you mean: frame_idx
2007 Mar 07
0
11 commits - libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_scriptable.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h
...is GINT_TO_POINTER (depth) */ + g_hash_table_remove (sprite->live_content, data); + break; + default: + g_assert_not_reached (); + return; + } +} + /* NB: does not free the action data */ static void swfdec_sprite_remove_last_action (SwfdecSprite * sprite, unsigned int frame_id) @@ -212,6 +208,7 @@ swfdec_sprite_add_action (SwfdecSprite * frame->actions = g_array_new (FALSE, FALSE, sizeof (SwfdecSpriteAction)); swfdec_content_update_lifetime (sprite, type, data); + swfdec_content_update_live (sprite, type, data); action.type = type; action.data = data;...
2019 Jun 09
2
Strange local variable cv::VideoCapture allocated
...536e8. If I change the ternary operator at line 483 to an if-else, the temporary is not allocated. Thanks Variables: ========= FFMPEGVideoCapture ffmpeg_video_capture_; cv::VideoCapture opencv_video_capture_; Function: ======== bool StreamData::readFileFrame(Mat& curr_frame, int& frame_id) { // read frame from file ++frame_id; 483: enable_ffmpeg_decoder_ ? (ffmpeg_video_capture_.read(curr_frame)) : opencv_video_capture_ >> curr_frame; return !curr_frame.empty(); } Generated AST from ast-dump: =========================== -CXXMethodDecl 0x7ff113...
2007 Jun 18
0
Branch 'as' - 8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_sprite_movie.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h
...(sprite->init_action); sprite->init_action = NULL; @@ -118,62 +104,31 @@ swfdec_sprite_add_sound_chunk (SwfdecSpr SWFDEC_AUDIO_OUT_GRANULARITY (sprite->frames[frame].sound_head->original_format); } -static void -swfdec_sprite_remove_last_action (SwfdecSprite * sprite, guint frame_id) -{ - SwfdecSpriteFrame *frame; - - g_assert (frame_id < sprite->n_frames); - frame = &sprite->frames[frame_id]; - - g_assert (frame->actions != NULL); - g_assert (frame->actions->len > 0); - g_array_set_size (frame->actions, frame->actions->len - 1); -} -...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...output trace messages in the window add support for onFoo events in addition to frame events loaded from the file add event-order tets that checks onFoo and foo events are executed in the right order use a hash table to store characters for faster indexing by id make the frame_id implicit in some calls even more functions don't take a frame_id anymore but use parse_frame keep a list of current contents while parsing for faster lookup when update to list -> hash table change in SwfdecSwfDecoder that change was not supposed to exist in the repos...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...output trace messages in the window add support for onFoo events in addition to frame events loaded from the file add event-order tets that checks onFoo and foo events are executed in the right order use a hash table to store characters for faster indexing by id make the frame_id implicit in some calls even more functions don't take a frame_id anymore but use parse_frame keep a list of current contents while parsing for faster lookup when update to list -> hash table change in SwfdecSwfDecoder that change was not supposed to exist in the repos...
2007 Mar 29
0
libswfdec-gtk/swfdec_playback_alsa.c libswfdec/swfdec_audio_event.h libswfdec/swfdec_audio_flv.h libswfdec/swfdec_audio_stream.h libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h libswfdec/swfdec_cache.c
...guint frame, SwfdecBuffer * chunk, int skip, guint n_samples) { g_assert (sprite->frames != NULL); @@ -182,7 +182,7 @@ swfdec_content_update_live (SwfdecSprite /* NB: does not free the action data */ static void -swfdec_sprite_remove_last_action (SwfdecSprite * sprite, unsigned int frame_id) +swfdec_sprite_remove_last_action (SwfdecSprite * sprite, guint frame_id) { SwfdecSpriteFrame *frame; @@ -466,7 +466,7 @@ swfdec_spriteseg_remove_object (SwfdecSw int swfdec_spriteseg_remove_object_2 (SwfdecSwfDecoder * s) { - unsigned int depth; + guint depth; depth = swfdec_bit...
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
...guint frame, SwfdecBuffer * chunk, int skip, guint n_samples) { g_assert (sprite->frames != NULL); @@ -182,7 +182,7 @@ swfdec_content_update_live (SwfdecSprite /* NB: does not free the action data */ static void -swfdec_sprite_remove_last_action (SwfdecSprite * sprite, unsigned int frame_id) +swfdec_sprite_remove_last_action (SwfdecSprite * sprite, guint frame_id) { SwfdecSpriteFrame *frame; @@ -466,7 +466,7 @@ swfdec_spriteseg_remove_object (SwfdecSw int swfdec_spriteseg_remove_object_2 (SwfdecSwfDecoder * s) { - unsigned int depth; + guint depth; depth = swfdec_bit...
2007 Jun 13
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_asprops.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_sprite.c
...* data is GINT_TO_POINTER (depth) */ - g_hash_table_remove (sprite->live_content, data); - break; - default: - g_assert_not_reached (); - return; - } -} - -/* NB: does not free the action data */ static void swfdec_sprite_remove_last_action (SwfdecSprite * sprite, guint frame_id) { @@ -207,8 +143,6 @@ swfdec_sprite_add_action (SwfdecSprite * if (frame->actions == NULL) frame->actions = g_array_new (FALSE, FALSE, sizeof (SwfdecSpriteAction)); - swfdec_content_update_lifetime (sprite, type, data); - swfdec_content_update_live (sprite, type, data); actio...