commit | 0a039136e8e46ddbcb45b55e92d80ddb2ddfc2c2 | [log] [tgz] |
---|---|---|
author | Wei-Ta Chen <weita@google.com> | Thu Nov 03 10:59:01 2011 -0700 |
committer | Wei-Ta Chen <weita@google.com> | Fri Nov 04 12:27:36 2011 -0700 |
tree | 4fde6040c9b57db71ab374a70b507f6d79f6c0d4 | |
parent | 54ae365d5dbd491941dc9dc0111182cc94942267 [diff] |
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