/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 64 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, 75 pthread_mutex_lock(&poll_cb->mutex); 77 poll_cb->status = false; 80 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); 86 if (false == poll_cb->status) { 88 pthread_cond_wait(&poll_cb->cond_v, &poll_cb->mutex); 91 pthread_mutex_unlock(&poll_cb->mutex); 96 static void mm_camera_poll_sig_done(mm_camera_poll_thread_t *poll_cb) 98 pthread_mutex_lock(&poll_cb->mutex) 219 mm_camera_poll_thread_t *poll_cb = (mm_camera_poll_thread_t *)data; local [all...] |
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_poll_thread.c | 68 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, 79 pthread_mutex_lock(&poll_cb->mutex); 81 poll_cb->status = FALSE; 83 len = write(poll_cb->data.pfds[1], &cmd_evt, sizeof(cmd_evt)); 86 //pthread_mutex_unlock(&poll_cb->mutex); 91 while (!poll_cb->status) { 97 rc = pthread_cond_timedwait(&poll_cb->cond_v, &poll_cb->mutex, &ts); 104 pthread_mutex_unlock(&poll_cb->mutex); 109 static void mm_camera_poll_sig_done(mm_camera_poll_thread_t *poll_cb) 204 mm_camera_poll_thread_t *poll_cb = &my_obj->poll_threads[ch_type]; local 215 mm_camera_poll_thread_t *poll_cb = &my_obj->poll_threads[ch_type]; local 230 mm_camera_poll_thread_t *poll_cb; local 240 mm_camera_poll_thread_t *poll_cb = &my_obj->poll_threads[MM_CAMERA_CH_MAX]; local 288 mm_camera_poll_thread_t *poll_cb = data; local 339 mm_camera_poll_thread_t *poll_cb = &my_obj->poll_threads[ch_type]; local 360 mm_camera_poll_thread_t *poll_cb = &my_obj->poll_threads[ch_type]; local 384 mm_camera_poll_thread_t *poll_cb = &my_obj->poll_threads[ch_type]; local 423 mm_camera_poll_thread_t *poll_cb = &my_obj->poll_threads[ch_type]; local 444 mm_camera_poll_thread_t *poll_cb; local 456 mm_camera_poll_thread_t *poll_cb; local [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 72 * @poll_cb : ptr to poll thread object 79 static int32_t mm_camera_poll_sig_async(mm_camera_poll_thread_t *poll_cb, 90 pthread_mutex_lock(&poll_cb->mutex); 92 poll_cb->status = FALSE; 95 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); 99 pthread_mutex_unlock(&poll_cb->mutex); 103 pthread_mutex_unlock(&poll_cb->mutex); 117 * @poll_cb : ptr to poll thread object 124 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, 135 pthread_mutex_lock(&poll_cb->mutex) 332 mm_camera_poll_thread_t *poll_cb = (mm_camera_poll_thread_t *)data; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 73 * @poll_cb : ptr to poll thread object 80 static int32_t mm_camera_poll_sig_async(mm_camera_poll_thread_t *poll_cb, 91 pthread_mutex_lock(&poll_cb->mutex); 93 poll_cb->status = FALSE; 96 len = write(poll_cb->pfds[1], &cmd_evt, sizeof(cmd_evt)); 100 pthread_mutex_unlock(&poll_cb->mutex); 104 pthread_mutex_unlock(&poll_cb->mutex); 118 * @poll_cb : ptr to poll thread object 125 static int32_t mm_camera_poll_sig(mm_camera_poll_thread_t *poll_cb, 136 pthread_mutex_lock(&poll_cb->mutex) 334 mm_camera_poll_thread_t *poll_cb = (mm_camera_poll_thread_t *)data; local [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 556 mm_camera_poll_thread_t * poll_cb, 558 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb); 560 mm_camera_poll_thread_t * poll_cb, 567 mm_camera_poll_thread_t * poll_cb,
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera.h | 603 mm_camera_poll_thread_t * poll_cb, 605 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb); 607 mm_camera_poll_thread_t * poll_cb, 613 mm_camera_poll_thread_t * poll_cb,
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 556 mm_camera_poll_thread_t * poll_cb, 558 extern int32_t mm_camera_poll_thread_release(mm_camera_poll_thread_t *poll_cb); 560 mm_camera_poll_thread_t * poll_cb, 567 mm_camera_poll_thread_t * poll_cb,
|