Gnash  0.8.10
Public Member Functions
gnash::VaapiContext Class Reference

VA context abstraction. More...

#include <VaapiContext.h>

List of all members.

Public Member Functions

 VaapiContext (VAProfile profile, VAEntrypoint entrypoint)
 ~VaapiContext ()
bool initDecoder (unsigned int width, unsigned int height)
 Initialize VA decoder for the specified picture dimensions.
VAContextID get () const
 Return VA context.
boost::shared_ptr< VaapiSurfaceacquireSurface ()
 Get a free surface.
void releaseSurface (boost::shared_ptr< VaapiSurface > surface)
 Release surface.
void setData (std::auto_ptr< VaapiContextData > user_data)
 Set user data.
VaapiContextDatagetData () const
 Get user data.

Detailed Description

VA context abstraction.


Constructor & Destructor Documentation

gnash::VaapiContext::VaapiContext ( VAProfile  profile,
VAEntrypoint  entrypoint 
)
gnash::VaapiContext::~VaapiContext ( )

References GNASH_REPORT_FUNCTION.


Member Function Documentation

boost::shared_ptr< VaapiSurface > gnash::VaapiContext::acquireSurface ( )

Get a free surface.

VAContextID gnash::VaapiContext::get ( ) const [inline]

Return VA context.

VaapiContextData* gnash::VaapiContext::getData ( ) const [inline]

Get user data.

bool gnash::VaapiContext::initDecoder ( unsigned int  width,
unsigned int  height 
)

Initialize VA decoder for the specified picture dimensions.

References GNASH_REPORT_FUNCTION.

void gnash::VaapiContext::releaseSurface ( boost::shared_ptr< VaapiSurface surface)

Release surface.

void gnash::VaapiContext::setData ( std::auto_ptr< VaapiContextData user_data) [inline]

Set user data.


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