⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 swfdec_video_movie.h

📁 Swfdec is a decoder/renderer for Macromedia Flash animations. The decoding and rendering engine is
💻 H
字号:
/* Swfdec * Copyright (C) 2007 Benjamin Otte <otte@gnome.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor,  * Boston, MA  02110-1301  USA */#ifndef _SWFDEC_VIDEO_MOVIE_H_#define _SWFDEC_VIDEO_MOVIE_H_#include <glib-object.h>#include <libswfdec/swfdec_movie.h>#include <libswfdec/swfdec_video.h>G_BEGIN_DECLStypedef struct _SwfdecVideoMovie SwfdecVideoMovie;typedef struct _SwfdecVideoMovieClass SwfdecVideoMovieClass;typedef struct _SwfdecVideoMovieInput SwfdecVideoMovieInput;#define SWFDEC_TYPE_VIDEO_MOVIE                    (swfdec_video_movie_get_type())#define SWFDEC_IS_VIDEO_MOVIE(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWFDEC_TYPE_VIDEO_MOVIE))#define SWFDEC_IS_VIDEO_MOVIE_CLASS(klass)         (G_TYPE_CHECK_CLASS_TYPE ((klass), SWFDEC_TYPE_VIDEO_MOVIE))#define SWFDEC_VIDEO_MOVIE(obj)                    (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWFDEC_TYPE_VIDEO_MOVIE, SwfdecVideoMovie))#define SWFDEC_VIDEO_MOVIE_CLASS(klass)            (G_TYPE_CHECK_CLASS_CAST ((klass), SWFDEC_TYPE_VIDEO_MOVIE, SwfdecVideoMovieClass))/* FIXME: make an interface? */struct _SwfdecVideoMovieInput {  /* connect to movie */  void			(* connect)	(SwfdecVideoMovieInput *input,					 SwfdecVideoMovie *	movie);  /* called when input is unset */  void			(* disconnect)	(SwfdecVideoMovieInput *input,					 SwfdecVideoMovie *	movie);  /* called when movie is iterating */  void			(* iterate)	(SwfdecVideoMovieInput *input);};struct _SwfdecVideoMovie {  SwfdecMovie		movie;  SwfdecVideo *		video;		/* video we play back */  SwfdecVideoMovieInput *input;		/* where we take the input from */  cairo_surface_t *	image;		/* current image or NULL */  guint			image_width;	/* width of current image */  guint			image_height; 	/* height of current image */};struct _SwfdecVideoMovieClass {  SwfdecMovieClass	movie_class;};GType		swfdec_video_movie_get_type		(void);void		swfdec_video_movie_set_input		(SwfdecVideoMovie *	movie,							 SwfdecVideoMovieInput *input);void		swfdec_video_movie_clear	      	(SwfdecVideoMovie *	movie);/* API for SwfdecVideoMovieInput */void		swfdec_video_movie_new_image		(SwfdecVideoMovie *	movie,							 cairo_surface_t *	surface);G_END_DECLS#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -