Lines Matching refs:cameraInfo
9974 extern "C" void HAL_getCameraInfo(int cameraId, struct CameraInfo* cameraInfo)
9978 if(cameraInfo == NULL) {
9979 ALOGE("cameraInfo is NULL");
9988 cameraInfo->facing = (HAL_cameraInfo[i].position == BACK_CAMERA)?
9992 if(cameraInfo->facing == CAMERA_FACING_FRONT)
9993 cameraInfo->orientation = HAL_cameraInfo[i].sensor_mount_angle;
9995 cameraInfo->orientation = HAL_cameraInfo[i].sensor_mount_angle;
9997 cameraInfo->orientation = HAL_cameraInfo[i].sensor_mount_angle;
9999 cameraInfo->orientation = HAL_cameraInfo[i].sensor_mount_angle;
10001 cameraInfo->orientation = HAL_cameraInfo[i].sensor_mount_angle;
10003 cameraInfo->orientation = ((APP_ORIENTATION - HAL_cameraInfo[i].sensor_mount_angle) + 360)%360;
10005 ALOGI("%s: orientation = %d", __FUNCTION__, cameraInfo->orientation);
10007 cameraInfo->mode = 0;
10009 cameraInfo->mode |= CAMERA_SUPPORT_MODE_2D;
10011 cameraInfo->mode |= CAMERA_SUPPORT_MODE_3D;
10014 cameraInfo->mode |= CAMERA_ZSL_MODE;
10016 cameraInfo->mode |= CAMERA_NONZSL_MODE;
10019 ALOGI("%s: modes supported = %d", __FUNCTION__, cameraInfo->mode);