Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c929 int increase_contrast (mm_camera_lib_handle *lib_handle) { in increase_contrast() argument
936 return mm_camera_lib_send_command(lib_handle, in increase_contrast()
947 int decrease_contrast (mm_camera_lib_handle *lib_handle) { in decrease_contrast() argument
954 return mm_camera_lib_send_command(lib_handle, in decrease_contrast()
965 int decrease_brightness (mm_camera_lib_handle *lib_handle) { in decrease_brightness() argument
972 return mm_camera_lib_send_command(lib_handle, in decrease_brightness()
983 int increase_brightness (mm_camera_lib_handle *lib_handle) { in increase_brightness() argument
990 return mm_camera_lib_send_command(lib_handle, in increase_brightness()
1058 int increase_saturation (mm_camera_lib_handle *lib_handle) { in increase_saturation() argument
1074 return mm_camera_lib_send_command(lib_handle, in increase_saturation()
[all …]
Dmm_qcamera_socket.c333 tuneserver_stop_cam(&tsctrl->lib_handle);
337 tuneserver_close_cam(&tsctrl->lib_handle);
625 mm_camera_lib_handle *lib_handle = (mm_camera_lib_handle *)data; in eztune_proc() local
688 result = tuneserver_open_cam(lib_handle); in eztune_proc()
694 lib_handle->tsctrl.clientsocket_id = client_socket; in eztune_proc()
695 if (tuneserver_ack_onaccept_initprotocol(&lib_handle->tsctrl) < 0) { in eztune_proc()
700 tuneserver_initialize_tuningp(lib_handle, client_socket, in eztune_proc()
701 lib_handle->tsctrl.proto->send_buf, lib_handle->tsctrl.proto->send_len); in eztune_proc()
705 if (lib_handle->tsctrl.proto == NULL) { in eztune_proc()
712 lib_handle->tsctrl.proto->next_recv_len, 0); in eztune_proc()
[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_app.c1803 int tuneserver_capture(mm_camera_lib_handle *lib_handle, in tuneserver_capture() argument
1809 if ( lib_handle->stream_running ) { in tuneserver_capture()
1811 if ( lib_handle->test_obj.zsl_enabled) { in tuneserver_capture()
1813 if ( ( lib_handle->test_obj.buffer_width != dim->width) || in tuneserver_capture()
1814 ( lib_handle->test_obj.buffer_height = dim->height ) ) { in tuneserver_capture()
1816 lib_handle->test_obj.buffer_width = dim->width; in tuneserver_capture()
1817 lib_handle->test_obj.buffer_height = dim->height; in tuneserver_capture()
1819 rc = mm_camera_lib_stop_stream(lib_handle); in tuneserver_capture()
1826 rc = mm_camera_lib_start_stream(lib_handle); in tuneserver_capture()
1836 lib_handle->test_obj.encodeJpeg = 1; in tuneserver_capture()
[all …]
/device/lge/hammerhead/camera/mm-image-codec/qomx_core/
Dqomx_core.c193 p_core_comp->lib_handle = dlopen(p_core_comp->lib_name, RTLD_NOW); in OMX_GetHandle()
194 if (NULL == p_core_comp->lib_handle) { in OMX_GetHandle()
202 p_core_comp->create_comp_func = dlsym(p_core_comp->lib_handle, in OMX_GetHandle()
204 p_core_comp->get_instance = dlsym(p_core_comp->lib_handle, "getInstance"); in OMX_GetHandle()
246 dlclose(p_core_comp->lib_handle); in OMX_GetHandle()
247 p_core_comp->lib_handle = NULL; in OMX_GetHandle()
334 rc = dlclose(p_core_comp->lib_handle); in OMX_FreeHandle()
335 p_core_comp->lib_handle = NULL; in OMX_FreeHandle()
Dqomx_core.h76 void *lib_handle; member
/device/moto/shamu/camera/mm-image-codec/qomx_core/
Dqomx_core.c213 p_core_comp->lib_handle = dlopen(p_core_comp->lib_name, RTLD_NOW); in OMX_GetHandle()
214 if (NULL == p_core_comp->lib_handle) { in OMX_GetHandle()
222 p_core_comp->create_comp_func = dlsym(p_core_comp->lib_handle, in OMX_GetHandle()
224 p_core_comp->get_instance = dlsym(p_core_comp->lib_handle, "getInstance"); in OMX_GetHandle()
266 dlclose(p_core_comp->lib_handle); in OMX_GetHandle()
267 p_core_comp->lib_handle = NULL; in OMX_GetHandle()
357 rc = dlclose(p_core_comp->lib_handle); in OMX_FreeHandle()
358 p_core_comp->lib_handle = NULL; in OMX_FreeHandle()
Dqomx_core.h76 void *lib_handle; member
/device/asus/flo/camera/mm-image-codec/qomx_core/
Dqomx_core.c193 p_core_comp->lib_handle = dlopen(p_core_comp->lib_name, RTLD_NOW); in OMX_GetHandle()
194 if (NULL == p_core_comp->lib_handle) { in OMX_GetHandle()
202 p_core_comp->create_comp_func = dlsym(p_core_comp->lib_handle, in OMX_GetHandle()
204 p_core_comp->get_instance = dlsym(p_core_comp->lib_handle, "getInstance"); in OMX_GetHandle()
246 dlclose(p_core_comp->lib_handle); in OMX_GetHandle()
247 p_core_comp->lib_handle = NULL; in OMX_GetHandle()
334 rc = dlclose(p_core_comp->lib_handle); in OMX_FreeHandle()
335 p_core_comp->lib_handle = NULL; in OMX_FreeHandle()
Dqomx_core.h76 void *lib_handle; member
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_commands.h36 int tuneserver_close_cam(mm_camera_lib_handle *lib_handle);
37 int tuneserver_stop_cam(mm_camera_lib_handle *lib_handle);
38 int tuneserver_open_cam(mm_camera_lib_handle *lib_handle);
Dmm_qcamera_socket.h123 int eztune_server_start(void *lib_handle);
Dmm_qcamera_app.h132 void *lib_handle; member