/device/huawei/angler/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 44 pthread_mutex_t mutex; member 50 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init() 57 pthread_mutex_lock(&(s->mutex)); in cam_sem_post() 60 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post() 66 pthread_mutex_lock(&(s->mutex)); in cam_sem_wait() 68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait() 70 pthread_mutex_unlock(&(s->mutex)); in cam_sem_wait() 76 pthread_mutex_destroy(&(s->mutex)); in cam_sem_destroy()
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 44 pthread_mutex_t mutex; member 50 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init() 57 pthread_mutex_lock(&(s->mutex)); in cam_sem_post() 60 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post() 66 pthread_mutex_lock(&(s->mutex)); in cam_sem_wait() 68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait() 70 pthread_mutex_unlock(&(s->mutex)); in cam_sem_wait() 76 pthread_mutex_destroy(&(s->mutex)); in cam_sem_destroy()
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 44 pthread_mutex_t mutex; member 50 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init() 57 pthread_mutex_lock(&(s->mutex)); in cam_sem_post() 60 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post() 66 pthread_mutex_lock(&(s->mutex)); in cam_sem_wait() 68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait() 70 pthread_mutex_unlock(&(s->mutex)); in cam_sem_wait() 76 pthread_mutex_destroy(&(s->mutex)); in cam_sem_destroy()
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 93 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async() 102 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 106 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 138 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 147 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 154 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 157 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 174 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 178 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 512 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 74 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 87 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 90 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 97 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 101 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 319 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() 323 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_thread_launch() 327 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_thread_launch() 329 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_thread_launch() 357 pthread_mutex_destroy(&poll_cb->mutex); in mm_camera_poll_thread_release()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 92 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async() 102 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 107 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 138 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 148 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 156 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 159 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 176 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 180 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 526 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_thread.c | 92 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_async() 102 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 107 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_async() 138 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig() 148 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 156 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); in mm_camera_poll_sig() 159 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig() 176 pthread_mutex_lock(&poll_cb->mutex); in mm_camera_poll_sig_done() 180 pthread_mutex_unlock(&poll_cb->mutex); in mm_camera_poll_sig_done() 526 pthread_mutex_init(&poll_cb->mutex, NULL); in mm_camera_poll_thread_launch() [all …]
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QCameraMjpegDecode.cpp | 107 pthread_mutex_t mutex; member 213 os_mutex_init(&thread_ctrl_blks[i].mutex); in mjpegDecode() 449 os_mutex_lock(&p_thread_arg->mutex); in decoder_test() 452 … rc = mjpegd_cond_timedwait(&p_thread_arg->cond, &p_thread_arg->mutex, p_args->abort_time); in decoder_test() 456 os_mutex_unlock(&p_thread_arg->mutex); in decoder_test() 467 os_mutex_unlock(&p_thread_arg->mutex); in decoder_test() 470 os_mutex_lock(&p_thread_arg->mutex); in decoder_test() 473 os_cond_wait(&p_thread_arg->cond, &p_thread_arg->mutex); in decoder_test() 475 os_mutex_unlock(&p_thread_arg->mutex); in decoder_test() 566 os_mutex_lock(&p_thread_arg->mutex); in decoder_event_handler() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 157 pthread_mutex_t mutex; member
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 165 pthread_mutex_t mutex; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 161 pthread_mutex_t mutex; member
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 165 pthread_mutex_t mutex; member
|