Home
last modified time | relevance | path

Searched refs:num_cameras (Results 1 – 25 of 25) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c66 if (cam_apps->num_cameras == 0) { in mm_app_tc_0()
67 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_tc_0()
71 for (i = 0; i < cam_apps->num_cameras; i++) { in mm_app_tc_0()
129 for (i = 0; i < cam_apps->num_cameras; i++) { in mm_app_tc_1()
191 for (i = 0; i < cam_apps->num_cameras; i++) { in mm_app_tc_2()
259 if (cam_apps->num_cameras == 0) { in mm_app_tc_3()
260 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_tc_3()
265 for (i = 1; i < cam_apps->num_cameras; i++) { in mm_app_tc_3()
327 for (i = 0; i < cam_apps->num_cameras; i++) { in mm_app_tc_4()
575 if (cam_apps->num_cameras == 0) { in mm_app_tc_9()
[all …]
Dmm_qcamera_pp.c796 if (cam_apps->num_cameras == 0) { in mm_app_tc_reprocess_preview_only()
797 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_tc_reprocess_preview_only()
802 for (i = 1; i < cam_apps->num_cameras; i++) { in mm_app_tc_reprocess_preview_only()
875 if (cam_apps->num_cameras == 0) { in mm_app_tc_reprocess_preview_and_recording()
876 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_tc_reprocess_preview_and_recording()
881 for (i = 1; i < cam_apps->num_cameras; i++) { in mm_app_tc_reprocess_preview_and_recording()
Dmm_qcamera_dual_test.c1656 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_1()
1718 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_2()
1785 if(cam_apps->num_cameras == 0) { in mm_app_dtc_s_3()
1786 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_dtc_s_3()
1790 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_3()
Dmm_qcamera_app.c189 …am_app.cam_info = (mm_camera_info_t *)my_cam_app.hal_lib.mm_camera_query(&my_cam_app.num_cameras); in mm_app_init()
194 CDBG("%s:END, num_cameras = %d\n", __func__, my_cam_app.num_cameras); in mm_app_init()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c1096 mm_camera_info_t * camera_query(uint8_t *num_cameras) in camera_query() argument
1102 if (!num_cameras) { in camera_query()
1110 *num_cameras = 0; in camera_query()
1165 strncpy(g_cam_ctrl.video_dev_name[*num_cameras], in camera_query()
1167 g_cam_ctrl.camera[*num_cameras].video_dev_name = in camera_query()
1168 &g_cam_ctrl.video_dev_name[*num_cameras][0]; in camera_query()
1174 g_cam_ctrl.camera[*num_cameras].camera_id = *num_cameras; in camera_query()
1176 g_cam_ctrl.camera[*num_cameras]. in camera_query()
1180 g_cam_ctrl.camera[*num_cameras]. in camera_query()
1184 g_cam_ctrl.camera[*num_cameras].camera_info.position = in camera_query()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c47 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_open_close()
79 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_preview()
127 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_zsl()
175 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_video_preview()
223 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_video_record()
298 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_live_snapshot()
399 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_raw()
452 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_regular()
505 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_burst()
556 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_rdi_burst()
[all …]
Dmm_qcamera_main_menu.c1671 int num_cameras; in submain() local
1692 num_cameras = mm_camera_lib_number_of_cameras(&lib_handle); in submain()
1693 if ( 0 >= num_cameras ) { in submain()
1697 } else if ( 1 <= num_cameras ) { in submain()
1698 c = MIN(num_cameras, available_sensors); in submain()
Dmm_qcamera_dual_test.c1656 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_1()
1718 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_2()
1785 if(cam_apps->num_cameras == 0) { in mm_app_dtc_s_3()
1786 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_dtc_s_3()
1790 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_3()
Dmm_qcamera_app.c106 my_cam_app->num_cameras = my_cam_app->hal_lib.get_num_of_cameras(); in mm_app_load_hal()
107 CDBG("%s: num_cameras = %d\n", __func__, my_cam_app->num_cameras); in mm_app_load_hal()
2382 rc = handle->app_ctx.num_cameras; in mm_camera_lib_number_of_cameras()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c47 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_open_close()
79 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_preview()
127 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_zsl()
175 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_video_preview()
223 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_video_record()
298 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_live_snapshot()
399 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_raw()
452 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_regular()
505 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_burst()
556 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_rdi_burst()
[all …]
Dmm_qcamera_main_menu.c1671 int num_cameras; in submain() local
1692 num_cameras = mm_camera_lib_number_of_cameras(&lib_handle); in submain()
1693 if ( 0 >= num_cameras ) { in submain()
1697 } else if ( 1 <= num_cameras ) { in submain()
1698 c = MIN(num_cameras, available_sensors); in submain()
Dmm_qcamera_dual_test.c1656 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_1()
1718 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_2()
1785 if(cam_apps->num_cameras == 0) { in mm_app_dtc_s_3()
1786 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_dtc_s_3()
1790 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_3()
Dmm_qcamera_app.c106 my_cam_app->num_cameras = my_cam_app->hal_lib.get_num_of_cameras(); in mm_app_load_hal()
107 CDBG("%s: num_cameras = %d\n", __func__, my_cam_app->num_cameras); in mm_app_load_hal()
2382 rc = handle->app_ctx.num_cameras; in mm_camera_lib_number_of_cameras()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_unit_test.c47 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_open_close()
79 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_preview()
127 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_zsl()
175 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_video_preview()
223 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_video_record()
298 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_start_stop_live_snapshot()
399 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_raw()
452 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_regular()
505 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_capture_burst()
556 for (i = 0; i < cam_app->num_cameras; i++) { in mm_app_tc_rdi_burst()
[all …]
Dmm_qcamera_main_menu.c1670 int num_cameras; in submain() local
1689 num_cameras = mm_camera_lib_number_of_cameras(&lib_handle); in submain()
1690 if ( 0 >= num_cameras ) { in submain()
1694 } else if ( 1 <= num_cameras ) { in submain()
1695 c = MIN(num_cameras, available_sensors); in submain()
Dmm_qcamera_dual_test.c1656 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_1()
1718 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_2()
1785 if(cam_apps->num_cameras == 0) { in mm_app_dtc_s_3()
1786 CDBG_ERROR("%s:Query Failed: Num of cameras = %d\n",__func__, cam_apps->num_cameras); in mm_app_dtc_s_3()
1790 for(i = 0; i < cam_apps->num_cameras; i++) { in mm_app_dtc_s_3()
Dmm_qcamera_app.c106 my_cam_app->num_cameras = my_cam_app->hal_lib.get_num_of_cameras(); in mm_app_load_hal()
107 CDBG("%s: num_cameras = %d\n", __func__, my_cam_app->num_cameras); in mm_app_load_hal()
2544 rc = handle->app_ctx.num_cameras; in mm_camera_lib_number_of_cameras()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c1311 uint8_t num_cameras = 0; in get_sensor_info() local
1330 num_cameras = 0; in get_sensor_info()
1361 , num_cameras, (unsigned int)temp, (unsigned int)mount_angle, in get_sensor_info()
1363 g_cam_ctrl.info[num_cameras].facing = facing; in get_sensor_info()
1364 g_cam_ctrl.info[num_cameras].orientation = mount_angle; in get_sensor_info()
1365 num_cameras++; in get_sensor_info()
1371 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_sensor_info()
1396 uint8_t num_cameras = 0; in get_num_of_cameras() local
1499 num_cameras = 0; in get_num_of_cameras()
1521 strncpy(g_cam_ctrl.video_dev_name[num_cameras], in get_num_of_cameras()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c1386 size_t num_cameras = 0; in get_sensor_info() local
1404 num_cameras = 0; in get_sensor_info()
1435 (unsigned int)num_cameras, (unsigned int)temp, in get_sensor_info()
1437 g_cam_ctrl.info[num_cameras].facing = (int)facing; in get_sensor_info()
1438 g_cam_ctrl.info[num_cameras].orientation = (int)mount_angle; in get_sensor_info()
1439 num_cameras++; in get_sensor_info()
1445 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_sensor_info()
1515 int8_t num_cameras = 0; in get_num_of_cameras() local
1630 num_cameras = 0; in get_num_of_cameras()
1651 strlcpy(g_cam_ctrl.video_dev_name[num_cameras], in get_num_of_cameras()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c1386 size_t num_cameras = 0; in get_sensor_info() local
1404 num_cameras = 0; in get_sensor_info()
1435 (unsigned int)num_cameras, (unsigned int)temp, in get_sensor_info()
1437 g_cam_ctrl.info[num_cameras].facing = (int)facing; in get_sensor_info()
1438 g_cam_ctrl.info[num_cameras].orientation = (int)mount_angle; in get_sensor_info()
1439 num_cameras++; in get_sensor_info()
1445 __func__, num_cameras, g_cam_ctrl.video_dev_name[num_cameras]); in get_sensor_info()
1515 int8_t num_cameras = 0; in get_num_of_cameras() local
1630 num_cameras = 0; in get_num_of_cameras()
1651 strlcpy(g_cam_ctrl.video_dev_name[num_cameras], in get_num_of_cameras()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/
Dmm_qcamera_app.h139 mm_camera_info_t *(*mm_camera_query) (uint8_t *num_cameras);
175 uint8_t num_cameras; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h414 mm_camera_info_t * camera_query(uint8_t *num_cameras);
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h262 uint8_t num_cameras; member
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h262 uint8_t num_cameras; member
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h262 uint8_t num_cameras; member