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; }
91 #endif // end of GNASH_GNASHVAAPIIMAGEPROXY_H
int _height
Definition: Renderer_cairo.cpp:212
int _width
Definition: Renderer_cairo.cpp:211
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
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:215
std::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:76
int x() const
Get the rendered image's x position.
Definition: GnashVaapiImageProxy.h:71
std::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:86
Definition: GnashVaapiImageProxy.h:33
tuple w
Definition: test.py:8
std::shared_ptr< VaapiSurface > surface() const
Get access to the underlying surface.
Definition: GnashVaapiImageProxy.h:65