exynos4: hal: include: Exif.h: always keep two decimal places in macros
authorghepeu <ghepeu@gmail.com>
Fri, 10 May 2013 12:19:23 +0000 (14:19 +0200)
committerghepeu <ghepeu@gmail.com>
Fri, 10 May 2013 12:27:52 +0000 (14:27 +0200)
commitcfaad78bbb6b4cb19eaff2782a82a22131fba823
tree43f18d56ef08adea85aeb378b47fca9fb8a88f17
parent2b8a73fc5c090e5d1c418f902fd27d0398ef7921
exynos4: hal: include: Exif.h: always keep two decimal places in macros

The APEX macros always rounded to int, losing too much precision. Ensure
that we always keep at least two decimal digits.

The more precise F-number comes from the value recorded by the camera
closed source driver.

Added a new macro APEX_SHUTTER_TO_EXPOSURE(x) (credit to tryptophane).

Change-Id: Ief43c15c6517d8dc48d4d4bc9e93df9eb01e6b91
exynos4/hal/include/Exif.h