summaryrefslogtreecommitdiffstats
path: root/camera/exynos_exif.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-12-27 19:34:39 +0100
committerPaul Kocialkowski <contact@paulk.fr>2014-01-04 19:51:03 +0100
commitc0120340ff4070552b6aae210b247d4f1343f7df (patch)
treea2a88cf993b3aae75d9b2f09dca5f91db967e9a5 /camera/exynos_exif.c
parentd55f93cc5d8163be752f09766868dab5cbe2bfa1 (diff)
downloaddevice_samsung_galaxys2-common-c0120340ff4070552b6aae210b247d4f1343f7df.zip
device_samsung_galaxys2-common-c0120340ff4070552b6aae210b247d4f1343f7df.tar.gz
device_samsung_galaxys2-common-c0120340ff4070552b6aae210b247d4f1343f7df.tar.bz2
camera: Coding style cosmetics, header block and license cleanup
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'camera/exynos_exif.c')
-rw-r--r--camera/exynos_exif.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/camera/exynos_exif.c b/camera/exynos_exif.c
index 8887e5b..80f3c8f 100644
--- a/camera/exynos_exif.c
+++ b/camera/exynos_exif.c
@@ -1,9 +1,9 @@
/*
- * Copyright (C) 2013 Paul Kocialkowski
+ * Copyright (C) 2013 Paul Kocialkowski <contact@paulk.fr>
*
* Based on crespo libcamera and exynos4 hal libcamera:
- * Copyright 2008, The Android Open Source Project
- * Copyright 2010, Samsung Electronics Co. LTD
+ * Copyright 2008, The Android Open Source Project, Apache License 2.0
+ * Copyright 2010, Samsung Electronics Co. LTD, Apache License 2.0
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -39,10 +39,6 @@
#include "exynos_camera.h"
-/*
- * FIXME: This EXIF implementation doesn't work very well, it needs to be fixed.
- */
-
int exynos_exif_attributes_create_static(struct exynos_camera *exynos_camera,
exif_attribute_t *exif_attributes)
{
@@ -259,15 +255,6 @@ int exynos_exif_attributes_create_params(struct exynos_camera *exynos_camera,
exif_attributes->shutter_speed.num = shutter_speed;
exif_attributes->shutter_speed.den = 100;
- /* the exposure_time value read from the camera doesn't work
- * exposure_time = shutter_speed;
- * rc = exynos_v4l2_g_ctrl(exynos_camera, 0, V4L2_CID_CAMERA_EXIF_EXPTIME,
- * &exposure_time);
- * if (rc < 0)
- * ALOGE("%s: g ctrl failed!", __func__);
- */
-
- // calculate exposure time from the shutter speed value instead
exif_attributes->exposure_time.num = 1;
exif_attributes->exposure_time.den = APEX_SHUTTER_TO_EXPOSURE(shutter_speed);