VA surface abstraction.
More...
#include <VaapiSurface.h>
◆ VaapiSurface()
gnash::VaapiSurface::VaapiSurface |
( |
unsigned int |
width, |
|
|
unsigned int |
height |
|
) |
| |
◆ associateSubpicture()
◆ clear()
void gnash::VaapiSurface::clear |
( |
| ) |
|
Clear surface with black color.
References gnash::key::a, gnash::key::b, gnash::VaapiGlobalContext::display(), gnash::VaapiGlobalContext::get(), gnash::VaapiImage::get(), gnash::VaapiImage::getPitch(), gnash::VaapiImage::getPlane(), gnash::VaapiImage::height(), height(), gnash::key::i, gnash::VaapiImage::map(), gnash::operator==(), gnash::VaapiImage::unmap(), gnash::vaapi_check_status(), VAAPI_IMAGE_NV12, gnash::VaapiImage::width(), width(), and gnash::key::Y.
◆ deassociateSubpicture()
bool gnash::VaapiSurface::deassociateSubpicture |
( |
std::shared_ptr< VaapiSubpicture > |
subpicture | ) |
|
◆ get()
VASurfaceID gnash::VaapiSurface::get |
( |
| ) |
const |
|
inline |
◆ getContext()
Return parent VA context.
◆ height()
unsigned int gnash::VaapiSurface::height |
( |
| ) |
const |
|
inline |
◆ width()
unsigned int gnash::VaapiSurface::width |
( |
| ) |
const |
|
inline |
Get surface width.
Referenced by clear().
◆ VaapiContext
The documentation for this class was generated from the following files: