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;