3
0
Fork 0
Commit Graph

5 Commits

Author SHA1 Message Date
Caio Schnepper ecc3d13410 galaxys2: initial L bringup
Change-Id: Ia356da8437917be3355eba59c1df3943bb33f905
2015-05-28 18:29:17 -03:00
Paul Kocialkowski 5099a80f5a camera: Coding style (for loops, whitespaces and newlines)
Change-Id: Icc042027fa3bd37fc2815e7756a1743745be450e
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2013-07-30 23:14:03 +02:00
ghepeu 5477489722 galaxys2-common: camera: exynos_exif.c: fix values of some wrong EXIF tags
* adapt the code to the changes made in Exif.h
 * calculate ExposureTime from the ShutterSpeedValue: the exposure time
   read from the camera doesn't seem to work

Together with changes in Exif.h, this commit fixes ExposureTime, FNumber,
ShutterSpeedValue, ApertureValue, BrightnessValue and MaxApertureValue.

The values now match what was generated by the closed camera driver.

Credits to tryptophane for ExposureTime and ShutterSpeedValue. Thanks to
opaco23 and stone_ship who provided samples.

This commit requires http://review.cyanogenmod.org/37370

Change-Id: I16b606e65e895b98f9679ffb6172869c2cbe741c
2013-05-10 14:33:08 +02:00
ghepeu bcbeb5ebef galaxys2-common: fix EXIF data generated by the camera
* ensure that all IFDs are 12 bytes long; previously when the data field contained less than 4 bytes of data the IFDs were truncated too soon
 * change all data types and number of components according to the EXIF standard
 * get the actual status of the flash from the camera; previosly the camera flash settings (which are not valid EXIF values) were copied in
 * fix calculations of GPS coordinates

With these changes the EXIF generated by the camera are valid and readable. There are still issues with some tags but most data is correct now.

Thanks to dafnis, who identified the problematic fields, and tryptophane, who helped testing.

Patch Set 2: fix whitespaces.

Change-Id: I513ea89f69ff26646e6a4a439b1cd5b835cba8d6
2013-05-05 14:49:05 +02:00
codeworkx 2806d8bfe0 galaxys2: update for new kernel, cleanup, replicant camera hal
Camera HAL from: http://gitorious.org/replicant/device_samsung_galaxys2

Change-Id: I4191110be5b3368c608333d724f4217894dab4ac
2013-02-17 20:28:22 +00:00