Searched refs:my_cam_app (Results 1 – 3 of 3) sorted by relevance
1626 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_0()1631 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_dtc_s_0()1659 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ in mm_app_dtc_s_1()1665 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_1()1670 if( MM_CAMERA_OK != (rc = takePicture_yuv(my_cam_app.cam_open))) { in mm_app_dtc_s_1()1681 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_1()1685 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_dtc_s_1()1721 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ in mm_app_dtc_s_2()1727 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_2()1732 if( MM_CAMERA_OK != (rc = startRecording(my_cam_app.cam_open))) { in mm_app_dtc_s_2()[all …]
88 int mm_app_load_hal(mm_camera_app_t *my_cam_app) in mm_app_load_hal() argument90 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()91 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()92 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()93 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { in mm_app_load_hal()97 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = in mm_app_load_hal()98 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); in mm_app_load_hal()99 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = in mm_app_load_hal()100 dlsym(my_cam_app->hal_lib.ptr, "camera_open"); in mm_app_load_hal()101 *(void **)&(my_cam_app->hal_lib.jpeg_open) = in mm_app_load_hal()[all …]
494 int mm_app_load_hal(mm_camera_app_t *my_cam_app);