Home
last modified time | relevance | path

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

123

/hardware/qcom/camera/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/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/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/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/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/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()
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/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/bt/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c90 pthread_mutex_t m_lock = PTHREAD_MUTEX_INITIALIZER; variable
697 if(!pthread_mutex_lock(&m_lock)) { in op()
704 pthread_mutex_unlock(&m_lock); in op()
942 if(!pthread_mutex_lock(&m_lock)) { in op()
949 pthread_mutex_unlock(&m_lock); in op()
966 if(!pthread_mutex_lock(&m_lock)) { in op()
969 pthread_mutex_unlock(&m_lock); in op()
1153 if(!pthread_mutex_lock(&m_lock)) { in cleanup()
1155 pthread_mutex_unlock(&m_lock); in cleanup()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h104 pthread_mutex_t m_lock; variable
/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.h104 pthread_mutex_t m_lock; variable
/hardware/qcom/camera/QCamera2/HAL/
DQCameraStream.cpp372 pthread_mutex_init(&m_lock, NULL); in QCameraStream()
418 pthread_mutex_destroy(&m_lock); in ~QCameraStream()
1383 pthread_mutex_lock(&m_lock); in getBufs()
1385 pthread_mutex_unlock(&m_lock); in getBufs()
1597 pthread_mutex_lock(&m_lock); in allocateBuffers()
1599 pthread_mutex_unlock(&m_lock); in allocateBuffers()
2049 pthread_mutex_lock(&m_lock); in cond_signal()
2057 pthread_mutex_unlock(&m_lock); in cond_signal()
2069 pthread_mutex_lock(&m_lock); in cond_wait()
2071 pthread_cond_wait(&m_cond, &m_lock); in cond_wait()
[all …]
DQCameraStream.h259 pthread_mutex_t m_lock; variable
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStream.cpp413 pthread_mutex_init(&m_lock, NULL); in QCameraStream()
460 pthread_mutex_destroy(&m_lock); in ~QCameraStream()
1486 pthread_mutex_lock(&m_lock); in getBufs()
1488 pthread_mutex_unlock(&m_lock); in getBufs()
1699 pthread_mutex_lock(&m_lock); in allocateBuffers()
1701 pthread_mutex_unlock(&m_lock); in allocateBuffers()
2159 pthread_mutex_lock(&m_lock); in cond_signal()
2167 pthread_mutex_unlock(&m_lock); in cond_signal()
2179 pthread_mutex_lock(&m_lock); in cond_wait()
2181 pthread_cond_wait(&m_cond, &m_lock); in cond_wait()
[all …]
DQCameraStream.h270 pthread_mutex_t m_lock; variable
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp319 pthread_mutex_init(&m_lock, NULL); in omx_video()
320 pthread_mutex_init(&timestamp.m_lock, NULL); in omx_video()
367 pthread_mutex_destroy(&m_lock); in ~omx_video()
368 pthread_mutex_destroy(&timestamp.m_lock); in ~omx_video()
412 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
432 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
715 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
719 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1298 pthread_mutex_lock(&m_lock); in execute_output_flush()
1311 pthread_mutex_unlock(&m_lock); in execute_output_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()
291 pthread_mutex_destroy(&m_lock); in ~omx_video()
335 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
355 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
628 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
632 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1211 pthread_mutex_lock(&m_lock); in execute_output_flush()
1223 pthread_mutex_unlock(&m_lock); in execute_output_flush()
1254 pthread_mutex_lock(&m_lock); in execute_input_flush()
1282 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp314 pthread_mutex_init(&m_lock, NULL); in omx_video()
353 pthread_mutex_destroy(&m_lock); in ~omx_video()
397 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
417 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
700 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
704 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1283 pthread_mutex_lock(&m_lock); in execute_output_flush()
1295 pthread_mutex_unlock(&m_lock); in execute_output_flush()
1326 pthread_mutex_lock(&m_lock); in execute_input_flush()
1354 pthread_mutex_unlock(&m_lock); in execute_input_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/inc/
Domx_video_base.h595 pthread_mutex_t m_lock; variable
661 pthread_mutex_t m_lock; member

123