Home
last modified time | relevance | path

Searched refs:cmd_thread (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c564 mm_camera_cmd_thread_t *cmd_thread = in mm_camera_cmd_thread() local
568 mm_camera_cmd_thread_name(cmd_thread->threadName); in mm_camera_cmd_thread()
571 ret = cam_sem_wait(&cmd_thread->cmd_sem); in mm_camera_cmd_thread()
580 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); in mm_camera_cmd_thread()
592 if (NULL != cmd_thread->cb) { in mm_camera_cmd_thread()
593 cmd_thread->cb(node, cmd_thread->user_data); in mm_camera_cmd_thread()
602 node = (mm_camera_cmdcb_t*)cam_queue_deq(&cmd_thread->cmd_queue); in mm_camera_cmd_thread()
608 int32_t mm_camera_cmd_thread_launch(mm_camera_cmd_thread_t * cmd_thread, in mm_camera_cmd_thread_launch() argument
614 cam_sem_init(&cmd_thread->cmd_sem, 0); in mm_camera_cmd_thread_launch()
615 cam_sem_init(&cmd_thread->sync_sem, 0); in mm_camera_cmd_thread_launch()
[all …]
Dmm_camera_channel.c389 cam_sem_post(&(ch_obj->cmd_thread.sync_sem)); in mm_channel_process_stream_buf()
1838 snprintf(my_obj->cmd_thread.threadName, THREAD_NAME_SIZE, "CAM_SuperBufCB"); in mm_channel_start()
1839 mm_camera_cmd_thread_launch(&my_obj->cmd_thread, in mm_channel_start()
1945 mm_camera_cmd_thread_release(&my_obj->cmd_thread); in mm_channel_start()
2099 mm_camera_cmd_thread_release(&my_obj->cmd_thread); in mm_channel_stop()
2171 cam_queue_enq(&(my_obj->cmd_thread.cmd_queue), node); in mm_channel_request_super_buf()
2174 cam_sem_post(&(my_obj->cmd_thread.cmd_sem)); in mm_channel_request_super_buf()
2235 cam_queue_enq(&(my_obj->cmd_thread.cmd_queue), node); in mm_channel_flush_super_buf_queue()
2238 cam_sem_post(&(my_obj->cmd_thread.cmd_sem)); in mm_channel_flush_super_buf_queue()
2241 cam_sem_wait(&(my_obj->cmd_thread.sync_sem)); in mm_channel_flush_super_buf_queue()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h306 mm_camera_cmd_thread_t cmd_thread; member
516 mm_camera_cmd_thread_t cmd_thread; member
879 mm_camera_cmd_thread_t * cmd_thread,
883 extern int32_t mm_camera_cmd_thread_release(mm_camera_cmd_thread_t * cmd_thread);