Package com.jme3.app.state
Class MjpegFileWriter
java.lang.Object
com.jme3.app.state.MjpegFileWriter
Released under BSD License
-
Constructor Summary
ConstructorsConstructorDescriptionMjpegFileWriter(File aviFile, int width, int height, double framerate) MjpegFileWriter(File aviFile, int width, int height, double framerate, int numFrames) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddImage(byte[] imagedata) voidaddImage(android.graphics.Bitmap image) voidaddImage(android.graphics.Bitmap image, float quality) voidstatic byte[]intBytes(int i) static byte[]shortBytes(short i) static intswapInt(int v) static shortswapShort(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
-