summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Merge "smdk4412-common: camera: don't defer picture if CAF is in progress" ↵Daniel Hillenbrand2014-01-042-13/+5
| |\ | | | | | | | | | into cm-11.0
| | * smdk4412-common: camera: don't defer picture if CAF is in progressDheeraj CVR2013-12-292-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CAF is considerably slower than Auto or Touch Focus and since we are deferring the picture while CAF is in progress, there are delays while taking the picture and these delays are sometimes huge. Disregard the CAF state since we could Touch to Focus if required. Change-Id: If981f6402cc97e0781060dc48fa7d8e44288168f
| * | smdk4412: Enable camera message managementSteve Kondik2014-01-031-0/+1
| | | | | | | | | | | | | | | | | | * Fixes the deadlocks seen with back-to-back shots Change-Id: I539b2618187fa4598556359f9dbce61f729cd909
| * | camera: Fix loss of focus mode between shotsRicardo Cerqueira2014-01-021-25/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | exynos_camera->focus_mode can't be relied upon to verify the previous state, since a snapshot will reset the focus state. This was causing any mode besides auto-focus (enum 0) to fail after the first photo was taken, including the default continuous-picture. Always make sure the focus-mode is up to date when set_params is called Change-Id: I8e6f52093ad897bcf04bc5047bb1fcd4f109dc55
| * Merge "init: Update wpa_supplicant service parameters" into cm-11.0Ricardo Cerqueira2013-12-211-3/+9
| |\
| | * init: Update wpa_supplicant service parametersthdDude2013-11-161-3/+9
| | | | | | | | | | | | | | | | | | This fixes WiFi for n7100. Change-Id: If9327ceb2cc81a1a19f0059089fe20c8ca317e1e
| * | Merge "smdk4412: update media_codecs for KK" into cm-11.0Ricardo Cerqueira2013-12-151-1/+3
| |\ \
| | * | smdk4412: update media_codecs for KKsbrissen2013-12-131-1/+3
| | | | | | | | | | | | | | | | Change-Id: Ic545a4514f6bb9a5b1efd540cc5ca1067b66f772
| * | | smdk4412-common: camera: squashed updates from cm-10.2Dheeraj CVR2013-12-144-300/+494
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | smdk4412-common: camera: fix EXIF attributes for S5C73M3 sensor S5C73M3 sensor which is the back camera, doesn't return the EXIF attributes using V4L2 IOCTL. This sensor interleaves YUV and JPEG frames along with Metadata which contains the EXIF information. This patch does the following: Manually extract the EXIF information from the interleaved metadata and implement ISO, Flash, Exposure, Exposure Time and Exposure Bias EXIF attributes for S5C73M3. Fix incorrect Exposure EXIF attribute that was reporting as 1'. Change-Id: Id9faa64af498645099cccc9cbf28f2dbdfecd254 smdk4412-common: camera: fix scene mode snapshot capture crashes Few Scene Modes (like Night, High Sensitivity) if set as default, after the camera opens, require the scene mode to be set when the stream is turned on inorder to properly take effect. Not doing so will result in crashes while trying to capture the snapshot. Change-Id: I9e6b67c59699495da6922ac737232f58d98c2b40 smdk4412-common: camera: reorganize camera parameters Few Scene modes require Flash and few don't. However all of the scene modes require the focus to be AUTO. Reorganize the camera parameters to set the Flash and Focus modes based on the scene mode. Changes adapted from Exynos5 Camera HAL. Change-Id: If3ab62a1d8aecf84d2a04d1e899f71d4315a66ea Conflicts: camera/exynos_camera.c smdk4412-common: camera: several fixes for autofocus Setting the AutoFocus off using V4L2_CID_CAMERA_SET_AUTO_FOCUS will reset the AF position of the sensor and this was done whenever autofocus was completed. This totally defeated the purpose of touch to focus since the sensor AF position was being reset after focus and had to be refocussed while taking the snapshot. This also led to several issues with third party applications since this kind of focus behaviour was not intended. S5C73M3 Back camera Interleaves YUV and JPEG along with metadata. This metadata contains the AutoFocus result. Hence we could parse the autofocus result instead of using V4L2 IOCTL, which is more efficient. Also, the sensor exhibits issues when AutoExposure and AutoWhite Balance locks are used with Flash ON. Improper locking could lead to freezing of the sensor while taking a snapshot. Hence, only lock AEAWB when flash is OFF and unlock them after AutoFocus finishes. Change-Id: Ief28005dcacd0f8f04990ef8eafebff4a2f109d5 smdk4412-common: camera: enable ZSL mode on front camera We are querying FIMC2 for the capture output and hence we have no reason to restart the preview to have the preview resolution match the capture resolution, which is not how Zero Shutter Lag works. We could have different resolutions for the preview and capture, hence don't stop the preview for resizing. Change-Id: Iaf2b4d0c51dbedb9516b7c3cdde09aa18cd95f73 smdk4412-common: camera: fix incorrect jpeg thumbnail height Change-Id: I139823883d91ddaa48e2516511539ff5fe150e25 smdk4412-common: camera: fix heap corruption Change-Id: I0111615b9d4552a7880598a83bc98060fa900b13 smdk4412-common: camera: include support for face detection Change-Id: I1d176bdf17abdcf0c593fceb01808348b87b75ce
| * | Bring back the SECONDARY_STORAGE variablemadmack2013-12-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This variable is a requirement in KK as newly introduced APIs such as Context.getExternalFilesDirs uses it to retrieve secondary storage locations on the device. Change-Id: I17708c93498da5979c5742cad32232a34490bf5f
| * | exynos_camera: update sports scene namemcampbellsmith2013-12-061-2/+2
| |/ | | | | | | | | | | | | The 'sports' scene mode has been renamed to 'action' scene mode to match the 4.4 camera configuration Change-Id: I1efcd57f137ee0d73f22ab20031832c7f283381c
| * Merge "smdk4412-common: init: remove duplicate socket contexts for wpa" into ↵Ricardo Cerqueira2013-11-141-2/+2
| |\ | | | | | | | | | cm-11.0
| | * smdk4412-common: init: remove duplicate socket contexts for wpaDheeraj CVR2013-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | Already set from the global file_contexts for /dev/socket/wpa_wlan[0-9], they have no effect here Change-Id: I7056ef311ee6636327a980f26b93f9fbfbd44b27
| * | smdk4412-common: fix camera crashUtkarshGupta2013-11-131-1/+1
| | | | | | | | | | | | | | | | | | This fixes the camera crash the first time it is launched Change-Id: Id4af8a4d02ddf7c049a69e261790f26165820fb2
| * | t0lte: fix camera crashingsbrissen2013-11-111-0/+1
| |/ | | | | | | Change-Id: I878b2594292bdb18a0a5d01ded8fc7059e3ba1df
| * Update vold setup for 4.4Ricardo Cerqueira2013-11-101-1/+11
| | | | | | | | Change-Id: I7c8646dc962cb15a7cc84ac4405db95d360be15f
| * Updates for 11.0Ricardo Cerqueira2013-11-064-9/+8
| | | | | | | | Change-Id: Ie3388de4e91262b7b8cd5c6949b9575e282baf1b
| * camera: Fix disabling locationRicardo Cerqueira2013-10-302-0/+12
| | | | | | | | | | | | | | | | | | | | | | If Camera.removeGpsData() is invoked from the userland API, we must invalidate the previously stored GPS data to prevent it from being saved in EXIF. Fixes the invalid storing of location data after an explicit disable Fixes android.hardware.cts.CameraTest#testJpegExif Change-Id: I9618a27ab9def974bac1d69871c3454300fb4c29
| * camera: Fix invalid parameter returnsRicardo Cerqueira2013-10-302-4/+24
| | | | | | | | | | | | | | | | | | | | | | The camera API expects invalid parameters not to return silently; They should throw an exception, and set the bad parameter(s) back to the last known good value. Fixes android.hardware.cts.CameraTest#testImmediateZoom and android.hardware.cts.CameraTest#testInvalidParameters Change-Id: I6556369322b7560b0bb35fca57366b42579effbd
| * camera: Fix various focus-related errorsRicardo Cerqueira2013-10-302-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | * Validate that the focus region is within legal boundaries * Reset the region to sane values if bad ones are given * Set a default empty region * If auto focus exists, it must be the default Fixes android.hardware.cts.CameraTest#testFocusAreas and android.hardware.cts.CameraTest#testParameters Change-Id: I3aafcccc2c6081ba44edb3283a850c55178fa90a
| * camera: Fix android.hardware.cts.CameraTest#testFaceDetectionRicardo Cerqueira2013-10-301-0/+7
| | | | | | | | | | | | junit.framework.AssertionFailedError: Should throw an exception if face detection is not supported. Change-Id: I2cf8d26e94c0943838db7300ab05b4c0172b15c1
| * camera: Block out endlessly looping focus clauseRicardo Cerqueira2013-10-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | capture_auto_focus_result isn't updated from any realtime focus callback, so waiting for it to change in order to complete the capture introduces delay, and in some cases an infinite loop. Remove the focus state verification, at least until such a callback can be put in place. Change-Id: If4c6815563cb63009e717ee65a0a8fb816cc813e
| * Treat all screenshots as going to a CPU consumerRicardo Cerqueira2013-10-261-1/+1
| | | | | | | | Change-Id: Iee55fa03d9602f31a3b7f4f188778c58e8ca0131
| * Get rid of the gfx buffer workaroundsRicardo Cerqueira2013-10-262-3/+1
| | | | | | | | | | | | Concurrent buffers are now working, we don't need this crap anymore Change-Id: I80c35bb67c41e9c61faeb6f3cd80d3e9033f9641
| * smdk4412: add AdvancedDisplayRicardo Cerqueira2013-10-2534-0/+1493
| | | | | | | | | | | | | | This partially reverts commit 006c95d4f0c75b9bdf3827856dc694d973464520, we want to reuse some of it Change-Id: I84dd929e4cd895d4c4d0d6a81d476eaa1bcc4a0b
| * Merge "smdk4x12-common: fix bt tether" into cm-10.2Ricardo Cerqueira2013-10-251-2/+2
| |\
| | * smdk4x12-common: fix bt tethersbrissen2013-10-251-2/+2
| | | | | | | | | | | | Change-Id: Ib19439e39ba767e57826722279faaed02046df2e
| * | smdk4412-common: Update torch overlaysJanson Kang2013-10-242-3/+3
| |/ | | | | | | Change-Id: I66f5fec4ce2cc8ca53642f5420d1f2356696c080
| * smdk4412: add new camera firmwaresDan Pasanen2013-10-171-0/+2
| | | | | | | | Change-Id: I2de717fbfbad81fc39e87540c8b4f8cebff015db
| * camera: Wait for continous focus to complete before taking a picturePaul Kocialkowski2013-10-081-0/+5
| | | | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Change-Id: I2aef0e3e413c9a8708fe1c87860beb287c844a1c
| * camera: Add AWB and AE lockJavier Ferrer2013-10-082-0/+78
| | | | | | | | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Change-Id: Idea7b7af7eb7adb4e02e6f527dda96e78f3e0f16
| * Revert "camera: Add AWB and AE lock"Paul Kocialkowski2013-10-082-72/+0
| | | | | | | | | | | | This reverts commit 7607d3d42484c80b5689e7cb0362bfbe40daf263. Change-Id: I6f222c23cff1526ec6c9d0b0ae874e5652d861cb
| * camera: Add AWB and AE lockJavier Ferrer2013-10-052-0/+72
| | | | | | | | Change-Id: I5ac305414a4d1af61fe4434fc89e794121196bdf
| * Merge "camera: add image-stabilization parameter" into cm-10.2Daniel Hillenbrand2013-09-212-0/+36
| |\
| | * camera: add image-stabilization parameterJavier Ferrer2013-09-202-0/+36
| | | | | | | | | | | | | | | | | | Focal will find it and will enable it before taking shot, disabling it after the shot is taken. Change-Id: I476f2d13e6662f211d395d432c855d70ba53d61f
| * | Merge "smdk4412-common: remove i925 from camera Android.mk" into cm-10.2Daniel Hillenbrand2013-09-211-1/+1
| |\ \
| | * | smdk4412-common: remove i925 from camera Android.mksbrissen2013-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | i925 note 10.1 lte uses a different back cam sensor. Change-Id: Ic03a9b3ef34c9325523a685f2e23cb1da18b31b7
| * | | Merge "smdk4412: add netflix hack" into cm-10.2Daniel Hillenbrand2013-09-192-0/+10
| |\ \ \ | | |_|/ | |/| |
| | * | smdk4412: add netflix hackRicardo Cerqueira2013-09-022-0/+10
| | | | | | | | | | | | | | | | Change-Id: Ia18e9c02539697dac093d1ce5c4d0b8bb0b3f38f
| * | | camera: improve taking shot with focal on low light conditionsJavier Ferrer2013-09-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I have taken borrowed the scene mode "high-sensitivity" for this purpose. Maybe can we find a better scene mode for it in the future. Change-Id: I3e7379a7b8e8e0f982f2dc125174dd30617d39ed
| * | | camera: auto antibandingJavier Ferrer2013-09-091-2/+2
| | |/ | |/| | | | | | | | | | | | | Add 60 Hz and auto antibanding, with "auto" as default. Change-Id: I460524f70afe0ac0aa0bf4c0be9a81acc4dbbb94
| * | smdk4412: require vendorDaniel Hillenbrand2013-09-071-2/+2
| | | | | | | | | | | | Change-Id: Idca65628efac769225b75e3873cd9f9169d59d64
| * | camera: Fix camera crashing when bashing shutterXpLoDWilD2013-09-061-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents the picture thread from being restarted or freezing when it is already started, or when auto-focus is being done. Prevents gallery crash. Change-Id: Ib540f2a47423778b45dfc8df440e33b2ac254ae8
| * | smdk4412: camera: update headersDaniel Hillenbrand2013-09-042-32/+714
| |/ | | | | | | Change-Id: Ia1cf27dc04e3468e10041d91d7d9f60a04e6c32b
| * smdk4412: add opensource camera halPaul Kocialkowski2013-09-0123-606/+14090
| | | | | | | | Change-Id: Icb555cc6158247c32a6feb5d846bcf4d727749af
| * smdk4412: update proprietary files scriptDaniel Hillenbrand2013-09-011-0/+1
| | | | | | | | Change-Id: I17ccde9ead0f53ee78e951a525e29501e1bcc65b
| * smdk4412: Use the USB audio HAL for external devicesSteve Kondik2013-08-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * I recently fixed several issues in the usbaudio HAL, making it able to handle arbitrary audio devices connected via OTG. * Point the dock outputs to the correct place in order to get audio. ** Due to a broken transaction translator in the USB hardware (yay Exynos4), you may need to connect certain devices thru a powered USB 2.0 hub in order for them to work. Change-Id: I326d257090a1b59293ccbacac26c106e72ce6ee7
| * hwui: Disable partial invalidationsRicardo Cerqueira2013-08-291-1/+1
| | | | | | | | | | | | | | The property to disable usage of dirty regions has changed, adjust to the current one to fully disable them. Change-Id: Iabe4d57a4f6ccd99ae7cae798c7dce76a02580cd
| * smdk4412: add focal overlayDaniel Hillenbrand2013-08-261-0/+27
| | | | | | | | Change-Id: I9e2753ae335460615e024a8b21d2aa2053f90d00
| * smdk4412-common: Enable home button wake setting && Remove unnecessary ↵Andrew Jiang2013-08-222-0/+3
| | | | | | | | | | | | | | | | | | | | wallpaper overlay Seriously, how did that wallpaper even get there. Patch Set 2: Fix ub0r derp. Change-Id: I51e0ee362a05ae61535e1530ef291da28861015a