0e4815a5b307a1dc02648616b22f2dc534472180 |
|
09-Nov-2011 |
Guozhi Wei <carrot@google.com> |
Fix a memory leak bug. When Mosaic::addFrameRGB() is called, an implicit YVU image is created, the user of Mosaic doesn't know it, and the destructor of Mosaic doesn't delete frame images, so memory leaks. Fixed by recording the implicitly created image in Mosaic and delete them in destructor. Change-Id: I4a455f076c1d3b2c95831c3f736154377bb88a01
/packages/apps/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|
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/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|
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/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|
274ca49c63557a8c3ee12c8da5f75e28b4875a5d |
|
11-Sep-2011 |
Wei-Ta Chen <weita@google.com> |
Clean up the logs. Bug: 5277853 Change-Id: Ic1c9a0395846b6815f2c18663e3c9078781a6194
/packages/apps/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|
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/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|
50f36b9eaa0e177cf220737e322576437f051da3 |
|
30-Aug-2011 |
Wei-Ta Chen <weita@google.com> |
Fix a monkey bug - a null pointer issue in native. A monkey report shows that we try to generate a mosaic even before we added any frame to the aligner. This is unlikely to be triggered by human actions but machine generated sequences. To fix it, we ensure that we do blending on frames only after we have accepted frames in aligner. Bug: 5182097 Change-Id: I16c8efea2b1e3f5b53e65e480da169e24c939ec2
/packages/apps/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|
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/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|
e295e32b68cf04f0d99138bf4a6d25555f3aef99 |
|
15-Jun-2011 |
Wei-Ta Chen <weita@google.com> |
Check in mosaic stitching codes - the native part Updated to v4-3-2. Bug: 4990566 Change-Id: I779dcc930323353964572918510f1492828c4db4
/packages/apps/Camera/jni/feature_mos/src/mosaic/Mosaic.cpp
|