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 size_t width() const
Get the rendered image's width.
Definition: GnashVaapiImageProxy.h:81
GnashVaapiImageProxy(const GnashVaapiImageProxy &o)
Definition: GnashVaapiImageProxy.h:57
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
std::shared_ptr< VaapiSurface > surface() const
Get access to the underlying surface.
Definition: GnashVaapiImageProxy.h:65
Definition: klash_part.cpp:329
int y() const
Get the rendered image's y position.
Definition: GnashVaapiImageProxy.h:76
std::int32_t x
Definition: BitmapData_as.cpp:434
#define DSOEXPORT
Definition: dsodefs.h:55
size_t height() const
Get the rendered image's width.
Definition: GnashVaapiImageProxy.h:86
std::int32_t y
Definition: BitmapData_as.cpp:435
Definition: GnashKey.h:154
Definition: GnashVaapiImageProxy.h:33
int x() const
Get the rendered image's x position.
Definition: GnashVaapiImageProxy.h:71