Home
last modified time | relevance | path

Searched refs:lib_handle (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c1109 int increase_contrast (mm_camera_lib_handle *lib_handle) { in increase_contrast() argument
1116 return mm_camera_lib_send_command(lib_handle, in increase_contrast()
1127 int decrease_contrast (mm_camera_lib_handle *lib_handle) { in decrease_contrast() argument
1134 return mm_camera_lib_send_command(lib_handle, in decrease_contrast()
1145 int decrease_brightness (mm_camera_lib_handle *lib_handle) { in decrease_brightness() argument
1152 return mm_camera_lib_send_command(lib_handle, in decrease_brightness()
1163 int increase_brightness (mm_camera_lib_handle *lib_handle) { in increase_brightness() argument
1170 return mm_camera_lib_send_command(lib_handle, in increase_brightness()
1182 int increase_EV (mm_camera_lib_handle *lib_handle) { in increase_EV() argument
1192 return mm_camera_lib_send_command(lib_handle, in increase_EV()
[all …]
Dmm_qcamera_commands.c42 mm_camera_lib_handle *lib_handle = (mm_camera_lib_handle *) ctrl; in tuneserver_initialize_prevtuningp() local
43 tuningserver_t *tctrl = &lib_handle->tsctrl; in tuneserver_initialize_prevtuningp()
58 mm_camera_lib_set_preview_usercb(lib_handle, in tuneserver_initialize_prevtuningp()
134 mm_camera_lib_handle *lib_handle = (mm_camera_lib_handle *) ctrl; in tuneserver_initialize_tuningp() local
135 tuningserver_t *tctrl = &lib_handle->tsctrl; in tuneserver_initialize_tuningp()
139 lib_handle, TUNE_CMD_INIT, &client_socket_id, send_buf, send_len); in tuneserver_initialize_tuningp()
217 int tuneserver_close_cam(mm_camera_lib_handle *lib_handle) in tuneserver_close_cam() argument
221 result = mm_camera_lib_close(lib_handle); in tuneserver_close_cam()
237 static int tuneserver_start_cam(mm_camera_lib_handle *lib_handle)
241 result = mm_camera_lib_start_stream(lib_handle);
[all …]
Dmm_qcamera_socket.c342 tuneserver_stop_cam(&tsctrl->lib_handle);
346 tuneserver_close_cam(&tsctrl->lib_handle);
634 mm_camera_lib_handle *lib_handle = (mm_camera_lib_handle *)data; in eztune_proc() local
702 result = tuneserver_open_cam(lib_handle); in eztune_proc()
708 lib_handle->tsctrl.clientsocket_id = client_socket; in eztune_proc()
709 if (tuneserver_ack_onaccept_initprotocol(&lib_handle->tsctrl) < 0) { in eztune_proc()
714 tuneserver_initialize_tuningp(lib_handle, client_socket, in eztune_proc()
715 lib_handle->tsctrl.proto->send_buf, lib_handle->tsctrl.proto->send_len); in eztune_proc()
719 if (lib_handle->tsctrl.proto == NULL) { in eztune_proc()
726 lib_handle->tsctrl.proto->next_recv_len, 0); in eztune_proc()
[all …]
Dmm_qcamera_app.c1824 int tuneserver_capture(mm_camera_lib_handle *lib_handle, in tuneserver_capture() argument
1830 if ( lib_handle->stream_running ) { in tuneserver_capture()
1832 if ( lib_handle->test_obj.zsl_enabled) { in tuneserver_capture()
1834 if ( ( lib_handle->test_obj.buffer_width != dim->width) || in tuneserver_capture()
1835 ( lib_handle->test_obj.buffer_height = dim->height ) ) { in tuneserver_capture()
1837 lib_handle->test_obj.buffer_width = dim->width; in tuneserver_capture()
1838 lib_handle->test_obj.buffer_height = dim->height; in tuneserver_capture()
1840 rc = mm_camera_lib_stop_stream(lib_handle); in tuneserver_capture()
1847 rc = mm_camera_lib_start_stream(lib_handle); in tuneserver_capture()
1857 lib_handle->test_obj.encodeJpeg = 1; in tuneserver_capture()
[all …]
/hardware/qcom/camera/msm8998/mm-image-codec/qomx_core/
Dqomx_core.c220 p_core_comp->lib_handle = dlopen(p_core_comp->lib_name, RTLD_NOW); in OMX_GetHandle()
221 if (NULL == p_core_comp->lib_handle) { in OMX_GetHandle()
229 p_core_comp->create_comp_func = dlsym(p_core_comp->lib_handle, in OMX_GetHandle()
231 p_core_comp->get_instance = dlsym(p_core_comp->lib_handle, "getInstance"); in OMX_GetHandle()
273 dlclose(p_core_comp->lib_handle); in OMX_GetHandle()
274 p_core_comp->lib_handle = NULL; in OMX_GetHandle()
364 rc = dlclose(p_core_comp->lib_handle); in OMX_FreeHandle()
365 p_core_comp->lib_handle = NULL; in OMX_FreeHandle()
Dqomx_core.h77 void *lib_handle; member
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_commands.h37 int tuneserver_close_cam(mm_camera_lib_handle *lib_handle);
38 int tuneserver_stop_cam(mm_camera_lib_handle *lib_handle);
39 int tuneserver_open_cam(mm_camera_lib_handle *lib_handle);
Dmm_qcamera_socket.h111 int eztune_server_start(void *lib_handle);
Dmm_qcamera_app.h132 void *lib_handle; member
/hardware/qcom/audio/hal/audio_extn/
Dsoundtrigger.c155 void *lib_handle; member
520 st_dev->lib_handle = dlopen(sound_trigger_lib, RTLD_NOW); in audio_extn_sound_trigger_init()
522 if (st_dev->lib_handle == NULL) { in audio_extn_sound_trigger_init()
529 DLSYM(st_dev->lib_handle, st_dev->st_callback, sound_trigger_hw_call_back, in audio_extn_sound_trigger_init()
534 DLSYM(st_dev->lib_handle, sthal_prop_api_version, in audio_extn_sound_trigger_init()
559 if (st_dev->lib_handle) in audio_extn_sound_trigger_init()
560 dlclose(st_dev->lib_handle); in audio_extn_sound_trigger_init()
569 if (st_dev && (st_dev->adev == adev) && st_dev->lib_handle) { in audio_extn_sound_trigger_deinit()
571 dlclose(st_dev->lib_handle); in audio_extn_sound_trigger_deinit()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp648 void* lib_handle = dlopen(path, RTLD_LAZY); in lazy_init_modules() local
649 if (lib_handle == NULL) { in lazy_init_modules()
656 struct hw_module_t* module = (hw_module_t*) dlsym(lib_handle, sym); in lazy_init_modules()
665 so_handles->push_back(lib_handle); in lazy_init_modules()
666 lib_handle = nullptr; in lazy_init_modules()
669 if (lib_handle != nullptr) { in lazy_init_modules()
670 dlclose(lib_handle); in lazy_init_modules()
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c426 void *lib_handle; in init() local
441 lib_handle = dlopen(path, RTLD_NOW); in init()
442 if (lib_handle == NULL) { in init()
446 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()
451 desc = (const effect_descriptor_t *)dlsym(lib_handle, in init()