Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c927 int increase_contrast (mm_camera_lib_handle *lib_handle) { in increase_contrast() argument
934 return mm_camera_lib_send_command(lib_handle, in increase_contrast()
945 int decrease_contrast (mm_camera_lib_handle *lib_handle) { in decrease_contrast() argument
952 return mm_camera_lib_send_command(lib_handle, in decrease_contrast()
963 int decrease_brightness (mm_camera_lib_handle *lib_handle) { in decrease_brightness() argument
970 return mm_camera_lib_send_command(lib_handle, in decrease_brightness()
981 int increase_brightness (mm_camera_lib_handle *lib_handle) { in increase_brightness() argument
988 return mm_camera_lib_send_command(lib_handle, in increase_brightness()
1056 int increase_saturation (mm_camera_lib_handle *lib_handle) { in increase_saturation() argument
1072 return mm_camera_lib_send_command(lib_handle, in increase_saturation()
[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.c341 tuneserver_stop_cam(&tsctrl->lib_handle);
345 tuneserver_close_cam(&tsctrl->lib_handle);
633 mm_camera_lib_handle *lib_handle = (mm_camera_lib_handle *)data; in eztune_proc() local
701 result = tuneserver_open_cam(lib_handle); in eztune_proc()
707 lib_handle->tsctrl.clientsocket_id = client_socket; in eztune_proc()
708 if (tuneserver_ack_onaccept_initprotocol(&lib_handle->tsctrl) < 0) { in eztune_proc()
713 tuneserver_initialize_tuningp(lib_handle, client_socket, in eztune_proc()
714 lib_handle->tsctrl.proto->send_buf, lib_handle->tsctrl.proto->send_len); in eztune_proc()
718 if (lib_handle->tsctrl.proto == NULL) { in eztune_proc()
725 lib_handle->tsctrl.proto->next_recv_len, 0); in eztune_proc()
[all …]
Dmm_qcamera_app.c1570 int tuneserver_capture(mm_camera_lib_handle *lib_handle, in tuneserver_capture() argument
1576 if ( lib_handle->stream_running ) { in tuneserver_capture()
1578 if ( lib_handle->test_obj.zsl_enabled) { in tuneserver_capture()
1580 if ( ( lib_handle->test_obj.buffer_width != dim->width) || in tuneserver_capture()
1581 ( lib_handle->test_obj.buffer_height = dim->height ) ) { in tuneserver_capture()
1583 lib_handle->test_obj.buffer_width = dim->width; in tuneserver_capture()
1584 lib_handle->test_obj.buffer_height = dim->height; in tuneserver_capture()
1586 rc = mm_camera_lib_stop_stream(lib_handle); in tuneserver_capture()
1593 rc = mm_camera_lib_start_stream(lib_handle); in tuneserver_capture()
1603 lib_handle->test_obj.encodeJpeg = 1; in tuneserver_capture()
[all …]
/device/google/marlin/camera/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
/device/google/marlin/camera/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.h130 void *lib_handle; member