Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
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/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);
/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/audio/hal/audio_extn/
Dsoundtrigger.c153 void *lib_handle; member
508 st_dev->lib_handle = dlopen(sound_trigger_lib, RTLD_NOW); in audio_extn_sound_trigger_init()
510 if (st_dev->lib_handle == NULL) { in audio_extn_sound_trigger_init()
517 DLSYM(st_dev->lib_handle, st_dev->st_callback, sound_trigger_hw_call_back, in audio_extn_sound_trigger_init()
522 DLSYM(st_dev->lib_handle, sthal_prop_api_version, in audio_extn_sound_trigger_init()
547 if (st_dev->lib_handle) in audio_extn_sound_trigger_init()
548 dlclose(st_dev->lib_handle); in audio_extn_sound_trigger_init()
557 if (st_dev && (st_dev->adev == adev) && st_dev->lib_handle) { in audio_extn_sound_trigger_deinit()
559 dlclose(st_dev->lib_handle); in audio_extn_sound_trigger_deinit()
/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()