summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Provide correct orientation when adding imageJay Wang2016-08-212-5/+23
| | | | | | | | Read orientation from exif and provide to content provider when adding image. CRs-Fixed: 993611 Change-Id: Ic2079dd1b5e6bdb93f73b4084749b3cbc68b3f86
* SnapdragonCamera: Set edge mode to high qualityByunghun Jeon2016-08-211-0/+7
| | | | | | | Force edge mode to high quality CRs-Fixed: 993611 Change-Id: I51bf69b681dbf58eb04412abad4ba9d067f40aa8
* SnapdragonCamera: Saving MPO and DDM without CSJay Wang2016-08-213-15/+114
| | | | | | | Saving MPO and DDM without CS CRs-Fixed: 993611 Change-Id: Ie04bce460c57454b4cf57c88b47ef2a495b6e078
* SnapdragonCamera: Add system property to set EIS supported rateJay Wang2016-08-211-1/+10
| | | | | | | | By default, EIS is enabled with FPS <= 30. The maximum FPS can be changed by setting persist.camcorder.eis.maxfps Change-Id: I46ee1eee8121de0b5e5b1125b45d3a5f1a036461 CRs-Fixed: 1043548
* SnapdragonCamera: Update API call for clearsight lib upgrade.Jay Wang2016-08-211-3/+11
| | | | | | | Update processImage API call to coincide with lib upgrade. CRs-Fixed: 993611 Change-Id: Ie3be9b1a586dcc1e50da626f49349cab617ce27e
* SnapdragonCamera: Synchronize af & ae states before capturingJay Wang2016-08-211-4/+22
| | | | | | | | | | When in dual camera mode, synchronize AF and AE states between the two cameras before issuing capture requests. This allows capture requests to be issued simultaneously and achieves better temporal matching. CRs-Fixed: 993611 Change-Id: I097eae6b95153eefebeed3b22e02d4f4e56d565e
* SnapdragonCamera: When mono preview hidden, don't set repeating requestJay Wang2016-08-211-10/+42
| | | | | | | | Don't set a repeating request for mono preview when mono preview option is set to off in dual camera mode. CRs-Fixed: 993611 Change-Id: I615483a8ed24689692136e9e2007f19898db5a24
* SnapdragonCamera: Fix the SDCard can not access after format SDCard.qimengp2016-08-211-9/+34
| | | | | | | | | | | Camera app hold SDCard state(SDCard ID). in some case, such as format SDCard, will caues SDCard remounted and SDCard ID changed in system. But camera app does not sync the ID with System, so can not access SDCard. By adding observer and sync SDCard state with system, can fix this issue. CRs-Fixed: 1006496 Change-Id: Id35564ae77944546a26332a412744e9735780560
* SnapdragonCamera: Fix race condition when opening camerasJay Wang2016-08-211-27/+35
| | | | | | | | Fix race condition between surface ready and camera opened that was causing createSession to be called twice for same device. CRs-Fixed: 1019361 Change-Id: Ieb62b394f1cf83cc83e2b9e290ce6758e2ade377
* SnapdragonCamera: Use resume/start based on the SDK versionUma Mehta2016-08-211-1/+14
| | | | | | | | For camcorder to resume after pause use mediarecorder's resume() API in N and later versions and for the rest of older versions call start() API Change-Id: I01e761215c31e03c87b98149f13cd5c3f2482d05
* SnapdragonCamera: Remove accessing to dialog stringsJay Wang2016-08-211-2/+2
| | | | | | | | | | Accessing to translatable strings can lead to unexpected behavior when non-English is selected as system language. Making change to remove any accessing to translatable strings. Change-Id: I687abdff984bf0e5680c34861fac8c1271b88ead CRs-Fixed: 993382
* camera2: More fixesSteve Kondik2016-08-214-24/+17
| | | | Change-Id: Ic1d125657efc96d71b5d7bd9e4e29c362fb600f8
* SnapdragonCamera: Add face detection icon to videoJay Wang2016-08-213-2/+133
| | | | | | | Add video face detection to developer option CRs-Fixed: 978207 Change-Id: I9308573a5a1004fc3803a955bc96f495ecbfc6c7
* SnapdragonCamera: Fix flickering Video previewByunghun Jeon2016-08-212-1/+3
| | | | | | | Fix flickering Video preview when pause/resuming Change-Id: I7e20cfdc06fc940f4fc96f408ce6ab570b0d8e64 CRs-Fixed: 971394
* camera2: Fix merge issuesSteve Kondik2016-08-2110-141/+45
| | | | Change-Id: I9b55bcaaa03e598e57325f45e80ee8493029edf1
* SnapdragonCamera: Add noise reduction modes.Camera Software Integration2016-08-213-0/+56
| | | | | | - Add menu for noise reduction modes Change-Id: Ie5cd6590e08938fb8fbb668ac1b48aac5fe801c3
* SnapdragonCamera: Moving Image Stabilization option to the menuCamera Software Integration2016-08-213-1/+27
| | | | | | | Moving Image Stabilization option to the menu Change-Id: I7fb025a3d1909af436e7a52ee9d602b2ce2dc68b CRs-Fixed: 937237
* SnapdragonCamera: Allow take snapshot while recording videoByunghun Jeon2016-08-213-28/+149
| | | | | | | | Allow take snapshot while recording video by showing shutter button. Directly call capture when shutter button is pressed. Change-Id: Iae4d42d8878ea82b459ec67709b0ad8e340c8226 CRs-Fixed: 1028463
* SnapdragonCamera: Fix pause while taking continuous shotByunghun Jeon2016-08-211-0/+8
| | | | | | | | | When pause/resuming initialize to proper state so that when paused/resumed while taking picture, it would not result in a bad state Change-Id: I597aa96b930cdb855c83d2f433470c23ab9cfa37 CRs-Fixed: 1025804
* SnapdragonCamera: Add face detection to camera2Byunghun Jeon2016-08-215-75/+359
| | | | | | | | Add face detection to camera2. Receive face data from camera2 and use faceView UI to draw it Change-Id: Id9c49ab6dd73de316398c57981cc0b9df0400b45 CRs-Fixed: 1025797
* SnapdragonCamera: Use json file to read setting dependencyByunghun Jeon2016-08-211-187/+122
| | | | | | | Instead of writing the dependency in java, read the dependency from json file Change-Id: I5a46d35b66a289e2a3ee8b72d0059fd9929891f2
* SnapdragonCamera: Add video to Camera2 moduleByunghun Jeon2016-08-217-35/+936
| | | | | | Add video to Camera2 module and combine the UI Change-Id: I0bcd86eb6b95fe2180856780ddd794682259e799
* SnapdragonCamera: add jpeg crop parrameter supportJay Wang2016-08-212-0/+16
| | | | | | | Add support for crop data when sending JPEG encode requests. CRs-Fixed: 993611 Change-Id: Icbd960160d651a3422c2b8530608fcd5dba97735
* SnapdragonCamera: read jpeg quality from settings before setting.Jay Wang2016-08-211-3/+3
| | | | | | | | Make sure to apply up to date jpeg quality value from SettingsManager before applying to capture request. CRs-Fixed: 993611 Change-Id: Ia335ba346f433f3b05a62676e742ab5a72b8389a
* SnapdragonCamera: Reorder logic when closing camerasJay Wang2016-08-211-30/+34
| | | | | | | | Re-order calls to unlink all cameras and close sessions before closing any devices. CRs-Fixed: 993611 Change-Id: I0e753a5286799ff59637333cc00231c96709a3e7
* SnapdragonCamera: Add touchAE to camera2Byunghun Jeon2016-08-212-24/+79
| | | | | | | | | Add touchAE to camera by setting AE_Region. It uses the same logic as touchAF to calculate the region. Also fixed the region calculation of AF. Change-Id: Id83f3bd3042d41e2a36c18eb30e476ff1a66dfae CRs-Fixed: 1025759
* SnapdragonCamera: fix front back camera toggle crashJay Wang2016-08-212-7/+36
| | | | | | | | | | | - Fix logic when switching camera id from front to back in dual camera setup. - Only init Clearsight once. - Wait for second surface for aux camera to become ready before attempting to create session. CRs-Fixed: 993611 Change-Id: Icec4af06535f29bc75790b1d57eed212f7a86727
* SnapdragonCamera: skip dual cam crop info in clearsight imgJay Wang2016-08-211-9/+89
| | | | | | | Remove dual cam crop info in Clearsight images. CRs-Fixed: 993611 Change-Id: I9ef6d7b4b5881119bd232648c575c378e8ef9c7d
* SnapdragonCamera: Fix the camera setting corruption issueJay Wang2016-08-214-7/+33
| | | | | | | | | | | | Two instances of camera preference were created and caused the wrong preference instance is referenced when changing the camera2 mode. Due to this, it corrupted the camera setting on the other camera device. To resolve the issue, create single instance of camera preference and re-use it. Change-Id: Ia1a6923a10b83e4c5777fb1318677c1f191942fb CRs-fixed: 1025776
* SnapdragonCamera: Fix timing of preference initializationByunghun Jeon2016-08-213-10/+19
| | | | | | | Initialize preference before making the views visible. Change-Id: Ie3d541c7fcb29ed86e0e9fd52a1a1e4ea870f009 CRs-Fixed: 982842
* SnapdragonCamera: Fix slow zooming issueJay Wang2016-08-211-5/+3
| | | | | | | | | Zoom range calculation didn't give enough precision and caused non-smooth zooming experience. Make the change to keep the full fractional digits. Change-Id: Ib72707e451ea7c4e375d489d183265592622ce0b CRs-Fixed: 1025788
* SnapdragonCamera: Multiple fixes in SettingManagerJay Wang2016-08-212-4/+21
| | | | | | | | | | | | | - Setting manager instance was not destroyed when camera activity onDestroy is called and a new instance is created again when onCreate is called. Make change to destroy the setting manager during onDestroy. - Include high resolution picture sizes to the picture size list Change-Id: Id6cb52da1419f7e723304236b5d2c204d217398c CRs-Fixed: 1025845, 1025789
* SnapdragonCamera: Fix picture saved when no sdcard insertedByunghun Jeon2016-08-211-0/+6
| | | | | | | | | Fix picture being saved when save path is set to sdcard but no sdcard present. In this case, picture should not be saved Check this before taking a picture Change-Id: I7313d67f2f5c489c2db230b8ae165b89ecfbc4c6 CRs-Fixed: 1025784
* SnapdragonCamera: Filter duplicate picture resolutionByunghun Jeon2016-08-212-1/+2
| | | | | | | | | Filter picture resolution with duplicate name. There can be 2 different picture resolutions with the same name. Take only the first one. Change-Id: I9a472d958b829d3dce9559d4fcacb5d0dfd3e598 CRs-Fixed: 1025767
* SnapdragonCamera: Fix picture orientationByunghun Jeon2016-08-211-3/+1
| | | | | | | | | | Fix picture orientation when device is in landscape. We need to use mOrientation for calculating proper orientation for jpeg because this field contains the right orientation information (portrait/landscape) Change-Id: I25137265c1037a6121e0e89828b78dd4bc1c35d4 CRs-Fixed: 1018118
* SnapdragonCamera: Add redeye reductionByunghun Jeon2016-08-213-1/+22
| | | | | | | Add redeye reduction to Camera2 Change-Id: Iae4beb9287a0a927330ba987238fac6a2dae058e CRs-Fixed: 1018118
* SnapdragonCamera: Fix initial camera idByunghun Jeon2016-08-213-8/+11
| | | | | | | | Fix initial camera id to proper value. Previously it was always using 0 as initial id Change-Id: Ifc8d63ba2bccb4afcc25445d6713e28732e7deb4 CRs-Fixed: 1018118
* SnapdragonCamera: Fix savepath set to SD card crashByunghun Jeon2016-08-211-5/+21
| | | | | | | | | | | | Fix crash issue when fix savepath is set to SD card and the app is restarted. This is due to not updating storage information. When the module starts up, we need to call storage update so that it will set to proper initial value, not causing crash. Also only update focus UI when AF state is not null. Change-Id: I1a3e444b42eb988ed622d047b1f3dc42bec7a119 CRs-Fixed: 1018118
* SnapdragonCamera: Sharpshooter post filterJack Yoo2016-08-217-30/+276
| | | | | | | Adding Sharpshooter post process filter Change-Id: I8f3c1962db437e7dfbe2973f806a3f9a26480eb7 CRs-Fixed: 1023183
* SnapdragonCamera: Change file naming conventionJay Wang2016-08-212-41/+40
| | | | | | | | | | Change logic to generate common file name to be used for all dumped frames. Decouple YUV and JPEG dump set props so that they can be toggled independently. CRs-Fixed: 993611 Change-Id: I3e985e2fe55e116529929e36fb26c3760f47a536
* SnapdragonCamera: FrameProcessorJack Yoo2016-08-216-27/+638
| | | | | | | Introducing Frameprocessor with beautifiation. Change-Id: Ie6d8f4157a7d0c1a21e6f347457e84685e397286 CRs-Fixed: 1023183
* SnapdragonCamera: PostProcessor and OptizoomJack Yoo2016-08-215-27/+799
| | | | | | | Introducing PostProcessor with Optizoom filter Change-Id: Ib9ac6d4a9526be3a5163d02e298ed783daad48c1 CRs-Fixed: 1023183
* SnapdragonCamera: Fix front camera and scene mode picture taking issuesByunghun Jeon2016-08-213-15/+59
| | | | | | | | | | | Fix front camera picture taking issues. Fix scene mode picture taking issues. For both front camera and scene mode issue, focus state was not updating properly so it was stuck waiting for focus to finish. So added another logic to check such case and continue to next step. Change-Id: I99d2164a77cc2903f3df50c7ff9478e718b112c0 CRs-Fixed: 1018118
* SnapdragonCamera: Show popup and close when createSession failsByunghun Jeon2016-08-212-40/+59
| | | | | | | | Show popup and close the app when createSession fails. Also modify camera mode related function names. Change-Id: I859af7f0a4e9be86fc8599ff0c3778e5f52f6d0b CRs-Fixed: 1018118
* SnapdragonCamera: Fix clearsight session creation and flashByunghun Jeon2016-08-211-7/+34
| | | | | | | | Fixed flash by waiting for proper AE update result. Fixed clearsight session creation by reducing preview size. Change-Id: I17563bb1b8c107696fc7272bdc21796bb6dfddef CRs-Fixed: 1018118
* SnapdragonCamera: Update settingsManager and add Dual mode to Scene modeByunghun Jeon2016-08-219-283/+526
| | | | | | | Update settingsManager and add Dual mode to Scene mode Change-Id: I508430840c3fb8c7d0b56a2a63e09b271754fcb4 CRs-Fixed: 1018118
* SnapdragonCamera: Add continuous shot and count downByunghun Jeon2016-08-213-34/+352
| | | | | | | Add continous shot and count down to CaptureModule Change-Id: I986302201f742d7671a67c26953eecc2a0276294 CRs-Fixed: 1018118
* SnapdragonCamera: Add ISO and exposureByunghun Jeon2016-08-213-0/+92
| | | | | | | Add ISO and exposure to CaptureModule Change-Id: If6f3c142bcfbbcc049c10d7be2fe5a4c86d31fe6 CRs-Fixed: 1018118
* SnapdragonCamera: Add SettingsManager, scene, and filterByunghun Jeon2016-08-2119-1490/+2067
| | | | | | | | | | | Add SettingsManager to work as a database for settings. It will handle all dependencies and populate the values. Add scene mode and filter. Restructure UI and menu by combining them and leave the handling of settings to SettingsManager Change-Id: I185163fdddbffd29434e6a9c41b33be6d3388f88 CRs-Fixed: 1018118
* SnapdragonCamera: Enable jpeg encoding via reprocessJay Wang2016-08-214-211/+387
| | | | | | | | | | Enable JPEG encoding via reprocess request for ClearSight routine. Add support for dumping images in NV21 format using persist.camera.cs.dumpyuv CRs-Fixed: 993611 Change-Id: I51ff59ec45bb37059a16197186a9f90bc52554f1