|
Gnash
0.8.11dev
|
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. More... | |
| VAContextID | get () const |
| Return VA context. More... | |
| std::shared_ptr< VaapiSurface > | acquireSurface () |
| Get a free surface. More... | |
| void | releaseSurface (std::shared_ptr< VaapiSurface > surface) |
| Release surface. More... | |
| void | setData (std::unique_ptr< VaapiContextData > user_data) |
| Set user data. More... | |
| VaapiContextData * | getData () const |
| Get user data. More... | |
VA context abstraction.
| gnash::VaapiContext::VaapiContext | ( | VAProfile | profile, |
| VAEntrypoint | entrypoint | ||
| ) |
References GNASH_REPORT_FUNCTION, gnash::log_debug(), and gnash::string_of_VAProfile().
| gnash::VaapiContext::~VaapiContext | ( | ) |
| std::shared_ptr< VaapiSurface > gnash::VaapiContext::acquireSurface | ( | ) |
Get a free surface.
References gnash::log_debug().
|
inline |
Return VA context.
|
inline |
Get user data.
Referenced by gnash::GtkAggVaapiGlue::beforeRendering().
| 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 | ( | std::shared_ptr< VaapiSurface > | surface | ) |
Release surface.
References gnash::log_debug().
|
inline |
Set user data.
Referenced by gnash::GtkAggVaapiGlue::beforeRendering().
1.8.12