History log of /packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
70a29f182f6696b089d1c376fc5aadd7a20f6231 03-Jul-2013 Jun Tian <jun.j.tian@intel.com> Fix the loading library issue of panorama mode in Legacycamera app

The Legacycamera app requires libjni_legacymosaic module,
and this module is included in the makefile.
But in the implementation code, it loads the libjni_mosaic module.
This patch changed the loading library to fix crash issue
when using panorama mode in the Legacycamera.

Change-Id: Id7d4192b076412c674ef716c9ffcb31fe5cb6619

Signed-off-by: Jun Tian <jun.j.tian@intel.com>
Signed-off-by: Zhu Yanglinx <yanglinx.zhu@intel.com>
Signed-off-by: Chang Panfeng <panfengx.chang@intel.com>
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
dd28e1cc00373c02adf88dff878dbbe5d8be9e59 21-Sep-2011 mbansal <mayank.bansal@sri.com> Updates to handle textureless scenes during capture.

1) Starts stitching only when the camera sees a textured scene at the beginning.
2) If a texturess scene is encountered in the middle of a capture, the stitching continues with the intermediate frames translated using the pan velocity estimate.
3) Added more error codes and percolated them up to the java layer.
4) Fix a build error in Mosaic::addFrame() and added comments.
5) Update the javadoc in Mosaic.java to reflect the new returning codes.

Change-Id: I7727ace615ece22adefe313a19ac2cbe8c8d21a8
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
b28b9c0fa991bc97e8aa11da83d27f71fdfef6da 19-Sep-2011 mbansal <mayank.bansal@sri.com> Blending algorithm updates to support WIDE strip-based blending.

1) Added algorithm to select wider strips (and made it the default mode in the app).
2) Added algorithm to cross-fade blend between the wider strips.

Change-Id: I744e69edb16a20f0040ee82c3390548b78853087
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
e1178a73fd5756771d25d0b8375452450f509e99 08-Sep-2011 mbansal <mayank.bansal@sri.com> Updates to allow cancellation of mosaic computation from a UI trigger.

1) reportProgress now takes a new boolean parameter that can be used to break out of the mosaic computation loop at the library level.
2) Added a cancel button to the progressDialog and a new Handler message to handle the button click so that the user can be taken back to the capture stage.
3) Updates to address the code review.

Change-Id: I0768da55dd6ccd9b1464d456ab41973779734c65
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
50b3c890986aadb3780b4da8c0b8dbb0f1422eba 23-Aug-2011 mbansal <mayank.bansal@sri.com> Updates to allow the mosaic library to report the mosaic computation progress (both low-res and high-res).

1) Added a new method to the Mosaic class that reports the percent progress for both LR and HR mosaicers.
2) Added a test function to the activity that logs the reported progress.
3) [REMOVED] Added a test progress-bar to the UI for quick testing of the progress reporting UI.
4) Made minor updates in response to Wei-Ta's review.

Change-Id: Iaf8ccf771579a40580a868743a6b53c6b05f14c6
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
41a2e9735136f372de95652d0828600282c8e967 09-Aug-2011 mbansal <mayank.bansal@sri.com> Updates to allow using SurfaceTexture for reading the preview frames directly from GPU memory.

1) SurfaceTexture is now used to obtain the data processed by the mosaicing library.
2) SurfaceTexture in GPU memory is directly rendered using the transformation from the mosaicing library to generate the preview mosaic.
3) GPU is also used to generate the Low-Res frames from the High-res frames (was being done in CPU before).
4) SurfaceTexture is also used to render the viewfinder as soon as the mosaicing application starts (eliminating the need for a separate SurfaceHolder to render the camera).
5) Modified the XML layout during the preview state to be the same size as during the capture stage to accommodate the SurfaceTexture based viewfinder [this needs to be reviewed and adjusted].
6) Fixed the viewfinder and back button issues identified by Wei-Ta.
7) Round-1 of removing trailing spaces and tabs.
8) Added documentation to new Java side interfaces and cleaned up code in general.
9) Cleaned up redundant and commented out code from the native side.
10) Merged with latest updates from the main trunk.
11) Fixed issues identified in code review and also cleaned up and refactored some code.
12) Added layout-w1024dp/pano_capture.xml for tablet layout.

Change-Id: If8fb0116de6c7fc6652cc67ac453553726961c32
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
b062b806441939e162e19be0baeb6513592c66b3 26-Jul-2011 mbansal <mayank.bansal@sri.com> Add a freeMosaicMemory function in JNI to address the leaks.

1) Fix coding style issues.
2) Added native and java functions to freeMosaicMemory.
3) Added optimized YUV420to444 conversion routine to native side.
4) Fixed more style issues based on code review comments.

Change-Id: Ic824584f6b3a02e4d0d7b472bed57637873ca622
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java
81f844f803ea2feeb61eb9270fbdd5592620d42e 08-Jul-2011 Wei-Ta Chen <weita@google.com> Check in Mosaic.java - the Java interface to JNI.

Change-Id: Id3a84177aa6978499c5a8b1cff78b44759989119
/packages/apps/LegacyCamera/src/com/android/camera/panorama/Mosaic.java