Lines Matching refs:cam_idx
104 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle);
105 if(cam_idx < MM_CAMERA_MAX_NUM_SENSORS) {
106 dev_name = g_cam_ctrl.video_dev_name[cam_idx];
125 uint8_t cam_idx = mm_camera_util_get_index_by_handler(cam_handle);
127 if (cam_idx < MM_CAMERA_MAX_NUM_SENSORS &&
128 (NULL != g_cam_ctrl.cam_obj[cam_idx]) &&
129 (cam_handle == g_cam_ctrl.cam_obj[cam_idx]->my_hdl)) {
130 cam_obj = g_cam_ctrl.cam_obj[cam_idx];
409 uint8_t cam_idx = camera_handle & 0x00ff;
428 g_cam_ctrl.cam_obj[cam_idx] = NULL;