![]() |
![]() |
![]() |
GStreamer VA-API Plugins 0.10 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GstVaapiSurfaceProxy; GstVaapiSurfaceProxyClass; GstVaapiSurfaceProxy * gst_vaapi_surface_proxy_new (GstVaapiContext *context, GstVaapiSurface *surface); GstVaapiContext * gst_vaapi_surface_proxy_get_context (GstVaapiSurfaceProxy *proxy); void gst_vaapi_surface_proxy_set_context (GstVaapiSurfaceProxy *proxy, GstVaapiContext *context); GstVaapiSurface * gst_vaapi_surface_proxy_get_surface (GstVaapiSurfaceProxy *proxy); GstVaapiID gst_vaapi_surface_proxy_get_surface_id (GstVaapiSurfaceProxy *proxy); void gst_vaapi_surface_proxy_set_surface (GstVaapiSurfaceProxy *proxy, GstVaapiSurface *surface); GstClockTime gst_vaapi_surface_proxy_get_timestamp (GstVaapiSurfaceProxy *proxy); void gst_vaapi_surface_proxy_set_timestamp (GstVaapiSurfaceProxy *proxy, GstClockTime timestamp);
"context" gpointer : Read / Write "surface" gpointer : Read / Write "timestamp" guint64 : Read / Write
typedef struct _GstVaapiSurfaceProxy GstVaapiSurfaceProxy;
A wrapper around a VA surface and context.
typedef struct { } GstVaapiSurfaceProxyClass;
A wrapper around a VA surface and context.
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 |
GstVaapiContext * gst_vaapi_surface_proxy_get_context (GstVaapiSurfaceProxy *proxy);
Returns the GstVaapiContext stored in the proxy
.
|
a GstVaapiSurfaceProxy |
Returns : |
the GstVaapiContext |
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
|
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 |
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
|
GstClockTime gst_vaapi_surface_proxy_get_timestamp (GstVaapiSurfaceProxy *proxy);
Returns the presentation timestamp of the GstVaapiSurface held by proxy
.
|
a GstVaapiSurfaceProxy |
Returns : |
the presentation timestamp of the surface, or
GST_CLOCK_TIME_NONE is none was set
|
void gst_vaapi_surface_proxy_set_timestamp (GstVaapiSurfaceProxy *proxy, GstClockTime timestamp);
Sets the presentation timestamp of the proxy
surface to timestamp
.
|
a GstVaapiSurfaceProxy |
|
the new presentation timestamp as a GstClockTime |
"timestamp"
property"timestamp" guint64 : Read / Write
The presentation time of the surface.
Default value: 18446744073709551615