Home
last modified time | relevance | path

Searched refs:objectlock (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/common/libmix/mix_video/src/
Dmixsurfacepool.c53 self->objectlock = g_mutex_new(); in mix_surfacepool_init()
81 if (self->objectlock) { in mix_surfacepool_finalize()
82 g_mutex_free(self->objectlock); in mix_surfacepool_finalize()
83 self->objectlock = NULL; in mix_surfacepool_finalize()
110 MIX_LOCK(MIX_SURFACEPOOL(obj)->objectlock); in mix_surfacepool_dup()
119 MIX_UNLOCK(MIX_SURFACEPOOL(obj)->objectlock); in mix_surfacepool_dup()
138 MIX_LOCK(MIX_SURFACEPOOL(src)->objectlock); in mix_surfacepool_copy()
139 MIX_LOCK(MIX_SURFACEPOOL(target)->objectlock); in mix_surfacepool_copy()
154 MIX_UNLOCK(MIX_SURFACEPOOL(src)->objectlock); in mix_surfacepool_copy()
155 MIX_UNLOCK(MIX_SURFACEPOOL(target)->objectlock); in mix_surfacepool_copy()
[all …]
Dmixbufferpool.c52 self->objectlock = g_mutex_new(); in mix_bufferpool_init()
80 if (self->objectlock) { in mix_bufferpool_finalize()
81 g_mutex_free(self->objectlock); in mix_bufferpool_finalize()
82 self->objectlock = NULL; in mix_bufferpool_finalize()
109 MIX_LOCK(MIX_BUFFERPOOL(obj)->objectlock); in mix_bufferpool_dup()
118 MIX_UNLOCK(MIX_BUFFERPOOL(obj)->objectlock); in mix_bufferpool_dup()
137 MIX_LOCK(MIX_BUFFERPOOL(src)->objectlock); in mix_bufferpool_copy()
138 MIX_LOCK(MIX_BUFFERPOOL(target)->objectlock); in mix_bufferpool_copy()
152 MIX_UNLOCK(MIX_BUFFERPOOL(src)->objectlock); in mix_bufferpool_copy()
153 MIX_UNLOCK(MIX_BUFFERPOOL(target)->objectlock); in mix_bufferpool_copy()
[all …]
Dmixvideoformatenc.c45 self->objectlock = g_mutex_new(); in mix_videoformatenc_init()
115 if(mix->objectlock) { in mix_videoformatenc_finalize()
116 g_mutex_free(mix->objectlock); in mix_videoformatenc_finalize()
117 mix->objectlock = NULL; in mix_videoformatenc_finalize()
187 g_mutex_lock(mix->objectlock); in mix_videofmtenc_initialize_default()
204 g_mutex_unlock(mix->objectlock); in mix_videofmtenc_initialize_default()
215 g_mutex_unlock(mix->objectlock); in mix_videofmtenc_initialize_default()
227 g_mutex_unlock(mix->objectlock); in mix_videofmtenc_initialize_default()
240 g_mutex_unlock(mix->objectlock); in mix_videofmtenc_initialize_default()
252 g_mutex_unlock(mix->objectlock); in mix_videofmtenc_initialize_default()
[all …]
Dmixvideoformat.c94 if(mix->objectlock) { in mix_videoformat_finalize()
95 g_mutex_free(mix->objectlock); in mix_videoformat_finalize()
96 mix->objectlock = NULL; in mix_videoformat_finalize()
199 if (mix->objectlock) //If already exists, then deallocate old one (we are being re-initialized) in mix_videofmt_initialize_default()
201 g_mutex_free(mix->objectlock); in mix_videofmt_initialize_default()
202 mix->objectlock = NULL; in mix_videofmt_initialize_default()
204 mix->objectlock = g_mutex_new(); in mix_videofmt_initialize_default()
205 if (!mix->objectlock) { in mix_videofmt_initialize_default()
210 g_mutex_lock(mix->objectlock); in mix_videofmt_initialize_default()
296 if (mix->objectlock) in mix_videofmt_initialize_default()
[all …]
Dmixvideoformatenc_preview.c199 g_mutex_lock(parent->objectlock); in mix_videofmtenc_preview_initialize()
246 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
264 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
283 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
301 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
315 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
337 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
343 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
350 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
381 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_preview_initialize()
[all …]
Dmixvideoformatenc_mpeg4.c200 g_mutex_lock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
214 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
225 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
236 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
293 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
311 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
330 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
348 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
362 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
384 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_mpeg4_initialize()
[all …]
Dmixvideoformatenc_h264.c200 g_mutex_lock(parent->objectlock); in mix_videofmtenc_h264_initialize()
213 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
225 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
237 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
248 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
308 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
326 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
345 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
363 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
377 g_mutex_unlock(parent->objectlock); in mix_videofmtenc_h264_initialize()
[all …]
Dmixvideoformat_mp42.c127 g_mutex_lock(parent->objectlock); in mix_videoformat_mp42_finalize()
157 g_mutex_unlock(parent->objectlock); in mix_videoformat_mp42_finalize()
228 g_mutex_lock(parent->objectlock); in mix_videofmt_mp42_initialize()
383 g_mutex_unlock(parent->objectlock); in mix_videofmt_mp42_initialize()
413 g_mutex_lock(parent->objectlock); in mix_videofmt_mp42_decode()
579 g_mutex_unlock(parent->objectlock); in mix_videofmt_mp42_decode()
1128 g_mutex_lock(mix->objectlock); in mix_videofmt_mp42_flush()
1165 g_mutex_unlock(mix->objectlock); in mix_videofmt_mp42_flush()
1188 g_mutex_lock(mix->objectlock); in mix_videofmt_mp42_eos()
1213 g_mutex_unlock(mix->objectlock); in mix_videofmt_mp42_eos()
Dmixvideoformat_h264.c102 g_mutex_lock(parent->objectlock); in mix_videoformat_h264_finalize()
115 g_mutex_unlock(parent->objectlock); in mix_videoformat_h264_finalize()
209 g_mutex_lock(parent->objectlock); in mix_videofmt_h264_initialize()
559 g_mutex_unlock(parent->objectlock); in mix_videofmt_h264_initialize()
619 g_mutex_lock(parent->objectlock); in mix_videofmt_h264_decode()
773 g_mutex_unlock(parent->objectlock); in mix_videofmt_h264_decode()
808 g_mutex_lock(mix->objectlock); in mix_videofmt_h264_flush()
834 g_mutex_unlock(mix->objectlock); in mix_videofmt_h264_flush()
865 g_mutex_lock(mix->objectlock); in mix_videofmt_h264_eos()
896 g_mutex_unlock(mix->objectlock); in mix_videofmt_h264_eos()
Dmixvideoformat_vc1.c100 g_mutex_lock(parent->objectlock); in mix_videoformat_vc1_finalize()
131 g_mutex_unlock(parent->objectlock); in mix_videoformat_vc1_finalize()
299 g_mutex_lock(parent->objectlock); in mix_videofmt_vc1_initialize()
611 g_mutex_unlock(parent->objectlock); in mix_videofmt_vc1_initialize()
675 g_mutex_lock(parent->objectlock); in mix_videofmt_vc1_decode()
823 g_mutex_unlock(parent->objectlock); in mix_videofmt_vc1_decode()
1504 g_mutex_lock(mix->objectlock); in mix_videofmt_vc1_flush()
1537 g_mutex_unlock(mix->objectlock); in mix_videofmt_vc1_flush()
1570 g_mutex_lock(mix->objectlock); in mix_videofmt_vc1_eos()
1599 g_mutex_unlock(mix->objectlock); in mix_videofmt_vc1_eos()
Dmixbufferpool.h88 GMutex *objectlock; member
Dmixsurfacepool.h90 GMutex *objectlock; member
Dmixvideoformat.h65 GMutex *objectlock; member
Dmixvideoformatenc.h63 GMutex *objectlock; member