Package com.jme3.app.state
Class MjpegFileWriter
java.lang.Object
com.jme3.app.state.MjpegFileWriter
Released under BSD License
-
Constructor Summary
ConstructorDescriptionMjpegFileWriter
(File aviFile, int width, int height, double framerate) MjpegFileWriter
(File aviFile, int width, int height, double framerate, int numFrames) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addImage
(byte[] imagedata) void
addImage
(android.graphics.Bitmap image) void
addImage
(android.graphics.Bitmap image, float quality) void
static byte[]
intBytes
(int i) static byte[]
shortBytes
(short i) static int
swapInt
(int v) static short
swapShort
(short v) byte[]
writeImageToBytes
(android.graphics.Bitmap image, float quality)
-
Constructor Details
-
Method Details
-
addImage
- Throws:
Exception
-
addImage
- Throws:
Exception
-
addImage
- Throws:
Exception
-
finishAVI
- Throws:
Exception
-
swapInt
public static int swapInt(int v) -
swapShort
public static short swapShort(short v) -
intBytes
public static byte[] intBytes(int i) -
shortBytes
public static byte[] shortBytes(short i) -
writeImageToBytes
- Throws:
Exception
-