Home
last modified time | relevance | path

Searched refs:evt_array (Results 1 – 6 of 6) sorted by relevance

/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c394 mm_camera_evt_obj_t *evt_array = NULL; in mm_camera_register_event_notify_internal() local
397 evt_array = &my_obj->evt; in mm_camera_register_event_notify_internal()
401 if(evt_array->evt[i].user_data == NULL) { in mm_camera_register_event_notify_internal()
402 evt_array->evt[i].evt_cb = evt_cb; in mm_camera_register_event_notify_internal()
403 evt_array->evt[i].user_data = user_data; in mm_camera_register_event_notify_internal()
404 evt_array->reg_count++; in mm_camera_register_event_notify_internal()
412 if(evt_array->evt[i].user_data == user_data) { in mm_camera_register_event_notify_internal()
413 evt_array->evt[i].evt_cb = NULL; in mm_camera_register_event_notify_internal()
414 evt_array->evt[i].user_data = NULL; in mm_camera_register_event_notify_internal()
415 evt_array->reg_count--; in mm_camera_register_event_notify_internal()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c395 mm_camera_evt_obj_t *evt_array = NULL; in mm_camera_register_event_notify_internal() local
398 evt_array = &my_obj->evt; in mm_camera_register_event_notify_internal()
402 if(evt_array->evt[i].user_data == NULL) { in mm_camera_register_event_notify_internal()
403 evt_array->evt[i].evt_cb = evt_cb; in mm_camera_register_event_notify_internal()
404 evt_array->evt[i].user_data = user_data; in mm_camera_register_event_notify_internal()
405 evt_array->reg_count++; in mm_camera_register_event_notify_internal()
413 if(evt_array->evt[i].user_data == user_data) { in mm_camera_register_event_notify_internal()
414 evt_array->evt[i].evt_cb = NULL; in mm_camera_register_event_notify_internal()
415 evt_array->evt[i].user_data = NULL; in mm_camera_register_event_notify_internal()
416 evt_array->reg_count--; in mm_camera_register_event_notify_internal()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c402 mm_camera_evt_obj_t *evt_array = NULL; in mm_camera_register_event_notify_internal() local
405 evt_array = &my_obj->evt; in mm_camera_register_event_notify_internal()
409 if(evt_array->evt[i].user_data == NULL) { in mm_camera_register_event_notify_internal()
410 evt_array->evt[i].evt_cb = evt_cb; in mm_camera_register_event_notify_internal()
411 evt_array->evt[i].user_data = user_data; in mm_camera_register_event_notify_internal()
412 evt_array->reg_count++; in mm_camera_register_event_notify_internal()
420 if(evt_array->evt[i].user_data == user_data) { in mm_camera_register_event_notify_internal()
421 evt_array->evt[i].evt_cb = NULL; in mm_camera_register_event_notify_internal()
422 evt_array->evt[i].user_data = NULL; in mm_camera_register_event_notify_internal()
423 evt_array->reg_count--; in mm_camera_register_event_notify_internal()
/device/lge/mako/camera/mm-camera-interface/
Dmm_camera.c759 mm_camera_evt_obj_t *evt_array = &my_obj->evt[evt_type]; in mm_camera_reg_event() local
763 if(evt_array->evt[i].user_data == NULL) { in mm_camera_reg_event()
764 evt_array->evt[i].evt_cb = evt_cb; in mm_camera_reg_event()
765 evt_array->evt[i].user_data = user_data; in mm_camera_reg_event()
766 evt_array->reg_count++; in mm_camera_reg_event()
774 if(evt_array->evt[i].user_data == user_data) { in mm_camera_reg_event()
775 evt_array->evt[i].evt_cb = NULL; in mm_camera_reg_event()
776 evt_array->evt[i].user_data = NULL; in mm_camera_reg_event()
777 evt_array->reg_count--; in mm_camera_reg_event()
783 if(rc == MM_CAMERA_OK && evt_array->reg_count <= 1) { in mm_camera_reg_event()
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c360 mm_camera_evt_obj_t *evt_array = NULL; in mm_camera_register_event_notify_internal() local
363 evt_array = &my_obj->evt[evt_type]; in mm_camera_register_event_notify_internal()
367 if(evt_array->evt[i].user_data == NULL) { in mm_camera_register_event_notify_internal()
368 evt_array->evt[i].evt_cb = evt_cb; in mm_camera_register_event_notify_internal()
369 evt_array->evt[i].user_data = user_data; in mm_camera_register_event_notify_internal()
370 evt_array->reg_count++; in mm_camera_register_event_notify_internal()
378 if(evt_array->evt[i].user_data == user_data) { in mm_camera_register_event_notify_internal()
379 evt_array->evt[i].evt_cb = NULL; in mm_camera_register_event_notify_internal()
380 evt_array->evt[i].user_data = NULL; in mm_camera_register_event_notify_internal()
381 evt_array->reg_count--; in mm_camera_register_event_notify_internal()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera.c420 mm_camera_evt_obj_t *evt_array = NULL; in mm_camera_register_event_notify_internal() local
423 evt_array = &my_obj->evt[evt_type]; in mm_camera_register_event_notify_internal()
427 if(evt_array->evt[i].user_data == NULL) { in mm_camera_register_event_notify_internal()
428 evt_array->evt[i].evt_cb = evt_cb; in mm_camera_register_event_notify_internal()
429 evt_array->evt[i].user_data = user_data; in mm_camera_register_event_notify_internal()
430 evt_array->reg_count++; in mm_camera_register_event_notify_internal()
438 if(evt_array->evt[i].user_data == user_data) { in mm_camera_register_event_notify_internal()
439 evt_array->evt[i].evt_cb = NULL; in mm_camera_register_event_notify_internal()
440 evt_array->evt[i].user_data = NULL; in mm_camera_register_event_notify_internal()
441 evt_array->reg_count--; in mm_camera_register_event_notify_internal()
[all …]