Searched refs:camera_idx (Results 1 – 3 of 3) sorted by relevance
1769 int32_t camera_open(uint8_t camera_idx, mm_camera_vtbl_t **camera_vtbl) in camera_open() argument1774 CDBG("%s: E camera_idx = %d\n", __func__, camera_idx); in camera_open()1775 if (camera_idx >= g_cam_ctrl.num_cam) { in camera_open()1776 CDBG_ERROR("%s: Invalid camera_idx (%d)", __func__, camera_idx); in camera_open()1782 if(NULL != g_cam_ctrl.cam_obj[camera_idx]) { in camera_open()1784 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()1787 *camera_vtbl = &g_cam_ctrl.cam_obj[camera_idx]->vtbl; in camera_open()1803 cam_obj->my_hdl = mm_camera_util_generate_handler(camera_idx); in camera_open()1818 g_cam_ctrl.cam_obj[camera_idx] = NULL; in camera_open()1826 g_cam_ctrl.cam_obj[camera_idx] = cam_obj; in camera_open()
775 int32_t camera_open(uint8_t camera_idx, mm_camera_vtbl_t **camera_obj);
256 int32_t (*mm_camera_open) (uint8_t camera_idx, mm_camera_vtbl_t **camera_vtbl);