GstVaapiObject

GstVaapiObject — Base VA object

Synopsis

                    GstVaapiObject;
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);

Description

Details

GstVaapiObject

typedef struct _GstVaapiObject GstVaapiObject;

VA object base.


gst_vaapi_object_get_display ()

GstVaapiDisplay *   gst_vaapi_object_get_display        (GstVaapiObject *object);

Returns the GstVaapiDisplay this object is bound to.

object :

a GstVaapiObject

Returns :

the parent GstVaapiDisplay object

gst_vaapi_object_lock_display ()

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.

object :

a GstVaapiObject

gst_vaapi_object_unlock_display ()

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.

object :

a GstVaapiObject

gst_vaapi_object_get_id ()

GstVaapiID          gst_vaapi_object_get_id             (GstVaapiObject *object);

Returns the GstVaapiID contained in the object.

object :

a GstVaapiObject

Returns :

the GstVaapiID of the object