summaryrefslogtreecommitdiffstats
path: root/src/org/codeaurora
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera: Move property to PersistUtilWeijie Wang2017-09-041-12/+7
| | | | | | Move property to PersistUtil Change-Id: I0735d8215ba302ef4c632d6a15ad95a04cd259a0
* SnapdragonCamera: Add vendor tag utilWeijie Wang2017-08-291-5/+5
| | | | | | Check if the tag is available before apply the settings Change-Id: Ic0242b8aa7711ad230f3aba9e30d5da61d188fe5
* SnapdragonCamera: Wrapper for QC APIweijiew2017-08-291-127/+0
| | | | | | | | | 1. Wrapper for Parameters 2. Wrapper for CameraInfo 3. Wrapper for CamcorderProfile 4. Wrapper for Camera 5. Wrapper for ExtendedFace Change-Id: I8c8605db3696bffc4d975c0bb6f74944ed23a6bd
* SnapdragonCamera: Rename property nameweijiew2017-07-071-6/+6
| | | | | | | | As app can't read property "persist.sys.camera.xxxx" with permission denied on Android O, so rename "persist.sys.camera.xxx" to "persist.vendor.camera.xxx" Change-Id: Ib2a3d193ca56b51ba1a4f3cea9cf933f8780e78c CRs-Fixed: 2027214
* Merge "SnapdragonCamera: Only support max picture size" into camera.lnx.2.0-devCamera Software Integration2017-05-111-1/+13
|\
| * SnapdragonCamera: Only support max picture sizeweijiew2017-05-051-1/+13
| | | | | | | | | | | | Only support max picture size Change-Id: Ia7739400029cc5a1db9d128f000a1482789dfd75
* | SnapdragonCamera: Update vendor tag struct of ScaleCropRotation dataweijiew2017-05-031-0/+7
|/ | | | | | | As HAL3 modify the struct of ScaleCropRotation data, SnapdrogonCamera should keep consistent. Change-Id: Ic6323897aad6a107a20e5913a1341f64946d3178
* SnapdragonCamera: FR40621 ClearSight/DDM integrateweijiew2017-03-085-44/+1060
| | | | | | | ClearSight/DDM, integrate Clear Sight in Camera Framework CRs-Fixed: 1108837 Change-Id: Ibde73b15c9361294eb2e0e05967763005a4546e0
* Merge "SnapdragonCamera: Wrapper for QC API" into camera.lnx.1.0-dev.1.0Linux Build Service Account2017-03-031-0/+127
|\
| * SnapdragonCamera: Wrapper for QC APIweijiew2017-02-241-0/+127
| | | | | | | | | | | | | | 1. Wrapper ExtendedFace Change-Id: I1dafce90a39dd664d5bcbaa3174e6b056397108f CRs-Fixed: 2011340
* | SnapdragonCamera: Dualcamera fix ImageReader reach maxImages exceptionqimengp2017-01-261-1/+1
|/ | | | | | | | When burst count set to 2, it will cause Image Reader reach max image, Since there is a CS YUV need to encode to JEPG. CRs-Fixed: 1110019 Change-Id: I4ded444d7ad3b398dee3b0c5a9c4ce93ddd28e8c
* SnapdragonCamera: Mainline Dualcamera ensure crop is always evenqimengp2017-01-221-0/+5
| | | | | | Mainline Dualcamera ensure crop is always even Change-Id: I43f84c1bd9a3b1adcd77a77641f9c868a9458066
* SnapdragonCamera: Dualcamera fix ReprocessingFrames mismatchqimengp2017-01-111-14/+24
| | | | | | | | | | | Since mReprocessingFrames use timestamp as index, when bayer and mono has the same timestamp, will cause index mismatch. Use two mReprocessingFrames to represent the B, M buffer, can fix this issue Change-Id: Iaf3171717158c1c405aa7a1e141c247897aaad7d CRs-Fixed: 1110019
* SnapdragonCamera: Fix Dualcamera does not compare the final pairqimengp2017-01-111-0/+11
| | | | | | | By comparing again to fix this issue. Change-Id: I437277580c3217fd1f013368d3315ee60adc5474 CRs-Fixed: 1110019
* SnapdragonCamera: Fix Dualcamera reprocess before capture timeoutqimengp2017-01-111-5/+14
| | | | | | | | | | When all of the reprocess result come before capture result, and no reprocess result after capture result anymore, will cause timeout. When all of common capture result come, and all the reprocesses have come, call checkReprocessDone() to trigger clearsightengine. Change-Id: I028de8444cd811c1400c64231a7fecf939ae5c40 CRs-Fixed: 1110019
* SnapdragonCamera:Fix FC cause by Null pointerqimengp2016-12-131-0/+6
| | | | | | | | | | When clearSight is failed, handleTimeout() is invoked to reset clearsight Engine, but ClearsightProcessHandler is still working and try to access null pointer object. By adding protect of null pointer can fix this issue. Change-Id: I4722721f3715077ec8303c4d14693ae4c1484420
* Merge "napdragonCamera:Modify Clear-sight match rules" into ↵Camera Software Integration2016-12-111-9/+18
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * napdragonCamera:Modify Clear-sight match rulesjunjiez2016-12-021-9/+18
| | | | | | | | | | | | | | | | | | In some scenarios, exposure time will be longer and cause the timestamps not matched.Compare both SOF and EOF, discard the image pair when both the differences are bigger than defined Change-Id: I8b67bea5836df42226d9f0a70ea4937d01e0a26b CRs-Fixed: 1084329
* | SnapdragonCamera:Fix IllegalStateException in reprocessjunjiez2016-11-281-0/+2
|/ | | | | | | | | | When clearSight is failed, handleTimeout() is invoked to release all the imges,but ClearsightProcessHandler is still working and try to access closed images, catch the exception to avoid crash. Change-Id: If9cf36f79f23f2a5e3b7efc4f5c0a2c1e36542b5 CRs-Fixed: 1094558
* SnapdragonCamera: Abort capture on failed reproc and timeoutJay Wang2016-09-281-45/+160
| | | | | | | | | Abort capture when encountering an idle period with no frame or result for 300ms. Abort capture when reprocess or encoding request fails. Fix type cast exception. CRs-Fixed: 1068511 Change-Id: Ie1fbd2a66107ab2daf54585642ba2ebdd88dd0ed
* SnapdragonCamera: Fix cropping issues with CS outputJay Wang2016-09-151-3/+12
| | | | | | | Fix cropping issues with CS output for scenes +6ft. CRs-Fixed: 1058843 Change-Id: I03f9dda175cbba2cdbb5ec1d4933136525feef4a
* SnapdragonCamera: Ensure smooth quit during cs processingJay Wang2016-09-151-35/+71
| | | | | | | | | | Ensure a smooth quit transition during Clearsight processing. Move image reader/writer disposal to after handler quit. Don't toast Clearsight success/fail until after all tasks are complete. CRs-Fixed: 1058833 Change-Id: I6cf6733051d1947ea65a003b9bacb9d575c6ef67
* SnapdragonCamera: support lower resolutions for ClearsightJay Wang2016-08-241-11/+114
| | | | | | | | | | Support different resolutions when capturing in Clearsight mode. Also downscale the mono image to 2MP resolution when bayer size is greater than 2MP. If bayer size is less than 2MP, mono size will match with bayer. CRs-Fixed: 1058843 Change-Id: I8f9ddd81dd640b4efc316dd9ff05c26f339396a5
* SnapdragonCamera: Rewind ByteBuffer before readingJay Wang2016-08-231-3/+9
| | | | | | | Rewind ByteBuffer objects before reading to ensure we start at beginning. CRs-Fixed: 1057799 Change-Id: I5effd7cac6606c286a8bfaa472229aaab66cda98
* SnapdragonCamera: Implement circular buffer for CSJay Wang2016-08-222-96/+113
| | | | | | | | | | Implement a buffer cache system for Clearsight registration. Pre-allocate required number of buffers and re-use. Remove loading bitmaps to CameraDataAdapter after capture as we no longer are using FilmStripView. CRs-Fixed: 1054487 Change-Id: I6af94b701efa85e8f3848b8c8e508bb688bc2f13
* SnapdragonCamera: Toss leftover frames if we reach quota earlyJay Wang2016-08-221-3/+34
| | | | | | | | If we reach required frame count before burst is finished, disregard remaining frames that come in. CRs-Fixed: 1054524 Change-Id: I6e28ac56d46aeb1298e2d4cdaf684b12e7498587
* SnapdragonCamera: Fix naming issue for frame dumpsJay Wang2016-08-181-16/+20
| | | | | | | | | | Due to switching registerImage to a parallel task, we ran into the issue of overwriting the previous frame with the current frame. Decouple numbering with registered status to avoid overwrites. Also add timestamp in ms to dump filenames. CRs-Fixed: 1054524 Change-Id: I8cc17989c4c72c8f9bed11c2b208df61583c8866
* SnapdragonCamera: Change default burst count for CS to 4Jay Wang2016-08-181-1/+1
| | | | | | | | | Change the default burst count for Clearsight to 4 frames each. This allows us to better guarantee to have 3 valid pairs. Also use 1 less than burst count for actual Clearsight process. CRs-Fixed: 993611, 1019859 Change-Id: I16a5fd1bc31092b5a91c70e637c7559b86b69b3d
* SnapdragonCamera: Split clearsight processImageJay Wang2016-08-181-224/+334
| | | | | | | | | | Split processImage routine into two using new Clearsight API. Unlock and allow user to capture new image after Clearsight finishes processing memory portion. Run the remaining processing in the background while user is allowed to capture new image. CRs-Fixed: 993611 Change-Id: I0213eb6904a9430d26dca681ed6fb653db3f571c
* SnapdragonCamera: Update Clearsight API calls for 2.8.2Jay Wang2016-08-182-30/+47
| | | | | | | | Update the Clearsight API Calls for version 2.8.2 which contains split processImage for better shot to shot performance. CRs-Fixed: 993611 Change-Id: I124cdf7c426ea3b0cfd10a31ce738188faf446c2
* Merge "SnapdragonCamera: Provide correct orientation when adding image" into ↵Linux Build Service Account2016-08-081-2/+9
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Provide correct orientation when adding imageJay Wang2016-07-261-2/+9
| | | | | | | | | | | | | | | | Read orientation from exif and provide to content provider when adding image. CRs-Fixed: 993611 Change-Id: Ic2079dd1b5e6bdb93f73b4084749b3cbc68b3f86
* | Merge "SnapdragonCamera: Set edge mode to high quality" into ↵Linux Build Service Account2016-08-081-0/+7
|\| | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Set edge mode to high qualityByunghun Jeon2016-07-261-0/+7
| | | | | | | | | | | | | | Force edge mode to high quality CRs-Fixed: 993611 Change-Id: I51bf69b681dbf58eb04412abad4ba9d067f40aa8
* | SnapdragonCamera: Update API call for clearsight lib upgrade.Jay Wang2016-07-261-3/+11
|/ | | | | | | Update processImage API call to coincide with lib upgrade. CRs-Fixed: 993611 Change-Id: Ie3be9b1a586dcc1e50da626f49349cab617ce27e
* SnapdragonCamera: add jpeg crop parrameter supportJay Wang2016-06-271-0/+10
| | | | | | | Add support for crop data when sending JPEG encode requests. CRs-Fixed: 993611 Change-Id: Icbd960160d651a3422c2b8530608fcd5dba97735
* SnapdragonCamera: Change file naming conventionJay Wang2016-06-062-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: Enable jpeg encoding via reprocessJay Wang2016-05-242-129/+355
| | | | | | | | | | 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
* SnapdragonCamera: add OTP calib data support and fix AE stateJay Wang2016-05-172-53/+251
| | | | | | | | | Add support to receive, parse, and send OTP calibration data from HAL to ClearSight library and add check for AE convergence state. CRs-Fixed: 993611 Change-Id: I52d6b71dc7bde4e08342afee7aa9d41bb9a4dde6
* SnapdragonCamera: refactor clearsight code and add persist flagsJay Wang2016-04-292-0/+999
Move out core ClearSight logic to ClearSightImageProcessor.java Move core ClearSight files to new package: org/codeaurora/snapcam/filter Add persist flags: timestamp difference threshold: persist.camera.cs.threshold burst shot count: persist.camera.cs.burstcount dump source frames: persist.camera.cs.dumpframes CRs-Fixed: 993611 Change-Id: Ic8953a72e8697e494c3ae342bebc70f60540474b