Home
last modified time | relevance | path

Searched refs:my_cam_app (Results 1 – 9 of 9) sorted by relevance

/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c1626 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 …]
Dmm_qcamera_app.c91 int mm_app_load_hal(mm_camera_app_t *my_cam_app) in mm_app_load_hal() argument
93 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()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c1629 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_0()
1634 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_dtc_s_0()
1662 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ in mm_app_dtc_s_1()
1668 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_1()
1673 if( MM_CAMERA_OK != (rc = takePicture_yuv(my_cam_app.cam_open))) { in mm_app_dtc_s_1()
1684 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_1()
1688 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_dtc_s_1()
1724 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ in mm_app_dtc_s_2()
1730 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_2()
1735 if( MM_CAMERA_OK != (rc = startRecording(my_cam_app.cam_open))) { in mm_app_dtc_s_2()
[all …]
Dmm_qcamera_app.c83 int mm_app_load_hal(mm_camera_app_t *my_cam_app) in mm_app_load_hal() argument
85 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()
86 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()
87 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()
88 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { in mm_app_load_hal()
92 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = in mm_app_load_hal()
93 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); in mm_app_load_hal()
94 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = in mm_app_load_hal()
95 dlsym(my_cam_app->hal_lib.ptr, "camera_open"); in mm_app_load_hal()
96 *(void **)&(my_cam_app->hal_lib.jpeg_open) = in mm_app_load_hal()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_dual_test.c1629 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_0()
1634 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_dtc_s_0()
1662 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ in mm_app_dtc_s_1()
1668 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_1()
1673 if( MM_CAMERA_OK != (rc = takePicture_yuv(my_cam_app.cam_open))) { in mm_app_dtc_s_1()
1684 if( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_1()
1688 if( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_dtc_s_1()
1724 if(system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK){ in mm_app_dtc_s_2()
1730 if( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_dtc_s_2()
1735 if( MM_CAMERA_OK != (rc = startRecording(my_cam_app.cam_open))) { in mm_app_dtc_s_2()
[all …]
Dmm_qcamera_app.c83 int mm_app_load_hal(mm_camera_app_t *my_cam_app) in mm_app_load_hal() argument
85 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()
86 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()
87 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()
88 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { in mm_app_load_hal()
92 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = in mm_app_load_hal()
93 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); in mm_app_load_hal()
94 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = in mm_app_load_hal()
95 dlsym(my_cam_app->hal_lib.ptr, "camera_open"); in mm_app_load_hal()
96 *(void **)&(my_cam_app->hal_lib.jpeg_open) = in mm_app_load_hal()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h482 int mm_app_load_hal(mm_camera_app_t *my_cam_app);
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h494 int mm_app_load_hal(mm_camera_app_t *my_cam_app);
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h482 int mm_app_load_hal(mm_camera_app_t *my_cam_app);