commit | cfaad78bbb6b4cb19eaff2782a82a22131fba823 | [log] [tgz] |
---|---|---|
author | ghepeu <ghepeu@gmail.com> | Fri May 10 14:19:23 2013 +0200 |
committer | ghepeu <ghepeu@gmail.com> | Fri May 10 14:27:52 2013 +0200 |
tree | 43f18d56ef08adea85aeb378b47fca9fb8a88f17 | |
parent | 2b8a73fc5c090e5d1c418f902fd27d0398ef7921 [diff] |
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