Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c77 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_0()
83 if ( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_tc_0()
92 if ( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_tc_0()
98 if ( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_0()
135 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_1()
141 if ( MM_CAMERA_OK != (rc = startPreview(my_cam_app.cam_open))) { in mm_app_tc_1()
146 if ( MM_CAMERA_OK != (rc = takePicture_yuv(my_cam_app.cam_open))) { in mm_app_tc_1()
157 if ( MM_CAMERA_OK != (rc = stopPreview(my_cam_app.cam_open))) { in mm_app_tc_1()
161 if ( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_1()
197 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_2()
[all …]
Dmm_qcamera_app.c42 mm_camera_app_t my_cam_app; variable
96 mm_camera_app_obj_t *temp = my_cam_app.obj[cam_id]; in mm_app_get_cam_obj()
102 my_cam_app.use_user_ptr = use_user_ptr; in mm_app_user_ptr()
158 memset(&my_cam_app, 0, sizeof(my_cam_app)); in mm_app_load_hal()
159 memset(&my_cam_app.hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()
161 my_cam_app.hal_lib.ptr = dlopen("/usr/lib/hw/camera.msm7630.so", RTLD_LAZY); in mm_app_load_hal()
163 my_cam_app.hal_lib.ptr = dlopen("/usr/lib/hw/camera.msm7627A.so", RTLD_LAZY); in mm_app_load_hal()
166 my_cam_app.hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()
167 my_cam_app.hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()
169 if (!my_cam_app.hal_lib.ptr) { in mm_app_load_hal()
[all …]
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_pp.c809 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_reprocess_preview_only()
815 if ( MM_CAMERA_OK != (rc = prepareReprocess(my_cam_app.cam_open))) { in mm_app_tc_reprocess_preview_only()
822 if ( MM_CAMERA_OK != (rc = startPreviewPP(my_cam_app.cam_open))) { in mm_app_tc_reprocess_preview_only()
832 if ( MM_CAMERA_OK != (rc = stopPreviewPP(my_cam_app.cam_open))) { in mm_app_tc_reprocess_preview_only()
841 if ( MM_CAMERA_OK != (rc = unprepareReprocess(my_cam_app.cam_open))) { in mm_app_tc_reprocess_preview_only()
846 if ( mm_app_close(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_reprocess_preview_only()
888 if (system_dimension_set(my_cam_app.cam_open) != MM_CAMERA_OK) { in mm_app_tc_reprocess_preview_and_recording()
894 if ( MM_CAMERA_OK != (rc = prepareReprocess(my_cam_app.cam_open))) { in mm_app_tc_reprocess_preview_and_recording()
901 if ( MM_CAMERA_OK != (rc = startPreviewPP(my_cam_app.cam_open))) { in mm_app_tc_reprocess_preview_and_recording()
912 if ( MM_CAMERA_OK != (rc = startRecordPP(my_cam_app.cam_open))) { in mm_app_tc_reprocess_preview_and_recording()
[all …]
Dmm_qcamera_preview.c306 … rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->preview_buf.frame[i].fd_data),
353 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
630 if (!my_cam_app.run_sanity) { in mm_app_preview_notify_cb()
644 if (my_cam_app.run_sanity) { in mm_app_preview_notify_cb()
792 if (my_cam_app.run_sanity) { in mm_app_zsl_notify_cb()
1155 if (!my_cam_app.run_sanity) { in mm_app_start_preview()
1190 if (!my_cam_app.run_sanity) { in mm_app_start_preview_stats()
1231 if (!my_cam_app.run_sanity) { in mm_app_start_preview_zsl()
1534 if (!my_cam_app.run_sanity) { in mm_app_stop_preview()
1558 if (!my_cam_app.run_sanity) { in mm_app_stop_preview_stats()
[all …]
Dmm_qcamera_video.c104 … rc = my_cam_app.hal_lib.mm_camera_do_munmap_ion (pme->ionfd, &(pme->video_buf.frame[i].fd_data),
150 pmem_addr = (unsigned long) my_cam_app.hal_lib.mm_camera_do_mmap_ion(pme->ionfd,
Dmm_qcamera_rdi.c169 if (my_cam_app.run_sanity) { in mm_app_rdi_notify_cb()
Dmm_qcamera_main_menu.c1447 cam_id = my_cam_app.cam_open; in submain()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c82 int mm_app_load_hal(mm_camera_app_t *my_cam_app) in mm_app_load_hal() argument
84 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()
85 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()
86 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()
87 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { in mm_app_load_hal()
91 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = in mm_app_load_hal()
92 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); in mm_app_load_hal()
93 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = in mm_app_load_hal()
94 dlsym(my_cam_app->hal_lib.ptr, "camera_open"); in mm_app_load_hal()
95 *(void **)&(my_cam_app->hal_lib.jpeg_open) = in mm_app_load_hal()
[all …]
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 …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c82 int mm_app_load_hal(mm_camera_app_t *my_cam_app) in mm_app_load_hal() argument
84 memset(&my_cam_app->hal_lib, 0, sizeof(hal_interface_lib_t)); in mm_app_load_hal()
85 my_cam_app->hal_lib.ptr = dlopen("libmmcamera_interface.so", RTLD_NOW); in mm_app_load_hal()
86 my_cam_app->hal_lib.ptr_jpeg = dlopen("libmmjpeg_interface.so", RTLD_NOW); in mm_app_load_hal()
87 if (!my_cam_app->hal_lib.ptr || !my_cam_app->hal_lib.ptr_jpeg) { in mm_app_load_hal()
91 *(void **)&(my_cam_app->hal_lib.get_num_of_cameras) = in mm_app_load_hal()
92 dlsym(my_cam_app->hal_lib.ptr, "get_num_of_cameras"); in mm_app_load_hal()
93 *(void **)&(my_cam_app->hal_lib.mm_camera_open) = in mm_app_load_hal()
94 dlsym(my_cam_app->hal_lib.ptr, "camera_open"); in mm_app_load_hal()
95 *(void **)&(my_cam_app->hal_lib.jpeg_open) = in mm_app_load_hal()
[all …]
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 …]
/device/moto/shamu/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/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h185 extern mm_camera_app_t my_cam_app;
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h480 int mm_app_load_hal(mm_camera_app_t *my_cam_app);