21 #ifndef GNASH_GNASHVAAPIIMAGEPROXY_H 22 #define GNASH_GNASHVAAPIIMAGEPROXY_H 28 class GnashVaapiImage;
38 std::shared_ptr<VaapiSurface> _surface;
54 : _surface(image->surface()), _x(x), _y(y), _width(w), _height(h)
58 : _surface(o.surface())
59 , _x(o.
x()), _y(o.
y()), _width(o.
width()), _height(o.
height())
65 std::shared_ptr<VaapiSurface>
surface()
const 71 int x()
const {
return _x; }
76 int y()
const {
return _y; }
81 size_t width()
const {
return _width; }
86 size_t height()
const {
return _height; }
91 #endif // end of GNASH_GNASHVAAPIIMAGEPROXY_H GnashVaapiImageProxy(const GnashVaapiImageProxy &o)
Definition: GnashVaapiImageProxy.h:57
size_t width() const
Get the rendered image's width.
Definition: GnashVaapiImageProxy.h:81
GnashImage implementation using a VA surface.
Definition: GnashVaapiImage.h:35
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:53
Definition: klash_part.cpp:329
Definition: GnashKey.h:161
Definition: klash_part.cpp:329
#define DSOEXPORT
Definition: dsodefs.h:55
int y() const
Get the rendered image's y position.
Definition: GnashVaapiImageProxy.h:76
x
Definition: extensions/fileio/test.as:62
y
Definition: extensions/fileio/test.as:70
int x() const
Get the rendered image's x position.
Definition: GnashVaapiImageProxy.h:71
Definition: GnashKey.h:154
size_t height() const
Get the rendered image's width.
Definition: GnashVaapiImageProxy.h:86
Definition: GnashVaapiImageProxy.h:33
std::shared_ptr< VaapiSurface > surface() const
Get access to the underlying surface.
Definition: GnashVaapiImageProxy.h:65