Lines Matching defs:my_cam_app
44 mm_camera_app_t my_cam_app;
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);
163 if (!my_cam_app.hal_lib.ptr) {
167 *(void **)&(my_cam_app.hal_lib.mm_camera_query) =
168 dlsym(my_cam_app.hal_lib.ptr,
170 *(void **)&(my_cam_app.hal_lib.mm_camera_open) =
171 dlsym(my_cam_app.hal_lib.ptr,
180 my_cam_app.cam_info = (mm_camera_info_t *)my_cam_app.hal_lib.mm_camera_query(&my_cam_app.num_cameras);
181 if(my_cam_app.cam_info == NULL) {
185 CDBG("%s:END, num_cameras = %d\n", __func__, my_cam_app.num_cameras);
224 my_cam_app.cam_open = cam_id;
225 my_cam_app.obj[cam_id] = (mm_camera_app_obj_t *)malloc(sizeof(mm_camera_app_obj_t));
226 pme = my_cam_app.obj[cam_id];
232 pme->cam = my_cam_app.hal_lib.mm_camera_open(cam_id,pme->mem_cam);
282 my_cam_app.obj[cam_id] = NULL;
315 if(my_cam_app.cam_open == cam_id){
336 mm_app_close(my_cam_app.cam_open);
396 my_cam_app.run_sanity = 1;
397 mm_app_unit_test_entry(&my_cam_app);
403 my_cam_app.run_sanity = 1;
404 mm_app_dual_test_entry(&my_cam_app);