net.sourceforge.plantuml.mjpeg
Class MJPEGGenerator

java.lang.Object
  extended by net.sourceforge.plantuml.mjpeg.MJPEGGenerator

public class MJPEGGenerator
extends Object

Author:
monceaux

Constructor Summary
MJPEGGenerator(File aviFile, int width, int height, double framerate, int numFrames)
          Creates a new instance of MJPEGGenerator
 
Method Summary
 void addImage(Image image)
           
 void finishAVI()
           
static byte[] intBytes(int i)
           
static void main(String[] args)
           
static byte[] shortBytes(short i)
           
static int swapInt(int v)
           
static short swapShort(short v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MJPEGGenerator

public MJPEGGenerator(File aviFile,
                      int width,
                      int height,
                      double framerate,
                      int numFrames)
               throws IOException
Creates a new instance of MJPEGGenerator

Throws:
IOException
Method Detail

addImage

public void addImage(Image image)
              throws IOException
Throws:
IOException

finishAVI

public void finishAVI()
               throws IOException
Throws:
IOException

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)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.