8252bf716c798a1007e7869569b35815d2df3c6c |
|
07-Nov-2011 |
mbansal <mayank.bansal@sri.com> |
Changes to resolve jagged horizontal edge and blurred vertical edge issues. 1) Made the strip width and cross-fading parameters absolute pixel values. 2) Updated the above parameters to use thinner strips with lower cross-fading radius. 3) Added another parameter to limit the number of pyramid levels at which cross-fading is applied. Bug: 5578488 Change-Id: I69161bfbb535dc5bfcd647cfa6d6e050b6ad0068
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
0a039136e8e46ddbcb45b55e92d80ddb2ddfc2c2 |
|
03-Nov-2011 |
Wei-Ta Chen <weita@google.com> |
Fix an OOM issue in mosaic blending. Set two limits on when we will do mosaic blending. 1) mosaic_width * mosaic_height < (5 * frame_width) * (2 * frame_height) 2) mosaic_height < 2.5 * frame_height The latter limit rejects blending for the cases having too much movement in the secondary direction. Bug: 5554762 Change-Id: I05fb24bb1ff5446bea0cc1a1de8a02c37fb642d7
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
d97245f738813db9e55e5ae34b01eb7ecd4381e0 |
|
14-Oct-2011 |
Wei-Ta Chen <weita@google.com> |
Eliminating aliasing vertical lines. Reduce the cross-fading factor to eliminate the aliasing vertical lines. Also, fix an issues in blending: skipping cross-fading when the cross-fading width is 0. Bug: 5446629 Change-Id: Id5fed50824a2b93d80ad464864e4e74a656acb82
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
89b9c07b5bbcc2de25dd5f61c28de4575b4df996 |
|
08-Oct-2011 |
Wei-Ta Chen <weita@google.com> |
Avoid a possible overflow on setting the mosaic size. Log the size of the mosaic image before cropping, so as to help debug. Also, fix another issue that NV21 should be vertically subsmapled. Bug: 5412447 Change-Id: I20b0ef7fc1968517c63b7f599f04c8126adc0471
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
ff1c641693cf537703fef3949ccf15898c3ad5d0 |
|
30-Sep-2011 |
mbansal <mayank.bansal@sri.com> |
Blending updates to handle the case of mosaicing with the device in portrait mode. 1) Updated the wide-strip blending algorithm to select the strips correctly for portrait mode mosaicing. 2) Updated the cropping algorithm to crop correctly for portrait mode mosaicing. Change-Id: I0f613367d86c8ef380e1334b13426671182ddb85
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
a369cd3153170975a5e5bd6fa5544dcd6f22ee85 |
|
20-Sep-2011 |
mbansal <mayank.bansal@sri.com> |
Bug fixes to the cropping region selection algorithm. 1) The library should now return proper error code for the negative width scenario. 2) Also fixed a round-off issue which lead to improper cropping behavior for low-res output. Bug: 5330440, 5350580 Change-Id: I010be9b8a2b1252c1d2e0528956e512126f6246a
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.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/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
6c5b20113ba9f91352f32e5a53df66aec0ec761a |
|
13-Sep-2011 |
mbansal <mayank.bansal@sri.com> |
Updated cropping algorithm to get rid of gray pixels around the mosaic border. 1) Added documentation to the ComputeBlendParameters(...) function. Bug: 5279291 Change-Id: Iad1c9388ec939c2969b550ee3c194c3d191eb492
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
274ca49c63557a8c3ee12c8da5f75e28b4875a5d |
|
11-Sep-2011 |
Wei-Ta Chen <weita@google.com> |
Clean up the logs. Bug: 5277853 Change-Id: Ic1c9a0395846b6815f2c18663e3c9078781a6194
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.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/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
fa45108679c51623e716acbc3301b1e4535c3267 |
|
01-Sep-2011 |
Wei-Ta Chen <weita@google.com> |
Fix a warping bug that makes images slant. Change-Id: Ia580bf037de698ac4a8a8e98b649f284bb1e299b
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.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/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|
1e762b1f935c9d4a06af6dd56121590ca81d48b1 |
|
16-Aug-2011 |
mbansal <mayank.bansal@sri.com> |
Updates to allow the viewfinder to slide across the UI with device panning. Also, rendering updates for color conversion using GPU. 1) Refactored the SurfaceTextureRenderer and WarpRenderer classes to inherit from a new base class Renderer. 2) Fixed a minor bug in the Blend class and added a helper function to create the mosaic in middle frame coordinate system [no changes in run-time behavior]. 3) Added a flip-flop gPreviewFBO to allow panning the viewfinder across the UI when the user pans the device. 4) Fixed the size of the viewfinder and preview mosaic to match the UI layout height. 5) The viewfinder in the preview stage is now aligned with the viewfinder in the capture stage. 6) Added new class YVURenderer that converts from RGB to YVU data using GLSL shaders. 7) Modified the rendering pipeline to use GPU for RGB to YVU conversion. The processing thread now only performs conversion from YVUA interlaced to YVU planar format. 8) Updates following Wei-Ta's code-review comments. Change-Id: I6c18df3b57d1c2d78d55da8a8f3b9cd970c8d903
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/Blend.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/LegacyCamera/jni/feature_mos/src/mosaic/Blend.cpp
|