Home
last modified time | relevance | path

Searched refs:hal_lib (Results 1 – 2 of 2) sorted by relevance

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c93 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()
94 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()
95 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()
96 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { in mm_app_load_hal()
100 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = in mm_app_load_hal()
101 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); in mm_app_load_hal()
102 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = in mm_app_load_hal()
103 dlsym(my_cam_app->hal_lib.ptr, "camera_open"); in mm_app_load_hal()
104 *(void **)&(my_cam_app->hal_lib.jpeg_open) = in mm_app_load_hal()
105 dlsym(my_cam_app->hal_lib.ptr_jpeg, "jpeg_open"); in mm_app_load_hal()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h263 hal_interface_lib_t hal_lib; member