|
Gnash
0.8.10
|
VA context abstraction. More...
#include <VaapiContext.h>
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< VaapiSurface > | acquireSurface () |
| Get a free surface. | |
| void | releaseSurface (boost::shared_ptr< VaapiSurface > surface) |
| Release surface. | |
| void | setData (std::auto_ptr< VaapiContextData > user_data) |
| Set user data. | |
| VaapiContextData * | getData () const |
| Get user data. | |
VA context abstraction.
| gnash::VaapiContext::VaapiContext | ( | VAProfile | profile, |
| VAEntrypoint | entrypoint | ||
| ) |
References GNASH_REPORT_FUNCTION, and gnash::string_of_VAProfile().
References GNASH_REPORT_FUNCTION.
| 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.
1.7.6.1