3
0
Commit Graph

26 Commits

Author SHA1 Message Date
Dominggoes Isakh
c70556438d galaxys2-common: Camera: Exit thread properly when focus fails
Change-Id: I7e0aff34ed5b1f727ce02a5a46351e4e9a1c1f4d
2017-01-13 19:31:29 +01:00
Paul Kocialkowski
edb07659ae camera: RGB565 preview format
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2017-01-10 10:48:54 +01:00
rINanDO
b7fa70df69 galaxys2-common: Camera: HAL improvements and fixes
* Improve start/stop video recording lag
* Force recording-hint in focus-mode continuous video
* Fix auto-focus in video recording
* Fix preview issues
* Fix switching focus-modes during recording
* Fix crash when taking pictures rapidly
* Fix crash when switching camera-/video-mode rapidly
* Add all supported video recording-sizes for back-camera

Change-Id: I810e8b7c14245bb47001094eb51ba4b4bb8ddb47
2016-07-10 10:45:36 -07:00
rINanDO
fa1f8ab808 galaxys2-common: Camera: Fix front camera issues.
Since this commit b47a1c5b2a the front camera
doesn't work anymore because the SceneMode-property is NULL.

Change-Id: I84ad5c0c0e67a98963a7515ed9973d8f8997eebc
2016-05-01 20:08:14 +02:00
rINanDO
579d2a4204 camera: activate continuous focus on video recording
Change-Id: Icd88df24a34c1bd49dce1e4fd67d7db95304f802
2015-07-17 11:59:23 -07:00
rINanDO
3b878ff5a9 camera: correct preview resolution
Fix distorted preview on some apps

Change-Id: I423c289b1d2a2e0b5a14cfbd7926f19b5de4879b
2015-07-17 11:57:11 -07:00
Caio Schnepper
ecc3d13410 galaxys2: initial L bringup
Change-Id: Ia356da8437917be3355eba59c1df3943bb33f905
2015-05-28 18:29:17 -03:00
sbrissen
de0aa65510 galaxys2-common: fix front cam video recording
https://jira.cyanogenmod.org/browse/CYAN-4035

Change-Id: Ia9a5845e10d9e9f5b5e868fa6cbc8e173b0a7d9c
2014-06-04 08:02:28 -04:00
Pavel Kirpichyov
fc6d124de3 Exynos camera fixes
* Enable video mode for camera
* Update sports scene name (Thanks to Mark Campbell-Smith <mcampbellsmith@gmail.com>)
The 'sports' scene mode has been renamed to 'action' scene mode
to match the 4.4 camera configuration

Change-Id: I453847256ad26197a90d44897844e78fe86732c1
2013-12-08 14:36:05 +02:00
Daniel Hillenbrand
07a0b80580 galaxys2: camera: add video snap param and set to "false"
Change-Id: I87e081f3269562df597c927537f270acdf8720c4
2013-09-19 17:57:19 +02:00
Paul Kocialkowski
4831909c8f camera: Implement proper touch-focus behavior
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>

Conflicts:
	camera/exynos_camera.c

Change-Id: I46823c0b2a1668f03d952f35fe55ced9c31a2822
2013-08-30 23:17:10 +02:00
Paul Kocialkowski
dfbdcd31e1 camera: Use frame size as returned by V4L2 to correct padding
Change-Id: I6d6154d4db468b809868b14bc84d669d168b413e
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2013-07-30 23:14:10 +02: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
athurh
8f1e7b0333 camera: manage picture width and height separately
required for 3264x2448 <-> 3264x1968

Change-Id: I729402e208dccee8cf1d1368c1d2d0dcd1f08a3d
2013-03-19 03:23:12 +01:00
codeworkx
93861e1fda galaxys2: camera: add missing picture size
Change-Id: I2b7d06f42a6020bc8bbe6718bedbd74ebe706636
2013-03-17 10:28:44 +00:00
Espen Fjellvær Olsen
aa46ea0b54 Update focus behaviour to match Samsungs
Thanks to angelsl

Change-Id: I9d2a12a818fce1ca88e635c03fb4fdeaab45bad4
2013-02-24 13:51:12 +01:00
Espen Fjellvær Olsen
c063919328 galaxys2: camera: code cleanup, higher min buffer count
Change-Id: I6abec7c91b15d4c9cd9916c878230403a4e1f89f
2013-02-24 13:47:00 +01:00
Espen Fjellvær Olsen
91ffef4747 Add another success header
Change-Id: I3b293dedd14bd8a95d5f57b62b8e7330ea697304
2013-02-23 11:09:22 -08:00
codeworkx
a821e10253 galaxys2: camera hal updates from paulk
Change-Id: I7ca6daa5ae8f72bb908b4c735193933f5524fdac
Source: git://git.paulk.fr/exynos_camera.git
2013-02-23 14:41:55 +00: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
codeworkx
4ccae23384 galaxys2: camera have iso
Change-Id: I103e58d0f115bc4560c152e9747847ea5ed4ac01
2012-12-02 16:34:14 +01:00
athurh
9ed62aeb6e camera: Fix camcorder preview sizes
Change-Id: I66d23df932ae8d2babf4fa80033ce5f2f047e0a9
2012-09-10 01:45:50 +02:00
athurh
74f6e5616a camera: Fix ISO speed values 2012-07-26 16:55:48 +02:00
Daniel Hillenbrand
51841ab0c5 initial commit 2012-07-25 04:32:16 +02:00