Searched refs:hal_lib (Results 1 – 2 of 2) sorted by relevance
92 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()93 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()94 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()95 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { in mm_app_load_hal()99 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = in mm_app_load_hal()100 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); in mm_app_load_hal()101 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = in mm_app_load_hal()102 dlsym(my_cam_app->hal_lib.ptr, "camera_open"); in mm_app_load_hal()103 *(void **)&(my_cam_app->hal_lib.jpeg_open) = in mm_app_load_hal()104 dlsym(my_cam_app->hal_lib.ptr_jpeg, "jpeg_open"); in mm_app_load_hal()[all …]
270 hal_interface_lib_t hal_lib; member