21 #ifndef GNASH_GNASHVAAPIIMAGEPROXY_H
22 #define GNASH_GNASHVAAPIIMAGEPROXY_H
24 #include <boost/shared_ptr.hpp>
29 class GnashVaapiImage;
39 boost::shared_ptr<VaapiSurface>
_surface;
55 : _surface(image->surface()), _x(x), _y(y), _width(w), _height(h)
59 : _surface(o.surface())
60 , _x(o.
x()), _y(o.
y()), _width(o.
width()), _height(o.
height())
66 boost::shared_ptr<VaapiSurface>
surface()
const
72 int x()
const {
return _x; }
77 int y()
const {
return _y; }
92 #endif // end of GNASH_GNASHVAAPIIMAGEPROXY_H
int _height
Definition: Renderer_cairo.cpp:213
int _width
Definition: Renderer_cairo.cpp:212
GnashVaapiImageProxy(const GnashVaapiImageProxy &o)
Definition: GnashVaapiImageProxy.h:58
size_t width() const
Get the rendered image's width.
Definition: GnashVaapiImageProxy.h:82
GnashImage implementation using a VA surface.
Definition: GnashVaapiImage.h:36
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
GnashVaapiImageProxy(GnashVaapiImage *image, int x, int y, size_t w, size_t h)
Definition: GnashVaapiImageProxy.h:54
boost::shared_ptr< VaapiSurface > surface() const
Get access to the underlying surface.
Definition: GnashVaapiImageProxy.h:66
Definition: klash_part.cpp:329
Definition: GnashKey.h:161
const size_t _y
Definition: BitmapData_as.cpp:466
Definition: klash_part.cpp:329
const size_t _x
Definition: BitmapData_as.cpp:465
cairo_surface_t * _surface
Definition: Renderer_cairo.cpp:216
boost::int32_t x
Definition: BitmapData_as.cpp:434
#define DSOEXPORT
Definition: dsodefs.h:55
int y() const
Get the rendered image's y position.
Definition: GnashVaapiImageProxy.h:77
int x() const
Get the rendered image's x position.
Definition: GnashVaapiImageProxy.h:72
boost::int32_t y
Definition: BitmapData_as.cpp:435
Definition: GnashKey.h:154
size_t height() const
Get the rendered image's width.
Definition: GnashVaapiImageProxy.h:87
Definition: GnashVaapiImageProxy.h:34
tuple w
Definition: test.py:8