| GStreamer VA-API Plugins 0.10 Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
GstVaapiContext * gst_vaapi_surface_proxy_get_context (GstVaapiSurfaceProxy *proxy); GstVaapiSurface * gst_vaapi_surface_proxy_get_surface (GstVaapiSurfaceProxy *proxy); GstVaapiID gst_vaapi_surface_proxy_get_surface_id (GstVaapiSurfaceProxy *proxy); gpointer gst_vaapi_surface_proxy_get_user_data (GstVaapiSurfaceProxy *proxy); GstVaapiSurfaceProxy * gst_vaapi_surface_proxy_new (GstVaapiContext *context,GstVaapiSurface *surface); GstVaapiSurfaceProxy * gst_vaapi_surface_proxy_ref (GstVaapiSurfaceProxy *proxy); void gst_vaapi_surface_proxy_replace (GstVaapiSurfaceProxy **old_proxy_ptr,GstVaapiSurfaceProxy *new_proxy); void gst_vaapi_surface_proxy_set_context (GstVaapiSurfaceProxy *proxy,GstVaapiContext *context); void gst_vaapi_surface_proxy_set_surface (GstVaapiSurfaceProxy *proxy,GstVaapiSurface *surface); void gst_vaapi_surface_proxy_set_user_data (GstVaapiSurfaceProxy *proxy,gpointer user_data,GDestroyNotify destroy_notify); void gst_vaapi_surface_proxy_unref (GstVaapiSurfaceProxy *proxy);
GstVaapiContext * gst_vaapi_surface_proxy_get_context (GstVaapiSurfaceProxy *proxy);
Returns the GstVaapiContext stored in the proxy.
|
a GstVaapiSurfaceProxy |
Returns : |
the GstVaapiContext |
GstVaapiSurface * gst_vaapi_surface_proxy_get_surface (GstVaapiSurfaceProxy *proxy);
Returns the GstVaapiSurface stored in the proxy.
|
a GstVaapiSurfaceProxy |
Returns : |
the GstVaapiSurface |
GstVaapiID gst_vaapi_surface_proxy_get_surface_id
(GstVaapiSurfaceProxy *proxy);
Returns the VA surface ID stored in the proxy.
|
a GstVaapiSurfaceProxy |
Returns : |
the GstVaapiID |
gpointer gst_vaapi_surface_proxy_get_user_data
(GstVaapiSurfaceProxy *proxy);
Gets user-provided data set on the object via a previous call to
gst_vaapi_surface_proxy_set_user_data().
|
a GstVaapiSurfaceProxy |
Returns : |
The previously set user_data. [transfer none] |
GstVaapiSurfaceProxy * gst_vaapi_surface_proxy_new (GstVaapiContext *context,GstVaapiSurface *surface);
Creates a new GstVaapiSurfaceProxy with the specified context and surface.
|
a GstVaapiContext |
|
a GstVaapiSurface |
Returns : |
the newly allocated GstVaapiSurfaceProxy object |
GstVaapiSurfaceProxy * gst_vaapi_surface_proxy_ref (GstVaapiSurfaceProxy *proxy);
Atomically increases the reference count of the given proxy by one.
|
a GstVaapiSurfaceProxy |
Returns : |
The same proxy argument |
void gst_vaapi_surface_proxy_replace (GstVaapiSurfaceProxy **old_proxy_ptr,GstVaapiSurfaceProxy *new_proxy);
Atomically replaces the proxy object held in old_proxy_ptr with
new_proxy. This means that old_proxy_ptr shall reference a valid
object. However, new_proxy can be NULL.
|
a pointer to a GstVaapiSurfaceProxy |
|
a GstVaapiSurfaceProxy |
void gst_vaapi_surface_proxy_set_context (GstVaapiSurfaceProxy *proxy,GstVaapiContext *context);
Stores a new context into the proxy. The proxy releases the
previous reference, if any, and then holds a reference to the new
context.
|
a GstVaapiSurfaceProxy |
|
the new GstVaapiContext to be stored in proxy
|
void gst_vaapi_surface_proxy_set_surface (GstVaapiSurfaceProxy *proxy,GstVaapiSurface *surface);
Stores a new surface into the proxy. The proxy releases the
previous reference, if any, and then holds a reference to the new
surface.
|
a GstVaapiSurfaceProxy |
|
the new GstVaapiSurface to be stored in proxy
|
void gst_vaapi_surface_proxy_set_user_data (GstVaapiSurfaceProxy *proxy,gpointer user_data,GDestroyNotify destroy_notify);
Sets user_data on the object and the GDestroyNotify that will be
called when the data is freed.
If some user_data was previously set, then the former destroy_notify
function will be called before the user_data is replaced.
|
a GstVaapiSurfaceProxy |
|
user-provided data |
|
a GDestroyNotify. [closure user_data] |