Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/util/
DQCameraQueue.cpp47 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
68 pthread_mutex_init(&m_lock, NULL); in QCameraQueue()
88 pthread_mutex_destroy(&m_lock); in ~QCameraQueue()
102 pthread_mutex_lock(&m_lock); in init()
104 pthread_mutex_unlock(&m_lock); in init()
119 pthread_mutex_lock(&m_lock); in isEmpty()
123 pthread_mutex_unlock(&m_lock); in isEmpty()
150 pthread_mutex_lock(&m_lock); in enqueue()
159 pthread_mutex_unlock(&m_lock); in enqueue()
187 pthread_mutex_lock(&m_lock); in enqueueWithPriority()
[all …]
DQCameraQueue.h68 pthread_mutex_t m_lock; variable
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c41 pthread_mutex_init(&queue->m_lock, NULL); in mm_camera_queue_init()
57 pthread_mutex_destroy(&queue->m_lock); in mm_qcamera_queue_release()
69 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_isempty()
73 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_isempty()
94 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_enqueue()
97 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_enqueue()
113 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_dequeue()
125 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_dequeue()
145 pthread_mutex_lock(&queue->m_lock); in mm_qcamera_queue_flush()
165 pthread_mutex_unlock(&queue->m_lock); in mm_qcamera_queue_flush()
/hardware/qcom/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()
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 …]
Domx_vdec_msm8974.cpp691 pthread_mutex_init(&m_lock, NULL); in omx_vdec()
819 pthread_mutex_destroy(&m_lock); in ~omx_vdec()
884 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
903 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1371 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
1375 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
2680 pthread_mutex_lock(&m_lock); in execute_output_flush()
2699 pthread_mutex_unlock(&m_lock); in execute_output_flush()
2732 pthread_mutex_lock(&m_lock); in execute_input_flush()
2789 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
Domx_vdec_hevc.cpp596 pthread_mutex_init(&m_lock, NULL); in omx_vdec()
708 pthread_mutex_destroy(&m_lock); in ~omx_vdec()
767 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
786 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1193 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
1197 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
2193 pthread_mutex_lock(&m_lock); in execute_output_flush()
2206 pthread_mutex_unlock(&m_lock); in execute_output_flush()
2239 pthread_mutex_lock(&m_lock); in execute_input_flush()
2296 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
Domx_vdec.cpp543 pthread_mutex_init(&m_lock, NULL); in omx_vdec()
595 pthread_mutex_destroy(&m_lock); in ~omx_vdec()
644 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
667 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1118 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
1124 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
2238 pthread_mutex_lock(&m_lock); in execute_output_flush()
2254 pthread_mutex_unlock(&m_lock); in execute_output_flush()
2288 pthread_mutex_lock(&m_lock); in execute_input_flush()
2350 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h104 pthread_mutex_t m_lock; variable
Domx_vdec_hevc.h691 pthread_mutex_t m_lock; variable
Domx_vdec.h789 pthread_mutex_t m_lock; variable
/hardware/qcom/camera/QCamera2/HAL/
DQCameraStream.cpp757 pthread_mutex_init(&m_lock, NULL); in start()
1218 pthread_mutex_lock(&m_lock); in getBufs()
1220 pthread_mutex_unlock(&m_lock); in getBufs()
1670 pthread_mutex_lock(&m_lock); in cond_signal()
1675 pthread_mutex_unlock(&m_lock); in cond_signal()
1687 pthread_mutex_lock(&m_lock); in cond_wait()
1689 pthread_cond_wait(&m_cond, &m_lock); in cond_wait()
1691 pthread_mutex_unlock(&m_lock); in cond_wait()
DQCameraStream.h214 pthread_mutex_t m_lock; variable
DQCamera2HWI.cpp1117 pthread_mutex_init(&m_lock, NULL); in QCamera2HardwareInterface()
1165 pthread_mutex_destroy(&m_lock); in ~QCamera2HardwareInterface()
4856 pthread_mutex_lock(&m_lock); in lockAPI()
4876 pthread_cond_wait(&m_cond, &m_lock); in waitAPIResult()
4914 pthread_mutex_unlock(&m_lock); in unlockAPI()
4930 pthread_mutex_lock(&m_lock); in signalAPIResult()
4947 pthread_mutex_unlock(&m_lock); in signalAPIResult()
DQCamera2HWI.h528 pthread_mutex_t m_lock; variable
/hardware/qcom/media/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/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/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp552 pthread_mutex_init(&m_lock, NULL);
590 pthread_mutex_destroy(&m_lock); in ~omx_vdec()
638 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
662 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1154 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
1158 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
2254 pthread_mutex_lock(&m_lock); in execute_output_flush()
2272 pthread_mutex_unlock(&m_lock); in execute_output_flush()
2306 pthread_mutex_lock(&m_lock); in execute_input_flush()
2370 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
Domx_vdec.cpp550 pthread_mutex_init(&m_lock, NULL); in omx_vdec()
594 pthread_mutex_destroy(&m_lock); in ~omx_vdec()
645 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
669 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
1147 pthread_mutex_lock(&pThis->m_lock); in process_event_cb()
1151 pthread_mutex_unlock(&pThis->m_lock); in process_event_cb()
2334 pthread_mutex_lock(&m_lock); in execute_output_flush()
2352 pthread_mutex_unlock(&m_lock); in execute_output_flush()
2386 pthread_mutex_lock(&m_lock); in execute_input_flush()
2455 pthread_mutex_unlock(&m_lock); in execute_input_flush()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h199 pthread_mutex_t m_lock; member
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Domx_video_base.h514 pthread_mutex_t m_lock; variable
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Domx_video_base.h566 pthread_mutex_t m_lock; variable
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Utils.c543 if(pTempCBuffer->m_lock != NULL) { in VIDDEC_CircBuf_Init()
544 free(pTempCBuffer->m_lock); in VIDDEC_CircBuf_Init()
545 pTempCBuffer->m_lock = NULL; in VIDDEC_CircBuf_Init()
547 …OMX_MALLOC_STRUCT(pTempCBuffer->m_lock, pthread_mutex_t,pComponentPrivate->nMemUsage[VIDDDEC_Enum_… in VIDDEC_CircBuf_Init()
549 pthread_mutex_init(pTempCBuffer->m_lock, NULL); in VIDDEC_CircBuf_Init()
581 if(pthread_mutex_lock(pTempCBuffer->m_lock) != 0) { in VIDDEC_CircBuf_Flush()
594 if(pthread_mutex_unlock(pTempCBuffer->m_lock) != 0) { in VIDDEC_CircBuf_Flush()
621 if(pTempCBuffer->m_lock != NULL) { in VIDDEC_CircBuf_DeInit()
622 free(pTempCBuffer->m_lock); in VIDDEC_CircBuf_DeInit()
623 pTempCBuffer->m_lock = NULL; in VIDDEC_CircBuf_DeInit()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h671 pthread_mutex_t m_lock; variable
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/inc/
DOMX_VideoDec_Utils.h595 pthread_mutex_t* m_lock; member