GnashImage implementation using a VA surface. More...
#include <GnashVaapiImage.h>
Public Member Functions | |
GnashVaapiImage (boost::shared_ptr< VaapiSurface > surface, ImageType type) | |
GnashVaapiImage (const GnashVaapiImage &o) | |
~GnashVaapiImage () | |
virtual void | update (boost::shared_ptr< VaapiSurface > surface) |
virtual void | update (boost::uint8_t *data) |
virtual void | update (const GnashImage &from) |
Copy image data from another image data. | |
boost::shared_ptr< VaapiSurface > | surface () const |
Get access to the underlying surface. | |
virtual iterator | begin () |
Get access to the underlying data. | |
virtual const_iterator | begin () const |
Get read-only access to the underlying data. |
GnashImage implementation using a VA surface.
gnash::GnashVaapiImage::GnashVaapiImage | ( | boost::shared_ptr< VaapiSurface > | surface, | |
ImageType | type | |||
) |
gnash::GnashVaapiImage::GnashVaapiImage | ( | const GnashVaapiImage & | o | ) |
gnash::GnashVaapiImage::~GnashVaapiImage | ( | ) |
GnashImage::iterator gnash::GnashVaapiImage::begin | ( | ) | [virtual] |
Get access to the underlying data.
NOTE: This function shall not be used
Reimplemented from gnash::GnashImage.
References gnash::GnashImage::_data, and _surface.
GnashImage::const_iterator gnash::GnashVaapiImage::begin | ( | ) | const [virtual] |
Get read-only access to the underlying data.
Reimplemented from gnash::GnashImage.
References gnash::GnashImage::_data, and _surface.
boost::shared_ptr<VaapiSurface> gnash::GnashVaapiImage::surface | ( | ) | const [inline] |
void gnash::GnashVaapiImage::update | ( | boost::uint8_t * | data | ) | [virtual] |
void gnash::GnashVaapiImage::update | ( | const GnashImage & | from | ) | [virtual] |
Copy image data from another image data.
Note that this buffer must have the same rowstride and type
from | image to copy data from. |
Reimplemented from gnash::GnashImage.
void gnash::GnashVaapiImage::update | ( | boost::shared_ptr< VaapiSurface > | surface | ) | [virtual] |