![]() |
![]() |
![]() |
GStreamer VA-API Plugins 0.10 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
struct GstVaapiObject; struct GstVaapiObjectClass; GstVaapiDisplay * gst_vaapi_object_get_display (GstVaapiObject *object
); void gst_vaapi_object_lock_display (GstVaapiObject *object
); void gst_vaapi_object_unlock_display (GstVaapiObject *object
); GstVaapiID gst_vaapi_object_get_id (GstVaapiObject *object
);
GObject +----GstVaapiObject +----GstVaapiContext +----GstVaapiImage +----GstVaapiSubpicture +----GstVaapiSurface +----GstVaapiWindow +----GstVaapiTexture
"display" GstVaapiDisplay* : Read / Write / Construct Only "id" GstVaapiID : Read / Write / Construct Only
struct GstVaapiObjectClass { void (*destroy)(GstVaapiObject *oject); };
VA object base class.
signal class handler for "destroy" |
GstVaapiDisplay * gst_vaapi_object_get_display (GstVaapiObject *object
);
Returns the GstVaapiDisplay this object
is bound to.
|
a GstVaapiObject |
Returns : |
the parent GstVaapiDisplay object |
void gst_vaapi_object_lock_display (GstVaapiObject *object
);
Locks object
parent display. If display is already locked by
another thread, the current thread will block until display is
unlocked by the other thread.
|
a GstVaapiObject |
void gst_vaapi_object_unlock_display (GstVaapiObject *object
);
Unlocks object
parent display. If another thread is blocked in a
gst_vaapi_object_lock_display()
call, it will be woken and can lock
display itself.
|
a GstVaapiObject |
GstVaapiID gst_vaapi_object_get_id (GstVaapiObject *object
);
Returns the GstVaapiID contained in the object
.
|
a GstVaapiObject |
Returns : |
the GstVaapiID of the object
|
"display"
property"display" GstVaapiDisplay* : Read / Write / Construct Only
The GstVaapiDisplay this object is bound to.
"id"
property"id" GstVaapiID : Read / Write / Construct Only
The GstVaapiID contained in this object.
"destroy"
signalvoid user_function (GstVaapiObject *object,
gpointer user_data) : No Hooks
The ::destroy signal is emitted when an object is destroyed,
when the user released the last reference to object
.
|
the object which received the signal |
|
user data set when the signal handler was connected. |