Go to the documentation of this file.
20 #ifndef GNASH_VAAPISURFACEPROXY_H
21 #define GNASH_VAAPISURFACEPROXY_H
34 std::shared_ptr<VaapiContext> _context;
35 std::shared_ptr<VaapiSurface> _surface;
39 std::shared_ptr<VaapiContext> context);
43 std::shared_ptr<VaapiSurface>
get()
const {
return _surface; }
46 std::shared_ptr<VaapiContext>
getContext()
const {
return _context; }
51 #endif // GNASH_VAAPISURFACEPROXY_H
std::shared_ptr< VaapiSurface > get() const
Return VA surface.
Definition: VaapiSurfaceProxy.h:43
void log_debug(StringType msg, Args... args)
Definition: log.h:301
std::shared_ptr< VaapiContext > getContext() const
Return VA context.
Definition: VaapiSurfaceProxy.h:46
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
VA surface proxy used to release surface to context.
Definition: VaapiSurfaceProxy.h:33
#define DSOEXPORT
Definition: dsodefs.h:55
VaapiSurfaceProxy(std::shared_ptr< VaapiSurface > surface, std::shared_ptr< VaapiContext > context)
Definition: VaapiSurfaceProxy.cpp:27
~VaapiSurfaceProxy()
Definition: VaapiSurfaceProxy.cpp:34