Go to the documentation of this file.
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())
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
@ height
Definition: klash_part.cpp:329
std::int32_t y
Definition: BitmapData_as.cpp:435
GnashVaapiImageProxy(GnashVaapiImage *image, int x, int y, size_t w, size_t h)
Definition: GnashVaapiImageProxy.h:53
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
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:36
int y() const
Get the rendered image's y position.
Definition: GnashVaapiImageProxy.h:76
std::shared_ptr< VaapiSurface > surface() const
Get access to the underlying surface.
Definition: GnashVaapiImageProxy.h:65
@ h
Definition: GnashKey.h:154
#define DSOEXPORT
Definition: dsodefs.h:55
Definition: GnashVaapiImageProxy.h:34
size_t height() const
Get the rendered image's width.
Definition: GnashVaapiImageProxy.h:86
@ o
Definition: GnashKey.h:161
@ width
Definition: klash_part.cpp:329
int x() const
Get the rendered image's x position.
Definition: GnashVaapiImageProxy.h:71
std::int32_t x
Definition: BitmapData_as.cpp:434