summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/panorama/Mosaic.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/android/camera/panorama/Mosaic.java b/src/com/android/camera/panorama/Mosaic.java
index 2407729..5012ff4 100644
--- a/src/com/android/camera/panorama/Mosaic.java
+++ b/src/com/android/camera/panorama/Mosaic.java
@@ -77,7 +77,13 @@ public class Mosaic {
* @param width width of the input frames in pixels
* @param height height of the input frames in pixels
*/
- public native void setSourceImageDimensions(int width, int height);
+ public native void allocateMosaicMemory(int width, int height);
+
+ /**
+ * Free memory allocated by allocateMosaicMemory.
+ *
+ */
+ public native void freeMosaicMemory();
/**
* Pass the input image frame to the native layer. Each time the a new