Searched refs:refcount (Results 1 – 8 of 8) sorted by relevance
80 obj->refcount = 1; in mix_params_init()161 g_atomic_int_inc(&obj->refcount); in mix_params_ref()177 if (g_atomic_int_get (&obj->refcount) == 0) { in mix_params_free()186 g_return_if_fail (obj->refcount > 0); in mix_params_unref()188 if (G_UNLIKELY (g_atomic_int_dec_and_test (&obj->refcount))) { in mix_params_unref()
80 #define MIX_PARAMS_REFCOUNT(obj) ((MIX_PARAMS_CAST(obj))->refcount)87 #define MIX_PARAMS_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(MIX_PARAMS_CAST(obj))->refcount))99 gint refcount; member
80 #define MIX_DISPLAY_REFCOUNT(obj) ((MIX_DISPLAY_CAST(obj))->refcount)87 #define MIX_DISPLAY_REFCOUNT_VALUE(obj) (g_atomic_int_get (&(MIX_DISPLAY_CAST(obj))->refcount))100 gint refcount; member
112 obj->refcount = 1; in mix_display_init()200 g_atomic_int_inc (&obj->refcount); in mix_display_ref()217 if (g_atomic_int_get (&obj->refcount) == 0) in mix_display_free()228 g_return_if_fail (obj->refcount > 0); in mix_display_unref()230 if (G_UNLIKELY (g_atomic_int_dec_and_test (&obj->refcount))) in mix_display_unref()
106 MIX_PARAMS(obj)->refcount + 1); in mix_videoframe_ref()124 (guint) obj->frame_id, MIX_PARAMS(obj)->refcount - 1); in mix_videoframe_unref()128 if (((MIX_PARAMS(obj)->refcount - 1) == 1) && (!(priv -> is_skipped))) { in mix_videoframe_unref()144 if (((MIX_PARAMS(obj)->refcount - 1) == 0) && (priv -> is_skipped)) { in mix_videoframe_unref()
207 obj)->refcount); in mix_buffer_unref()210 if (MIX_PARAMS(obj)->refcount == 1) { in mix_buffer_unref()
415 MIX_PARAMS(element->data)->refcount);501 MIX_PARAMS(element->data)->refcount);628 frame->frame_id, MIX_PARAMS(frame)->refcount, (gulong) frame->timestamp);
376 MIX_PARAMS(element->data)->refcount); in mix_bufferpool_get()460 (guint)buffer->data, MIX_PARAMS(buffer)->refcount); in mix_bufferpool_dumpbuffer()