Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::GnashVaapiImageProxy Class Reference

#include <GnashVaapiImageProxy.h>

Public Member Functions

 GnashVaapiImageProxy (GnashVaapiImage *image, int x, int y, size_t w, size_t h)
 
 GnashVaapiImageProxy (const GnashVaapiImageProxy &o)
 
std::shared_ptr< VaapiSurfacesurface () const
 Get access to the underlying surface. More...
 
int x () const
 Get the rendered image's x position. More...
 
int y () const
 Get the rendered image's y position. More...
 
size_t width () const
 Get the rendered image's width. More...
 
size_t height () const
 Get the rendered image's width. More...
 

Detailed Description

GnashVaapiImage proxy for delayed rendering XXX: call it GnashRenderedVaapiImage instead?

Constructor & Destructor Documentation

§ GnashVaapiImageProxy() [1/2]

gnash::GnashVaapiImageProxy::GnashVaapiImageProxy ( GnashVaapiImage image,
int  x,
int  y,
size_t  w,
size_t  h 
)
inline

§ GnashVaapiImageProxy() [2/2]

gnash::GnashVaapiImageProxy::GnashVaapiImageProxy ( const GnashVaapiImageProxy o)
inline

Member Function Documentation

§ height()

size_t gnash::GnashVaapiImageProxy::height ( ) const
inline

Get the rendered image's width.

Returns
The rendered image's height in pixels.

§ surface()

std::shared_ptr<VaapiSurface> gnash::GnashVaapiImageProxy::surface ( ) const
inline

Get access to the underlying surface.

Returns
A pointer to the VA surface.

§ width()

size_t gnash::GnashVaapiImageProxy::width ( ) const
inline

Get the rendered image's width.

Returns
The rendered image's width in pixels.

§ x()

int gnash::GnashVaapiImageProxy::x ( ) const
inline

Get the rendered image's x position.

Returns
The rendered image's x position in pixels.

§ y()

int gnash::GnashVaapiImageProxy::y ( ) const
inline

Get the rendered image's y position.

Returns
The rendered image's y position in pixels.

The documentation for this class was generated from the following file: