| GStreamer VA-API Plugins 0.10 Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct GstVaapiSurfaceProxy; struct 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); gboolean gst_vaapi_surface_proxy_get_interlaced (GstVaapiSurfaceProxy *proxy); void gst_vaapi_surface_proxy_set_interlaced (GstVaapiSurfaceProxy *proxy,gboolean b); gboolean gst_vaapi_surface_proxy_get_tff (GstVaapiSurfaceProxy *proxy); void gst_vaapi_surface_proxy_set_tff (GstVaapiSurfaceProxy *proxy,gboolean tff);
"context" gpointer : Read / Write "interlaced" gboolean : Read / Write "surface" gpointer : Read / Write "tff" gboolean : Read / Write "timestamp" guint64 : Read / Write
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 |
gboolean gst_vaapi_surface_proxy_get_interlaced
(GstVaapiSurfaceProxy *proxy);
Returns whether the proxy holds an interlaced GstVaapiSurface or not.
|
a GstVaapiSurfaceProxy |
Returns : |
TRUE if the underlying surface is interlaced, FALSE
otherwise. |
void gst_vaapi_surface_proxy_set_interlaced (GstVaapiSurfaceProxy *proxy,gboolean b);
Sets whether the underlying GstVaapiSurface for proxy is interlaced
or not.
|
a GstVaapiSurfaceProxy |
|
a boolean value |
gboolean gst_vaapi_surface_proxy_get_tff (GstVaapiSurfaceProxy *proxy);
Returns the TFF flag of the GstVaapiSurface held by proxy.
|
a GstVaapiSurfaceProxy |
Returns : |
the TFF flag of the surface |
void gst_vaapi_surface_proxy_set_tff (GstVaapiSurfaceProxy *proxy,gboolean tff);
Sets the TFF flag of the proxy surface to tff.
|
a GstVaapiSurfaceProxy |
|
the new value of the TFF flag |