Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_app.c154 memset(&my_cam_app.hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()
156 my_cam_app.hal_lib.ptr = dlopen("/usr/lib/hw/camera.msm7630.so", RTLD_LAZY); in mm_app_load_hal()
158 my_cam_app.hal_lib.ptr = dlopen("/usr/lib/hw/camera.msm7627A.so", RTLD_LAZY); in mm_app_load_hal()
161 my_cam_app.hal_lib.ptr = dlopen("libmmcamera_interface_badger.so", RTLD_NOW); in mm_app_load_hal()
163 if (!my_cam_app.hal_lib.ptr) { in mm_app_load_hal()
167 *(void **)&(my_cam_app.hal_lib.mm_camera_query) = in mm_app_load_hal()
168 dlsym(my_cam_app.hal_lib.ptr, in mm_app_load_hal()
170 *(void **)&(my_cam_app.hal_lib.mm_camera_open) = in mm_app_load_hal()
171 dlsym(my_cam_app.hal_lib.ptr, in mm_app_load_hal()
180 …my_cam_app.cam_info = (mm_camera_info_t *)my_cam_app.hal_lib.mm_camera_query(&my_cam_app.num_came… in mm_app_init()
[all …]
Dmm_qcamera_snapshot.c195 my_cam_app.hal_lib.mm_camera_get_msm_frame_len(CAMERA_BAYER_SBGGR10, in mm_app_prepare_raw_snapshot_buf()
207 pme->raw_snapshot_buf.frame[0].buffer = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap( in mm_app_prepare_raw_snapshot_buf()
259 rc = my_cam_app.hal_lib.mm_camera_do_munmap(pme->raw_snapshot_buf.frame[0].fd, in mm_app_unprepare_raw_snapshot_buf()
262 rc = my_cam_app.hal_lib.mm_camera_do_munmap(pme->jpeg_buf.frame[0].fd, in mm_app_unprepare_raw_snapshot_buf()
365 my_cam_app.hal_lib.set_callbacks(snapshot_jpeg_fragment_cb, snapshot_jpeg_cb, pme, in encodeData()
367 my_cam_app.hal_lib.omxJpegStart(); in encodeData()
368 my_cam_app.hal_lib.mm_jpeg_encoder_setMainImageQuality(85); in encodeData()
391 if (!my_cam_app.hal_lib.omxJpegEncode(&encode_params)) { in encodeData()
743 my_cam_app.hal_lib.omxJpegOpen(); in mm_app_start_snapshot()
770 my_cam_app.hal_lib.omxJpegClose(); in mm_app_stop_snapshot()
[all …]
Dmm_qcamera_video.c96 rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->video_buf.frame[i].fd_data),
142 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
Dmm_qcamera_preview.c238 … rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->preview_buf.frame[i].fd_data),
285 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
/hardware/qcom/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h149 hal_interface_lib_t hal_lib; member