/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 44 mm_camera_app_t my_cam_app; variable 93 mm_camera_app_obj_t *temp = my_cam_app.obj[cam_id]; 99 my_cam_app.use_user_ptr = use_user_ptr; 153 memset(&my_cam_app, 0, sizeof(my_cam_app)); 154 memset(&my_cam_app.hal_lib, 0, sizeof(hal_interface_lib_t)); 156 my_cam_app.hal_lib.ptr = dlopen("/usr/lib/hw/camera.msm7630.so", RTLD_LAZY); 158 my_cam_app.hal_lib.ptr = dlopen("/usr/lib/hw/camera.msm7627A.so", RTLD_LAZY); 160 //my_cam_app.hal_lib.ptr = dlopen("hw/camera.msm8960.so", RTLD_NOW); 161 my_cam_app.hal_lib.ptr = dlopen("libmmcamera_interface_badger.so", RTLD_NOW) [all...] |
mm_qcamera_unit_test.c | 66 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) { 73 if ( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { 82 if ( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { 88 if ( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { 125 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) { 131 if ( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { 136 if ( MM_CAMERA_OK != (rc = takePicture_yuv(my_cam_app.cam_open))) { 147 if ( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { 151 if ( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { 187 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) [all...] |
mm_qcamera_dual_test.c | 98 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { 103 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { 131 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ 137 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { 142 if( MM_CAMERA_OK != (rc = takePicture_yuv(my_cam_app.cam_open))) { 153 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { 157 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { 193 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ 199 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { 204 if( MM_CAMERA_OK != (rc = startRecording(my_cam_app.cam_open))) [all...] |
mm_qcamera_snapshot.c | 195 my_cam_app.hal_lib.mm_camera_get_msm_frame_len(CAMERA_BAYER_SBGGR10, 207 pme->raw_snapshot_buf.frame[0].buffer = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap( 259 rc = my_cam_app.hal_lib.mm_camera_do_munmap(pme->raw_snapshot_buf.frame[0].fd, 262 rc = my_cam_app.hal_lib.mm_camera_do_munmap(pme->jpeg_buf.frame[0].fd, 365 my_cam_app.hal_lib.set_callbacks(snapshot_jpeg_fragment_cb, snapshot_jpeg_cb, pme, 367 my_cam_app.hal_lib.omxJpegStart(); 368 my_cam_app.hal_lib.mm_jpeg_encoder_setMainImageQuality(85); 391 if (!my_cam_app.hal_lib.omxJpegEncode(&encode_params)) { 743 my_cam_app.hal_lib.omxJpegOpen(); 770 my_cam_app.hal_lib.omxJpegClose() [all...] |
mm_qcamera_preview.c | 238 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, 373 /*bufs[i].buffer = my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd, 487 /*rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &bufs[i].fd, 572 if (!my_cam_app.run_sanity) { 585 if (my_cam_app.run_sanity) { 847 if (!my_cam_app.run_sanity) { 878 if (!my_cam_app.run_sanity) { [all...] |
mm_qcamera_video.c | 96 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,
|
mm_qcamera_rdi.c | 115 if (my_cam_app.run_sanity) {
|
mm_qcamera_main_menu.c | [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 82 int mm_app_load_hal(mm_camera_app_t *my_cam_app) 84 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); 85 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); 86 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); 87 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { 91 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = 92 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); 93 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = 94 dlsym(my_cam_app->hal_lib.ptr, "camera_open") 757 mm_camera_app_t my_cam_app; local [all...] |
mm_qcamera_dual_test.c | [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 82 int mm_app_load_hal(mm_camera_app_t *my_cam_app) 84 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); 85 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); 86 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); 87 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { 91 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = 92 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); 93 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = 94 dlsym(my_cam_app->hal_lib.ptr, "camera_open") 757 mm_camera_app_t my_cam_app; local [all...] |
mm_qcamera_dual_test.c | [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 154 extern mm_camera_app_t my_cam_app;
|