Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 20 of 20) sorted by relevance

/device/asus/flo/camera/QCamera2/stack/common/
Dcam_semaphore.h45 pthread_cond_t cond; member
51 pthread_cond_init(&(s->cond), NULL); in cam_sem_init()
59 pthread_cond_signal(&(s->cond)); in cam_sem_post()
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
77 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dcam_semaphore.h45 pthread_cond_t cond; member
51 pthread_cond_init(&(s->cond), NULL); in cam_sem_init()
59 pthread_cond_signal(&(s->cond)); in cam_sem_post()
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
77 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
/device/moto/shamu/camera/QCamera2/stack/common/
Dcam_semaphore.h45 pthread_cond_t cond; member
51 pthread_cond_init(&(s->cond), NULL); in cam_sem_init()
59 pthread_cond_signal(&(s->cond)); in cam_sem_post()
68 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); in cam_sem_wait()
77 pthread_cond_destroy(&(s->cond)); in cam_sem_destroy()
/device/asus/flo/camera/hdr/include/
Dmorpho_easy_hdr.h127 int (* cond_destroy )(void *p, void *cond);
128 int (* cond_wait )(void *p, void *cond, void *lock);
129 int (* cond_signal )(void *p, void *cond);
130 int (* cond_broadcast)(void *p, void *cond);
/device/lge/hammerhead/camera/hdr/include/
Dmorpho_easy_hdr.h127 int (* cond_destroy )(void *p, void *cond);
128 int (* cond_wait )(void *p, void *cond, void *lock);
129 int (* cond_signal )(void *p, void *cond);
130 int (* cond_broadcast)(void *p, void *cond);
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c72 pthread_cond_t cond; member
103 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
181 pthread_cond_init(&p_obj->cond, NULL); in encode_init()
296 pthread_cond_wait(&jpeg_obj.cond, &jpeg_obj.lock); in encode_test()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c71 pthread_cond_t cond; member
102 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
179 pthread_cond_init(&p_obj->cond, NULL); in encode_init()
294 pthread_cond_wait(&jpeg_obj.cond, &jpeg_obj.lock); in encode_test()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec.c207 pthread_cond_init(&p_session->cond, NULL); in mm_jpegdec_session_create()
275 pthread_cond_destroy(&p_session->cond); in mm_jpegdec_session_destroy()
453 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_enable()
492 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_port_disable()
564 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
635 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpegdec_session_decode()
1033 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1057 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1061 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
1064 pthread_cond_signal(&p_session->cond); in mm_jpegdec_event_handler()
Dmm_jpeg.c255 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_change_state()
283 pthread_cond_init(&p_session->cond, NULL); in mm_jpeg_session_create()
367 pthread_cond_destroy(&p_session->cond); in mm_jpeg_session_destroy()
1228 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_abort()
2635 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
2660 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
2664 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c76 pthread_cond_t cond; member
130 pthread_cond_signal(&p_obj->cond); in mm_jpegdec_decode_callback()
244 pthread_cond_init(&p_obj->cond, NULL); in decode_init()
423 pthread_cond_wait(&jpeg_obj.cond, &jpeg_obj.lock); in decode_test()
Dmm_jpeg_test.c108 pthread_cond_t cond; member
181 pthread_cond_signal(&p_obj->cond); in mm_jpeg_encode_callback()
306 pthread_cond_init(&p_obj->cond, NULL); in encode_init()
449 pthread_cond_wait(&jpeg_obj.cond, &jpeg_obj.lock); in encode_test()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQCameraMjpegDecode.cpp108 pthread_cond_t cond; member
214 os_cond_init(&thread_ctrl_blks[i].cond); in mjpegDecode()
452 … rc = mjpegd_cond_timedwait(&p_thread_arg->cond, &p_thread_arg->mutex, p_args->abort_time); in decoder_test()
473 os_cond_wait(&p_thread_arg->cond, &p_thread_arg->mutex); in decoder_test()
568 os_cond_signal(&p_thread_arg->cond); in decoder_event_handler()
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c157 pthread_cond_t cond; variable
190 pthread_cond_init(&cond, NULL); in init_once()
322 pthread_cond_wait(&cond, &lock); in effects_capture_thread_loop()
406 pthread_cond_signal(&cond); in visualizer_hal_start_output()
443 pthread_cond_signal(&cond); in visualizer_hal_stop_output()
448 pthread_cond_signal(&cond); in visualizer_hal_stop_output()
1070 pthread_cond_signal(&cond); in effect_command()
1085 pthread_cond_signal(&cond); in effect_command()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h105 pthread_cond_t cond; member
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h106 pthread_cond_t cond; member
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c422 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_change_state()
448 pthread_cond_init(&p_session->cond, NULL); in mm_jpeg_session_create()
517 pthread_cond_destroy(&p_session->cond); in mm_jpeg_session_destroy()
1163 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_abort()
2178 pthread_cond_signal(&p_session->cond); in mm_jpeg_fbd()
2221 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
2246 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
2250 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c441 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_change_state()
467 pthread_cond_init(&p_session->cond, NULL); in mm_jpeg_session_create()
533 pthread_cond_destroy(&p_session->cond); in mm_jpeg_session_destroy()
1270 pthread_cond_wait(&p_session->cond, &p_session->lock); in mm_jpeg_session_abort()
2356 pthread_cond_signal(&p_session->cond); in mm_jpeg_fbd()
2399 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
2424 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
2428 pthread_cond_signal(&p_session->cond); in mm_jpeg_event_handler()
/device/htc/flounder/audio/hal/
Daudio_hw.h270 pthread_cond_t cond; member
Daudio_hw.c2139 pthread_cond_wait(&out->cond, &out->lock); in stop_compressed_output_l()
2184 pthread_cond_signal(&out->cond); in offload_thread_loop()
2213 pthread_cond_signal(&out->cond); in offload_thread_loop()
2220 pthread_cond_signal(&out->cond); in offload_thread_loop()
4022 pthread_cond_init(&out->cond, (const pthread_condattr_t *) NULL); in adev_open_output_stream()
4056 pthread_cond_destroy(&out->cond); in adev_close_output_stream()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h294 pthread_cond_t cond; member