28 #include <boost/shared_ptr.hpp>
29 #include <boost/scoped_array.hpp>
39 class VaapiSubpicture;
41 class VaapiVideoWindow;
42 class Renderer_agg_base;
51 bool init(
int argc,
char **argv[]);
57 void render(GdkRegion *
const);
58 void configure(GtkWidget *
const widget, GdkEventConfigure *
const event);
61 VaapiVideoWindow *getVideoWindow(boost::shared_ptr<VaapiSurface> surface,
62 GdkWindow *parent_window,
65 void resetRenderSurface(
unsigned int width,
unsigned int height);
70 boost::shared_ptr<VaapiImage> _vaapi_image;
71 unsigned int _vaapi_image_width;
72 unsigned int _vaapi_image_height;
73 boost::shared_ptr<VaapiSubpicture> _vaapi_subpicture;
74 std::auto_ptr<VaapiSurface> _vaapi_surface;
75 unsigned int _window_width;
76 unsigned int _window_height;
77 bool _window_is_setup;
Renderer * createRenderHandler()
Definition: gtk_glue_agg_vaapi.cpp:183
void prepDrawingArea(GtkWidget *drawing_area)
Definition: gtk_glue_agg_vaapi.cpp:170
VA rectangle abstraction.
Definition: VaapiSurface.h:35
void setRenderHandlerSize(int width, int height)
Definition: gtk_glue_agg_vaapi.cpp:251
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
Definition: klash_part.cpp:329
Base class for render handlers.
Definition: Renderer.h:190
~GtkAggVaapiGlue()
Definition: gtk_glue_agg_vaapi.cpp:154
Definition: klash_part.cpp:329
Definition: gtk_glue.h:40
Definition: Renderer_agg.h:29
GtkAggVaapiGlue()
Definition: gtk_glue_agg_vaapi.cpp:143
Definition: gtk_glue_agg_vaapi.h:45
void render()
Definition: gtk_glue_agg_vaapi.cpp:314
void configure(GtkWidget *const widget, GdkEventConfigure *const event)
Definition: gtk_glue_agg_vaapi.cpp:412
virtual void beforeRendering(movie_root *stage)
Definition: gtk_glue_agg_vaapi.cpp:260
bool init(int argc, char **argv[])
Definition: gtk_glue_agg_vaapi.cpp:159
This class represents the 'Stage' and top-level movie.
Definition: movie_root.h:150