Home
last modified time | relevance | path

Searched refs:m_lock (Results 1 – 25 of 57) sorted by relevance

123

/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraQueue.cpp54 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
75 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
95 pthread_mutex_destroy(&m_lock); in ~QCameraQueue()
109 pthread_mutex_lock(&m_lock); in init()
111 pthread_mutex_unlock(&m_lock); in init()
126 pthread_mutex_lock(&m_lock); in isEmpty()
130 pthread_mutex_unlock(&m_lock); in isEmpty()
157 pthread_mutex_lock(&m_lock); in enqueue()
166 pthread_mutex_unlock(&m_lock); in enqueue()
194 pthread_mutex_lock(&m_lock); in enqueueWithPriority()
[all …]
DQCameraQueue.h72 pthread_mutex_t m_lock; variable
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c42 pthread_mutex_init(&queue->m_lock, NULL); in mm_camera_queue_init()
58 pthread_mutex_destroy(&queue->m_lock); in mm_qcamera_queue_release()
70 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_isempty()
74 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_isempty()
95 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_enqueue()
98 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_enqueue()
114 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_dequeue()
126 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_dequeue()
146 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_flush()
166 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_flush()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
Domx_vdec_hevc_swvdec.cpp681 pthread_mutex_init(&m_lock, &attr); in omx_vdec()
827 pthread_mutex_destroy(&m_lock); in ~omx_vdec()
894 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
937 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1582 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
1587 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
2806 pthread_mutex_lock(&m_lock); in execute_output_flush()
2823 pthread_mutex_unlock(&m_lock); in execute_output_flush()
2857 pthread_mutex_lock(&m_lock); in execute_input_flush()
2927 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dts_parser.cpp35 auto_lock l(&m_lock); in set_timestamp_reorder_mode()
41 auto_lock l(&m_lock); in enable_debug_print()
48 pthread_mutex_destroy(&m_lock); in ~omx_time_stamp_reorder()
57 pthread_mutex_init(&m_lock, NULL); in omx_time_stamp_reorder()
150 auto_lock l(&m_lock); in insert_timestamp()
217 auto_lock l(&m_lock); in remove_time_stamp()
250 auto_lock l(&m_lock); in flush_timestamp()
256 auto_lock l(&m_lock); in get_next_timestamp()
Domx_vdec_hevc_swvdec.cpp673 pthread_mutex_init(&m_lock, &attr); in omx_vdec()
819 pthread_mutex_destroy(&m_lock); in ~omx_vdec()
886 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
929 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1565 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
1570 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
2775 pthread_mutex_lock(&m_lock); in execute_output_flush()
2792 pthread_mutex_unlock(&m_lock); in execute_output_flush()
2826 pthread_mutex_lock(&m_lock); in execute_input_flush()
2896 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c93 pthread_mutex_t m_lock = PTHREAD_MUTEX_INITIALIZER; variable
700 if(!pthread_mutex_lock(&m_lock)) { in op()
707 pthread_mutex_unlock(&m_lock); in op()
945 if(!pthread_mutex_lock(&m_lock)) { in op()
952 pthread_mutex_unlock(&m_lock); in op()
969 if(!pthread_mutex_lock(&m_lock)) { in op()
972 pthread_mutex_unlock(&m_lock); in op()
1156 if(!pthread_mutex_lock(&m_lock)) { in cleanup()
1158 pthread_mutex_unlock(&m_lock); in cleanup()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h104 pthread_mutex_t m_lock; variable
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h105 pthread_mutex_t m_lock; variable
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStream.cpp418 pthread_mutex_init(&m_lock, NULL); in QCameraStream()
464 pthread_mutex_destroy(&m_lock); in ~QCameraStream()
1503 pthread_mutex_lock(&m_lock); in getBufs()
1505 pthread_mutex_unlock(&m_lock); in getBufs()
1716 pthread_mutex_lock(&m_lock); in allocateBuffers()
1718 pthread_mutex_unlock(&m_lock); in allocateBuffers()
2176 pthread_mutex_lock(&m_lock); in cond_signal()
2184 pthread_mutex_unlock(&m_lock); in cond_signal()
2196 pthread_mutex_lock(&m_lock); in cond_wait()
2198 pthread_cond_wait(&m_cond, &m_lock); in cond_wait()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp315 pthread_mutex_init(&m_lock, NULL); in omx_video()
356 pthread_mutex_destroy(&m_lock); in ~omx_video()
402 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
422 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
705 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
709 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1288 pthread_mutex_lock(&m_lock); in execute_output_flush()
1300 pthread_mutex_unlock(&m_lock); in execute_output_flush()
1331 pthread_mutex_lock(&m_lock); in execute_input_flush()
1359 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp257 pthread_mutex_init(&m_lock, NULL); in omx_video()
292 pthread_mutex_destroy(&m_lock); in ~omx_video()
337 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
357 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
630 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
634 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1213 pthread_mutex_lock(&m_lock); in execute_output_flush()
1225 pthread_mutex_unlock(&m_lock); in execute_output_flush()
1256 pthread_mutex_lock(&m_lock); in execute_input_flush()
1284 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp289 pthread_mutex_init(&m_lock, NULL); in omx_video()
290 pthread_mutex_init(&m_TimeStampInfo.m_lock, NULL); in omx_video()
332 pthread_mutex_destroy(&m_lock); in ~omx_video()
333 pthread_mutex_destroy(&m_TimeStampInfo.m_lock); in ~omx_video()
379 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
399 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
673 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
677 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1243 pthread_mutex_lock(&m_lock); in execute_output_flush()
1256 pthread_mutex_unlock(&m_lock); in execute_output_flush()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp265 pthread_mutex_init(&m_lock, NULL); in omx_video()
296 pthread_mutex_destroy(&m_lock); in ~omx_video()
342 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
367 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
678 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
682 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1348 pthread_mutex_lock(&m_lock); in execute_output_flush()
1364 pthread_mutex_unlock(&m_lock); in execute_output_flush()
1396 pthread_mutex_lock(&m_lock); in execute_input_flush()
1430 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp314 pthread_mutex_init(&m_lock, NULL); in omx_video()
315 pthread_mutex_init(&timestamp.m_lock, NULL); in omx_video()
364 pthread_mutex_destroy(&m_lock); in ~omx_video()
365 pthread_mutex_destroy(&timestamp.m_lock); in ~omx_video()
411 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
431 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
717 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
721 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1300 pthread_mutex_lock(&m_lock); in execute_output_flush()
1313 pthread_mutex_unlock(&m_lock); in execute_output_flush()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp297 pthread_mutex_init(&m_lock, NULL); in omx_video()
298 pthread_mutex_init(&m_TimeStampInfo.m_lock, NULL); in omx_video()
342 pthread_mutex_destroy(&m_lock); in ~omx_video()
343 pthread_mutex_destroy(&m_TimeStampInfo.m_lock); in ~omx_video()
393 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
413 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
687 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
691 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1261 pthread_mutex_lock(&m_lock); in execute_output_flush()
1274 pthread_mutex_unlock(&m_lock); in execute_output_flush()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h603 pthread_mutex_t m_lock; variable
669 pthread_mutex_t m_lock; member
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h658 pthread_mutex_t m_lock; variable
725 pthread_mutex_t m_lock; member

123