Public Member Functions

gnash::GnashVaapiImage Class Reference

GnashImage implementation using a VA surface. More...

#include <GnashVaapiImage.h>

Inheritance diagram for gnash::GnashVaapiImage:
Inheritance graph
[legend]
Collaboration diagram for gnash::GnashVaapiImage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GnashVaapiImage (boost::shared_ptr< VaapiSurface > surface, image::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 image::GnashImage &from)
 Copy image data from another image data.
boost::shared_ptr< VaapiSurfacesurface () 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.

Detailed Description

GnashImage implementation using a VA surface.


Constructor & Destructor Documentation

gnash::GnashVaapiImage::GnashVaapiImage ( boost::shared_ptr< VaapiSurface surface,
image::ImageType  type 
)
gnash::GnashVaapiImage::GnashVaapiImage ( const GnashVaapiImage o  ) 
gnash::GnashVaapiImage::~GnashVaapiImage (  ) 

Member Function Documentation

image::GnashImage::iterator gnash::GnashVaapiImage::begin (  )  [virtual]

Get access to the underlying data.

NOTE: This function shall not be used

Returns:
NULL.

Reimplemented from gnash::image::GnashImage.

References gnash::image::GnashImage::_data, and _surface.

image::GnashImage::const_iterator gnash::GnashVaapiImage::begin (  )  const [virtual]

Get read-only access to the underlying data.

Returns:
A read-only pointer to the raw image data.

Reimplemented from gnash::image::GnashImage.

References gnash::image::GnashImage::_data, and _surface.

boost::shared_ptr<VaapiSurface> gnash::GnashVaapiImage::surface (  )  const [inline]

Get access to the underlying surface.

Returns:
A pointer to the VA surface.

References _surface.

void gnash::GnashVaapiImage::update ( boost::uint8_t *  data  )  [virtual]
void gnash::GnashVaapiImage::update ( const image::GnashImage from  )  [virtual]

Copy image data from another image data.

Note that this buffer must have the same rowstride and type

Parameters:
from image to copy data from.

Reimplemented from gnash::image::GnashImage.

void gnash::GnashVaapiImage::update ( boost::shared_ptr< VaapiSurface surface  )  [virtual]

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