summaryrefslogtreecommitdiff
path: root/src/com/android/camera/imageprocessor
Commit message (Collapse)AuthorAgeFilesLines
* SnapdragonCamera:reduce memory costjunjiez2018-09-112-69/+49
| | | | | | | | | | | | 1.limit max preview size to 1080p 2.set max image count of ImageReader to 3. 3.Clear ZSL Queue when start recording. 4.use repeatingBurst instead of repeatingRequest. 5.set ZSL queue size to 3. 6.set ZSL snapshot to 15fps. 7.remove ZslFalloff queue. Change-Id: I87ebec71d5b85b3e5f12a61c5898e43e6e184d61
* Change CDS mode value to 0zhuw2018-07-021-1/+1
| | | | | | set CDS mode to 0(OFF) from APP side Change-Id: Ie9b1ab17376db6385e0c868c5bd4a704348f4509
* SDCamera: Fix thumbnail is black when filter enabledzhuw2018-05-231-0/+6
| | | | | | start mediaRecorder after progressing image is available Change-Id: Icb2b07a367f2f35e2d7d902d98919735736932bc
* SnapdragonCamera:Fix detach imagejunjiez2018-04-101-0/+4
| | | | | | | | | | Sometimes when queueInputImage in reprocess, the owner of the image buffer is changed,and detachImage will fail then cause RuntimeException, change it to IllegalStateException to avoid FC Change-Id: I258939e35f36139e261e6ea5cd71df0861b8f081 CRs-Fixed: 2201296
* Read vendor tag to give pure blob request in W+T mode.zhuw2018-03-281-2/+17
| | | | | | don't send inputbuffer when state is true Change-Id: Id38d3e4eec7c7f3652c6664278965af7616fd314
* Snapdragon: Add bokeh enable options in devzhuw2018-01-031-0/+2
| | | | | | | | | | add bokeh enable options in dev. value: true->enable false->disable blur->enter int value Change-Id: I4e69a5371b60ce55dee2468634b1e14956811f22 CRs-Fixed: 2164757
* SnapdragonCamera: Complete the function of QCFAxianming wang2017-09-071-2/+5
| | | | | | | | Add support for quadraCFA in HAL3, and Complete the function of QCFA. CRs-Fixed: 2104228 Change-Id: I5ae17d1af3fc433402d0f183c48baf7488768328
* SnapdragonCamera: Add ZSL in HAL modeWeijie Wang2017-07-251-1/+1
| | | | | | Add ZSL in HAL mode Change-Id: Ifa803c970cfc559723e3599821b74cc8584782a2
* SnapdragonCamera: Move property to PersistUtilWeijie Wang2017-07-211-4/+2
| | | | | | Move property to PersistUtil Change-Id: I0735d8215ba302ef4c632d6a15ad95a04cd259a0
* SnapdragonCamera: Add vendor tag utilWeijie Wang2017-07-131-6/+6
| | | | | | Check if the tag is available before apply the settings Change-Id: Ic0242b8aa7711ad230f3aba9e30d5da61d188fe5
* SnapdragonCamera: Increase the recognition rate of face beautymingwax2017-06-091-2/+10
| | | | | | | | Make up should get faces change from onCaptureProgressed to onCaptureCompleted, in order to ensure the faces assignment success. CRs-Fixed: 2058878 Change-Id: I9c4c34568199d1fb537d339da16b688fcac3a751
* SnapdragonCamera: Selfie Mirror didn't work when 3rd-party app callweijiew2017-05-261-4/+8
| | | | | | | RootCause: image is mirror twice when 3rd-party app call. Change-Id: I49cabbbc21983f2a18fa6d1416133d47fe60b34f CRs-Fixed: 2052668
* Merge tag 'camera.lnx.2.0-00010' into camera.lnx.3.0-devCamera Software Integration2017-05-082-1/+12
|\ | | | | | | | | | | Merge tag 'camera.lnx.2.0-00010' into camera.lnx.3.0-dev Change-Id: I7e8e12e01f16093e1bda744de511c29e1ec26570
| * SnapdragonCamera: add method nativeConfigureStillmoremingwax2017-04-241-1/+11
| | | | | | | | | | | | | | | | | | | | (1) Add the method nativeConfigureStillMore, and can set the parameter: brColor、brIntensity、smoothingIntensity. (2) Add custom properties to control some of the parameters of stillmore. CRs-Fixed: 2013253 Change-Id: I62871f7d27f8f8c16514378bd06e945099c677e5
| * Merge "Snapdragon: Add ZSL to Dev option" into camera.lnx.1.0-dev.1.0Linux Build Service Account2017-03-291-0/+1
| |\
| | * Snapdragon: Add ZSL to Dev optionjunjiez2017-03-241-0/+1
| | | | | | | | | | | | | | | | | | | | | Add ZSL option to develop options, when it's disabled , restart sessions and turn on ZSL Change-Id: I7a3bc2236d0bedb37cf1923763407fd4ab8ec8bd
* | | SnapdragonCamera: Rename property nameweijiew2017-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | As app can't read property "persist.camera.xxxx" with permission denied on Android O, so rename "persist.camera.xxx" to "persist.sys.camera.xxx" Change-Id: I808a96919a039916c9274dcf01b9ff174e096326 CRs-Fixed: 2027214
* | | SnapdragonCamera: Fix image quality of ChromaFlashjunjiez2017-04-111-5/+55
|/ / | | | | | | | | | | | | When start to take picture with flash on, keep capturing until AeState becomes right. Change-Id: Id34166d44f444ddd44156921aae4c9add2efbc55
* / SnapdragonCamera: Add playsound when select UbiFocus filtermingwax2017-03-141-0/+3
|/ | | | | | | | Add playsound when the user select the UbiFocus Filter, capture 5 pictures and playing 5 sounds. CRs-Fixed: 1096849 Change-Id: I0fa0f824d0befd9850a89e6d5cc93303dbb992f3
* Snapdragon: Add auto HDR to Dev optionjunjiez2017-03-021-0/+2
| | | | | | | | When auto HDR is enabled, disable ZSL, and if scene is auto, get isHdrScene from HAL and if HAL return true, apply HDS scene mode. Change-Id: Iac4eef5bf9266ba9ed4779a3b59a93a6ae3eac72
* SnapdragonCamera: Fix a green line in BestPicture and Ubifocusmingwax2017-02-2212-94/+122
| | | | | | | | When mStride > mWidth, use the whole yuv bytebuffer to save JPG. Add properties to control whether to print log. CRs-Fixed: 1101620 Change-Id: I18cd27de8be542fc9440be6071ee55149b598ac5
* SnapdragonCamera: Fix HDR+nHDR generates dark imagesjunjiez2017-01-191-0/+2
| | | | | | | | When enable HDR+nHDR, need to restart sessions to make it work and disable ZSL when HDR is enabled. Change-Id: Idb78ff8e033df7bc9ef607ad4520ee8234203e95 CRs-Fixed: 1109804
* Merge "SnapdragonCamera: Fix Can't choose BestPicture when the screen were ↵Camera Software Integration2017-01-171-1/+5
|\ | | | | | | locked" into camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix Can't choose BestPicture when the screen were lockedpezhan2017-01-111-1/+5
| | | | | | | | | | | | | | | | | | | | When enter the bestpictureActivity, the keyguard will cover this activity. Add flags if it's SecureCamera, when enter bestpictureActivity, the keyguard will dismiss. BestpictureActivity will display normally. Change-Id: I9e9e2bfd3c03a66d131048c0ebaa2e54c14787d8 CRs-Fixed: 1108275
* | Merge "SnapdragonCamera: Dualcamera mode disable ZSL" into ↵Camera Software Integration2017-01-171-1/+2
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Dualcamera mode disable ZSLqimengp2017-01-111-1/+2
| |/ | | | | | | | | | | | | Dualcamera mode disable ZSL Change-Id: Ia834bfcec69bba0965757ccf401d1cccacf06a29 CRs-Fixed: 1110019
* / SnapdragonCamera:Add Raw capture to developer optionjunjiez2017-01-062-30/+131
|/ | | | | | | | Add raving as Raw option to the developer options, and save both JPEG and RAW data when it't turned on Change-Id: Id2462d0bacc3f2acdf3610b2ca8054079dc40b85 CRs-Fixed: 1087490
* Merge "SnapdragonCamera: Fix photo reversed when enable Selfie Mirror" into ↵Linux Build Service Account2017-01-051-1/+9
|\ | | | | | | camera.lnx.1.0-dev.1.0
| * SnapdragonCamera: Fix photo reversed when enable Selfie Mirrormingwax2016-12-291-1/+9
| | | | | | | | | | | | | | | | | | | | When enable Selfie Mirror, horizontal screen mode should be seted the value of isVertical is false, vertical screen mode should be seted the value of isVertical is true, to ensure the picture direction is right. CRs-Fixed: 1106132 Change-Id: I88ff293e425c559dc32a70bc56801a5ccf5f7041
* | Merge "SnapdragonCamera: Add features to developer option" into ↵Linux Build Service Account2017-01-051-1/+2
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: Add features to developer optionweijiew2016-12-231-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | Description: 1、Add Histogram support to developer option 2、Add HDR & Non-HDR support to developer option 3、Add Saturation Level support to developer option 4、Add Anti Banding support to developer option Change-Id: I2db7e1be65a6b3ee04ebc46cb214dc1cc9667fc6 CRs-Fixed: 1103649
* | Merge "SnapdragonCamera: add features for 3rd-party apps" into ↵Linux Build Service Account2017-01-052-5/+29
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera: add features for 3rd-party appsjunjiez2016-12-272-5/+29
| |/ | | | | | | | | | | | | Add capture and recording features for 3rd-party app. Change-Id: Iefedbed2cb17cca17941e70f861448a2b8f97da2 CRs-Fixed: 1095457
* | Merge "SnapdragonCamera:Improve camera app's robustness" into ↵Linux Build Service Account2017-01-051-29/+12
|\ \ | | | | | | | | | camera.lnx.1.0-dev.1.0
| * | SnapdragonCamera:Improve camera app's robustnessjianhuac2016-12-301-29/+12
| |/ | | | | | | | | | | | | | | We just load RenderScript engine once when initialize CaptureModule and destory it when destory CaptureModule, instead of load-destory engine by muti-thread when open-close camera device. Change-Id: I76f9e5f99061fb1557624ab683c37837ae1414f7
* / SnapdragonCamera: Fix ANR caused by deadlockjuwei2016-12-211-21/+24
|/ | | | | | | | | Main thread first hold lock, then join another thread which also need the same lock, hence these two thread all block. The lock which main thread hold is not necessary, delete it. Change-Id: I9119275e34b48bf0d0caed6a55d330374b986b81 CRs-Fixed: 1103243
* SnapdragonCamera:Fix front camera preview flippedjunjiez2016-12-131-0/+3
| | | | | | | | Modidfy render script to implement new flip way according to the front camera mounting position. Change-Id: I5681447aa17c0499bcb7dc47eef6d4793ee68818 CRs-Fixed: 1097179
* SnapdragonCamera:Fix preview is flipped on 8996junjiez2016-11-291-3/+6
| | | | | | | | Modidfy render script to implement flip another way not 90 according to the camera mounting position. Change-Id: Id6b305fd2b00bc4193f1ba73d4253794e04ee3a6 CRs-Fixed: 1087483
* SnapdragonCamera: Continuous shot to YUVJack Yoo2016-11-092-117/+231
| | | | | | | Change continuous shot to YUV with ZSL Change-Id: If69d58456a17fa4181cf58f9660c0c6d033c4938 CRs-Fixed: 1083651
* SnapdragonCamera: Blurbuster filterJack Yoo2016-10-202-1/+171
| | | | | | | Adding blurbuster filter to the post processor Change-Id: I2958a2b1b0df834c4cb5b921e49d21d2e20c8377 CRs-Fixed: 1080317
* SnapdragonCamera: PanoramaUI and filter changeJack Yoo2016-10-203-20/+80
| | | | | | | | | | 1. Adjusting Panorama UI 2. Adjusting Chormaflash filter 3. Changing Ubifocus focus timeout value 4. ZSL Flash mode change Change-Id: Ia46fdc827cd5529a8b7c6f5cfafc44bb3cf00d06 CRs-Fixed: 1080317
* SnapdragonCamera: frame capture pathJack Yoo2016-10-134-162/+342
| | | | | | | | | | | Frame the path for each capture. 1. ZSL image -> YUV reprocess -> filters -> framework jpeg encoding 2. Non-ZSL -> filters -> framework jpeg encoding 3. Optimizing bestpicture filter image saving 4. Adjusting roi according to the mirror Change-Id: I8989ec57beec3420e6f4311dff951af0a84f5ba9 CRs-Fixed: 1071798
* SnapdragonCamera: SelfieMirror Camera2Jack Yoo2016-10-133-13/+31
| | | | | | | SelfieMirror filter for camera2. Change-Id: Id5fda369a56421199a8c2537491608b8667fb77e CRs-Fixed: 1071798
* SnapdragonCamera: Enhancing makeup UIJack Yoo2016-10-131-1/+13
| | | | | | | Improvising makeup user experience. Change-Id: I744775711e3cd9bc0a14a47ca82e26eecc68bb6d CRs-Fixed: 1071798
* SnapdragonCamera: Makeup featureJack Yoo2016-09-273-5/+20
| | | | | | | Makeup feature for camera preview and video Change-Id: Ia8cdb629372333c9dceef8aa474402553b7259f0 CRs-Fixed: 1067848
* SnapdrgaonCamera: Putting TrackingFocus jni hookJack Yoo2016-09-271-11/+17
| | | | | | | | Adding tracking focus jni library loading part and touch event Change-Id: Ic570a09a0d93eb4b81e52334ba4a1bee2b67cb12 CRs-Fixed: 1067848
* SnapdragonCamera: Chromaflash FilterJack Yoo2016-09-272-1/+200
| | | | | | | Adding Chromaflash Filter for Camera2 Change-Id: I04b399abe26a3fdcdc91240036a683711b21f8a8 CRs-Fixed: 1067848
* SnapdragonCamera: Init optimization and concurrency fixesJack Yoo2016-09-274-30/+81
| | | | | | | | | | 1. Frameprocessor init call to be in parallel. 2. Fix concurrency issue on filters with background saving feature. 3. Various other capture module concurrency issue fixes. Change-Id: Icce713b0d6e4ea1c15bbe9ac2cfb3977b0a9c1d7 CRs-Fixed: 1067848
* SnapdragonCamera: Fix selfie flash not disappearing issueByunghun Jeon2016-09-271-0/+3
| | | | | | | | Fix selfie flash not disappearing issue due to using ZSL capture path. Use normal path when taking selfie picture Change-Id: I2b1c179d1e157714415cf264a9ff0887407e31a2 CRs-Fixed: 1066519
* SnapdragonCamera: ZSL for camera2Jack Yoo2016-08-292-21/+572
| | | | | | | Camera2 Zero Shutter lag. Change-Id: I09c65002e5f703e776b4c32efe78d3e95e76acda CRs-Fixed: 1060586