summaryrefslogtreecommitdiffstats
path: root/jni
Commit message (Collapse)AuthorAgeFilesLines
* Snap: Fix jni compiler warningsMichael Bestas2016-11-023-4/+4
| | | | Change-Id: I091a8928a9a0674c54759ff8b384259d8f16793e
* Rename SnapdragonCamera to SnapMichael Bestas2016-11-011-3/+3
| | | | Change-Id: I1474550af7f45e53aa97819b42a91c961eeb6684
* SnapdragonCamera: Selfie Mirror modeJack Yoo2016-08-161-0/+30
| | | | | | | Selfie mirror menu for front camera1. Change-Id: I2e6845c9e25481106f51772b5d3dfd0a971a2be7 CRs-Fixed: 1050663
* SnapdragonCamera: FrameProcessorJack Yoo2016-06-012-0/+163
| | | | | | | Introducing Frameprocessor with beautifiation. Change-Id: Ie6d8f4157a7d0c1a21e6f347457e84685e397286 CRs-Fixed: 1023183
* SnapdragonCamera: Fix compilationJaimin Bhise2015-10-296-4/+12
| | | | | | | | | | | | 1. Address compilation due to compiler upgrade. 2. Comment out video dependencies to enable camera. 3. Fix compilation issue due to IMountService interface change. 4. Comment out ExtendedFace. 5. Remove non-standard video resolutions. 6. Revert "camera: override shutter sound volume" commit 8a50cda8f72738e943904fdf7cae189b2b0a8ea8. Change-Id: I167ab5ff399c4f1d306a1a7ddf94896565c9625a
* Revert "SnapdragonCamera: Improved panorama"Byunghun Jeon2015-08-1282-0/+26468
| | | | | | This reverts commit "SnapdragonCamera: Improved panorama" Change-Id: I7aef9427c218d06b78cbc097dd32a1629b5ab9d1
* SnapdragonCamera: Improved panoramaByunghun Jeon2015-07-3082-26468/+0
| | | | | | | | Improved panorama with faster performance and low memory consumption. Also displays progress while taking panorama shot. Change-Id: I88ae1205f056ebe59129e65d69fcc44f46a5ab92 CRs-Fixed: 859274
* Merge "SnapdragonCamera: fix messy photo in Panorama mode"Linux Build Service Account2015-04-151-1/+1
|\
| * SnapdragonCamera: fix messy photo in Panorama modeLikai Ding2015-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | If camera is kept still in panorama mode, the result looks messy. The root cause is that, when calculating and comparing distance in Blend::ComputeMask, double numbers are compared directly. Comparing them against a small negative number fixes the problem. Change-Id: I713f59b4e21c508e20eb4dabc5edb1652b3ddb1a CRs-Fixed: 794974
* | SnapdragonCamera: fix a panorama memory leakLikai Ding2015-03-311-0/+1
|/ | | | | | free imgMos at the end of runBlend() Change-Id: I9211cf70ae75dbb5d5db31cfe6984374e7c51d5f
* SnapdragonCamera: Add FullScreen Preview when in Panoramic shootJay Wang2015-02-097-90/+214
| | | | | | | | | Changed the Panoramic preview to full screen Resized the warped preview image to smaller Size and render on top of the full screen preview image Warped preview image can be turned on/off Change-Id: I859839542ce94c5f70d7fe7983e93b5e9534b415
* Revert "SnapdragonCamera: Add FullScreen Preview when in Panoramic shoot"Jay Wang2015-01-136-73/+30
| | | | This reverts commit 8c1e4ff06d80d69792170f0cab8dea2f490cb7fa.
* SnapdragonCamera: Add FullScreen Preview when in Panoramic shootJay Wang2015-01-056-30/+73
| | | | | | | | | | | | Changed the Panoramic preview to full screen Resized the warped preview image to smaller Size and render on top of the full screen preview image Change-Id: I98735dbed2ff4dada8708bf5a4a0f9da6ba030c7 Conflicts: res/layout-land/pano_preview_progress.xml res/layout-port/pano_preview_progress.xml
* SnapdragonCamera: Enable build of local jni librariesLeena Winterrowd2014-08-221-11/+1
| | | | | | | | | The app currently relies on having its required libraries in the current build. Enable building its local libraries so that these are always present. Also ensure that the camera tests are not built to avoid a naming conflict. Change-Id: If358db3fc7392f62aaaa84877baa19a949aea497
* SnapdragonCamera: Fix static library name conflictLeena Winterrowd2014-08-161-2/+2
| | | | | | | | | A JNI lib is built for both the Camera2 app and SnapdragonCamera but is included in system/lib. Since this lib has been branched as well, rename it and explicitly bundle it with the app to avoid the library name conflict. Change-Id: I3177d0a99be06cef0b841d8e84e652b8974cadc6
* Camera2: Fix camera application memory leakGaoxiang Chen2014-04-241-1/+3
| | | | | | | | | | | | | This change fix potential memory leak of camera application when swith between camera and panorama: 1. free allocated frames in jni/Mosaic 2. use application context instead of acitivity context 3. clear disappearing children of ViewGroup explicitly 4. remove IdleHandler during camera exit CRs-fixed: 622518 Change-Id: I2583709489ab2cf1fc20865fe7d2a8f56f2763c9
* Enlarge the native buffer of wide-angle-pano.Angus Kong2013-09-251-1/+1
| | | | | | bug:10654457 Change-Id: I6f5edda309b94f91986dd468bb4e3131fdcc6678
* Bring back tiny planet to the Camera filmstripSascha Haeberling2013-09-122-0/+166
| | | | | | | | | Bug: 10393598 The native code and XmpUtil are mostly 1:1 copies from Gallery2. The UI is new and should work on all form factors. Change-Id: Ia302a4a7a24cf0b3aa583836683c459e9e7e1f85
* Copy over libjni_mosaic from Camera. We need to support the SRI panoSascha Haeberling2013-08-1481-0/+26185
| | | | | | mode for Carlsbad. Change-Id: Id14e64d8248236e8170c12cfca2cbf2ca952e993
* Remove two more .mk files. We will add CleanSpec.mk back later.Sascha Haeberling2013-08-061-1/+0
| | | | Change-Id: Ic58a86df7ba5002d4f9ea8c0fdacb02435a92da4
* This removes all non-Camera stuff from Camera2.Sascha Haeberling2013-08-0624-2106/+0
| | | | | | | Note: Camera2 is a clone of Gallery2 right now. Note 2: I will bring .mk files back later. Change-Id: Ida958654296f5ebaacb6bb0ff59d52a7c37ce6fc
* Remove all .mk files from the cloned Camera2 until the project isSascha Haeberling2013-08-061-52/+0
| | | | | | properly set up. Change-Id: I3eb79a7a756793ac5253b8c40c3fbc6c6fe2e8e3
* Add stop check in ImageFilterFXnicolasroard2013-07-021-4/+4
| | | | | | speed up switching / interrupting of rendering. Change-Id: I3ef4b1d16047b00a062c86d72cdfff2bfe9817a2
* tiny planet fixJohn Hoford2013-04-191-0/+1
| | | | | bug:8323524 Change-Id: I39283face7079574dbe25e797323a84141930f9a
* add highlight filterJohn Hoford2013-02-214-0/+51
| | | | Change-Id: I2e59e09fbc80172b9dfe27b3ce8ff2f1e24c5872
* add movable vignetteJohn Hoford2013-02-191-32/+12
| | | | Change-Id: I54f2fccd0d748ca4c908d5b0f3c3ef7349cd686d
* Improved performance for Kmeans filter.Ruben Brunk2012-12-172-32/+75
| | | | | Bug: 7739334 Change-Id: I5ab1eb429d65f84449a61deca962a47f2b6dbc8b
* Refactoring: removed unused filters.Ruben Brunk2012-12-132-109/+1
| | | | Change-Id: If6344fde16607ab9dddb25922d295b1df205df6b
* Added K-Means clustering filter.Ruben Brunk2012-12-133-1/+272
| | | | Change-Id: If8961d4a21de953b754cf74aefc222b6bec902a3
* Added sobel filter for edge function.Ruben Brunk2012-12-122-0/+127
| | | | Change-Id: I4d59a96585f4902cd01d26ff68c777b542041132
* Added photonegative filter.Ruben Brunk2012-12-122-0/+34
| | | | Change-Id: I73594573b26873cb3fda49aca6d40761dec3707f
* add support for black and white filters, add rotation API to tiny planetJohn Hoford2012-10-233-4/+61
| | | | | | bug:7386370 bug:7389189 Change-Id: I1720893000c39edf28a356fb7b56634f004ef120
* Adds a tiny planet (stereographic projection) image filter.Sascha Haeberling2012-10-193-2/+152
| | | | | | | | | Bug: 7293391 Also fixes an issue where the preview value was statically set to 100. This adds a preview parameter value that can be set for this purpose. Change-Id: I68c4ec04e86ab8a29ef7f561e5f21a298003677e
* add White balance & disable UI elementsJohn Hoford2012-10-102-0/+170
| | | | | bug:7234321 Change-Id: Ic44bfe30b5d25e7d4442c4e6d4fd9e0e8410c7af
* add filtersJohn Hoford2012-10-092-0/+89
| | | | | bug:7234321 Change-Id: I4c9695c3ad90fcb7f4d67d40faa0a7da85f99030
* Implementing Geometry save operations.Ruben Brunk2012-10-091-32/+116
| | | | | | Bug: 7224232 Bug: 7218935 Change-Id: I83e5f8a5dc29c5b6be0bb69f10eadf823122bb97
* Added the rest of the Geometryfilter stubs.Ruben Brunk2012-10-081-2/+66
| | | | | | Bug: 7224232 Bug: 7218935 Change-Id: I9ebbc4a98b5696e1514995e465aa4e145fdfa4f8
* add redeye and improve shadow removalJohn Hoford2012-10-086-136/+372
| | | | | bug:7234321 Change-Id: I12c2eb28555d7594fddf86dfa224219b70137681
* Added stub for applying geometry flip.Ruben Brunk2012-10-082-3/+40
| | | | | | Bug: 7224232 Bug: 7218935 Change-Id: Iaeea6a94f4fea44a8046f09a0fce72fe32ed7cc0
* add vibrance fix a free in shadowsJohn Hoford2012-10-043-1/+64
| | | | | bug:7234321 Change-Id: I52b1b952fcdc34c23464793621df60aa7e8e00b2
* Add Shadow featureJohn Hoford2012-10-024-0/+188
| | | | | bug:7234321 Change-Id: Ib0d4db773486e469ed818385b68b7b907070c297
* Fix exposure and fixed warningsJohn Hoford2012-10-015-9/+10
| | | | bug:7234321
* Add contrast & brightness filtersJohn Hoford2012-09-285-0/+134
| | | | | | | | Added hue fixed contrast Stablized Contrast, Saturation, Tint, Exposure bug:7234321 Change-Id: Iadd1e3ab215b60f920b718fa56611a07f24effee
* Fix the buildnicolasroard2012-09-261-2/+3
| | | | Change-Id: I6e645b5f5835ff4871881a7b73685fe074bce924
* Initial import of the new image editornicolasroard2012-09-266-0/+357
| | | | | bug:7165910 Change-Id: I756d6594f5bddd233772c979410362ca22e232a3
* Make ndk-build happy for Gallery jni.Teng-Hui Zhu2012-09-111-0/+1
| | | | | | Need to specify the APP_PLATFORM to support egl.h when running ndk-build locally. Change-Id: Ic2bf1e8b8021816063a123f5c2398727ea4b0493
* fix mips buildKeun young Park2012-08-231-7/+1
| | | | | | - LOCAL_SDK_VERSION should be defined always Change-Id: Icd1972279c76bd28e3caf9b44f1cea9b585836a1
* Retire LOCAL_NDK_VERSION.Ying Wang2012-08-141-2/+0
| | | | | Bug: 6932421 Change-Id: I9e5e8fba22ac235701c002e27012bb3954896140
* Fixed x86 buildAndrew Hsieh2012-07-231-3/+7
| | | | | | | NDK supports x86 from r6. Without setting correct LOCAL_NDK_VERSION build may fail to add library path for "-llog" and "-lEGL" Change-Id: I863e20e434d274b5d8924eafcf1f5e1d0b05f90d
* Fix non-ARM builds - use the proper way to reference librariesJean-Baptiste Queru2012-07-191-2/+3
| | | | Change-Id: Ibd84af84861d1cbaa8203e4b287cb20f5e9027a0