/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_data.c | 147 mm_camera_cmd_thread_t *cmd_thread = local 153 ret = sem_wait(&cmd_thread->cmd_sem); 162 node = (mm_camera_cmdcb_t*)mm_camera_queue_deq(&cmd_thread->cmd_queue); 170 if (NULL != cmd_thread->cb) { 171 cmd_thread->cb(node, cmd_thread->user_data); 180 node = (mm_camera_cmdcb_t*)mm_camera_queue_deq(&cmd_thread->cmd_queue); 186 int32_t mm_camera_cmd_thread_launch(mm_camera_cmd_thread_t * cmd_thread, 192 sem_init(&cmd_thread->cmd_sem, 0, 0); 193 mm_camera_queue_init(&cmd_thread->cmd_queue) [all...] |
mm_camera_stream.c | 165 mm_camera_queue_enq(&(my_obj->ch_obj->cmd_thread.cmd_queue), node); 168 sem_post(&(my_obj->ch_obj->cmd_thread.cmd_sem)); 191 mm_camera_queue_enq(&(my_obj->cmd_thread.cmd_queue), node); 194 sem_post(&(my_obj->cmd_thread.cmd_sem)); 622 mm_camera_cmd_thread_launch(&my_obj->cmd_thread, 633 mm_camera_cmd_thread_release(&my_obj->cmd_thread); 689 mm_camera_cmd_thread_release(&my_obj->cmd_thread); 726 rc = mm_camera_cmd_thread_release(&my_obj->cmd_thread); [all...] |
mm_camera_channel.c | [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_data.c | 145 mm_camera_cmd_thread_t *cmd_thread = local 151 ret = sem_wait(&cmd_thread->cmd_sem); 160 node = (mm_camera_cmdcb_t*)mm_camera_queue_deq(&cmd_thread->cmd_queue); 167 if (NULL != cmd_thread->cb) { 168 cmd_thread->cb(node, cmd_thread->user_data); 182 int32_t mm_camera_cmd_thread_launch(mm_camera_cmd_thread_t * cmd_thread, 188 sem_init(&cmd_thread->cmd_sem, 0, 0); 189 mm_camera_queue_init(&cmd_thread->cmd_queue); 190 cmd_thread->cb = cb [all...] |
mm_camera_stream.c | 160 mm_camera_queue_enq(&(my_obj->ch_obj->cmd_thread.cmd_queue), node); 163 sem_post(&(my_obj->ch_obj->cmd_thread.cmd_sem)); 186 mm_camera_queue_enq(&(my_obj->cmd_thread.cmd_queue), node); 189 sem_post(&(my_obj->cmd_thread.cmd_sem)); 587 mm_camera_cmd_thread_launch(&my_obj->cmd_thread, 598 mm_camera_cmd_thread_release(&my_obj->cmd_thread); 649 mm_camera_cmd_thread_release(&my_obj->cmd_thread); 684 rc = mm_camera_cmd_thread_release(&my_obj->cmd_thread); [all...] |
mm_camera_channel.c | 774 mm_camera_cmd_thread_launch(&my_obj->cmd_thread, 795 mm_camera_cmd_thread_release(&my_obj->cmd_thread); [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 539 mm_camera_cmd_thread_t *cmd_thread = local 545 ret = cam_sem_wait(&cmd_thread->cmd_sem); 554 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); 563 if (NULL != cmd_thread->cb) { 564 cmd_thread->cb(node, cmd_thread->user_data); 573 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); 579 int32_t mm_camera_cmd_thread_launch(mm_camera_cmd_thread_t * cmd_thread, 585 cam_sem_init(&cmd_thread->cmd_sem, 0); 586 cam_queue_init(&cmd_thread->cmd_queue) [all...] |
mm_camera_channel.c | [all...] |
mm_camera_stream.c | 154 cam_queue_enq(&(my_obj->ch_obj->cmd_thread.cmd_queue), node); 157 cam_sem_post(&(my_obj->ch_obj->cmd_thread.cmd_sem)); 174 cam_queue_enq(&(my_obj->cmd_thread.cmd_queue), node); 177 cam_sem_post(&(my_obj->cmd_thread.cmd_sem)); 681 mm_camera_cmd_thread_launch(&my_obj->cmd_thread, 691 mm_camera_cmd_thread_release(&my_obj->cmd_thread); 764 mm_camera_cmd_thread_release(&my_obj->cmd_thread); [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 568 mm_camera_cmd_thread_t *cmd_thread = local 574 ret = cam_sem_wait(&cmd_thread->cmd_sem); 583 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); 592 if (NULL != cmd_thread->cb) { 593 cmd_thread->cb(node, cmd_thread->user_data); 602 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); 608 int32_t mm_camera_cmd_thread_launch(mm_camera_cmd_thread_t * cmd_thread, 614 cam_sem_init(&cmd_thread->cmd_sem, 0); 615 cam_queue_init(&cmd_thread->cmd_queue) [all...] |
mm_camera_channel.c | [all...] |
mm_camera_stream.c | 134 cam_queue_enq(&(my_obj->ch_obj->cmd_thread.cmd_queue), node); 137 cam_sem_post(&(my_obj->ch_obj->cmd_thread.cmd_sem)); 154 cam_queue_enq(&(my_obj->cmd_thread.cmd_queue), node); 157 cam_sem_post(&(my_obj->cmd_thread.cmd_sem)); 662 mm_camera_cmd_thread_launch(&my_obj->cmd_thread, 672 mm_camera_cmd_thread_release(&my_obj->cmd_thread); 745 mm_camera_cmd_thread_release(&my_obj->cmd_thread); [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera_thread.c | 562 mm_camera_cmd_thread_t *cmd_thread = local 568 ret = cam_sem_wait(&cmd_thread->cmd_sem); 577 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); 589 if (NULL != cmd_thread->cb) { 590 cmd_thread->cb(node, cmd_thread->user_data); 599 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); 605 int32_t mm_camera_cmd_thread_launch(mm_camera_cmd_thread_t * cmd_thread, 611 cam_sem_init(&cmd_thread->cmd_sem, 0); 612 cam_queue_init(&cmd_thread->cmd_queue) [all...] |
mm_camera_channel.c | [all...] |
mm_camera_stream.c | 134 cam_queue_enq(&(my_obj->ch_obj->cmd_thread.cmd_queue), node); 137 cam_sem_post(&(my_obj->ch_obj->cmd_thread.cmd_sem)); 154 cam_queue_enq(&(my_obj->cmd_thread.cmd_queue), node); 157 cam_sem_post(&(my_obj->cmd_thread.cmd_sem)); 665 mm_camera_cmd_thread_launch(&my_obj->cmd_thread, 675 mm_camera_cmd_thread_release(&my_obj->cmd_thread); 748 mm_camera_cmd_thread_release(&my_obj->cmd_thread); [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 209 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_stream 329 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_channel 571 mm_camera_cmd_thread_t * cmd_thread, 574 extern int32_t mm_camera_cmd_thread_release(mm_camera_cmd_thread_t * cmd_thread);
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 209 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_stream 331 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_channel 575 mm_camera_cmd_thread_t * cmd_thread, 579 extern int32_t mm_camera_cmd_thread_release(mm_camera_cmd_thread_t * cmd_thread);
|
/device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 682 mm_jpeg_job_cmd_thread_t *cmd_thread = local 688 rc = sem_wait(&cmd_thread->job_sem); 704 node = (mm_jpeg_job_q_node_t*)mm_jpeg_queue_deq(&cmd_thread->job_queue); 748 mm_jpeg_job_cmd_thread_t * cmd_thread = &my_obj->job_mgr; local 759 mm_jpeg_queue_enq(&cmd_thread->job_queue, node); 760 sem_post(&cmd_thread->job_sem); 763 if (pthread_join(cmd_thread->pid, NULL) != 0) { 766 mm_jpeg_queue_deinit(&cmd_thread->job_queue); 768 sem_destroy(&cmd_thread->job_sem); 769 memset(cmd_thread, 0, sizeof(mm_jpeg_job_cmd_thread_t)) [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera.h | 227 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_stream 358 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_channel 616 mm_camera_cmd_thread_t * cmd_thread, 619 extern int32_t mm_camera_cmd_thread_release(mm_camera_cmd_thread_t * cmd_thread);
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
mm_camera.h | 232 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_stream 392 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_channel 691 mm_camera_cmd_thread_t * cmd_thread, 694 extern int32_t mm_camera_cmd_thread_release(mm_camera_cmd_thread_t * cmd_thread);
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera.h | 229 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_stream 368 mm_camera_cmd_thread_t cmd_thread; member in struct:mm_channel 629 mm_camera_cmd_thread_t * cmd_thread, 633 extern int32_t mm_camera_cmd_thread_release(mm_camera_cmd_thread_t * cmd_thread);
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 782 mm_jpeg_job_cmd_thread_t *cmd_thread = &my_obj->job_mgr; local 787 rc = sem_wait(&cmd_thread->job_sem); 804 node = (mm_jpeg_job_q_node_t*)mm_jpeg_queue_deq(&cmd_thread->job_queue); 844 mm_jpeg_job_cmd_thread_t * cmd_thread = &my_obj->job_mgr; local 855 mm_jpeg_queue_enq(&cmd_thread->job_queue, node); 856 sem_post(&cmd_thread->job_sem); [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 1525 mm_jpeg_job_cmd_thread_t *cmd_thread = &my_obj->job_mgr; local 1612 mm_jpeg_job_cmd_thread_t * cmd_thread = &my_obj->job_mgr; local [all...] |
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 1672 mm_jpeg_job_cmd_thread_t *cmd_thread = &my_obj->job_mgr; local 1760 mm_jpeg_job_cmd_thread_t * cmd_thread = &my_obj->job_mgr; local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 1620 mm_jpeg_job_cmd_thread_t *cmd_thread = &my_obj->job_mgr; local 1711 mm_jpeg_job_cmd_thread_t * cmd_thread = &my_obj->job_mgr; local [all...] |