Home
last modified time | relevance | path

Searched refs:refcount (Results 1 – 8 of 8) sorted by relevance

/hardware/intel/common/libmix/mix_common/src/
Dmixparams.c80 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()
Dmixparams.h80 #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
/hardware/intel/common/libmix/mix_video/src/
Dmixdisplay.h80 #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
Dmixdisplay.c112 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()
Dmixvideoframe.c106 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()
Dmixbuffer.c207 obj)->refcount); in mix_buffer_unref()
210 if (MIX_PARAMS(obj)->refcount == 1) { in mix_buffer_unref()
Dmixsurfacepool.c415 MIX_PARAMS(element->data)->refcount);
501 MIX_PARAMS(element->data)->refcount);
628 frame->frame_id, MIX_PARAMS(frame)->refcount, (gulong) frame->timestamp);
Dmixbufferpool.c376 MIX_PARAMS(element->data)->refcount); in mix_bufferpool_get()
460 (guint)buffer->data, MIX_PARAMS(buffer)->refcount); in mix_bufferpool_dumpbuffer()