Android Open Source - bard-droid Frame Settings






From Project

Back to project page bard-droid.

License

The source code is released under:

GNU General Public License

If you think the Android project bard-droid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package in.co.praveenkumar.bard.graphics;
//www. j  a v a2 s  .co  m
public class FrameSettings {

  /**
   * Width of the frame
   */
  public static final int WIDTH = 1024;

  /**
   * Height of the frame
   */
  public static final int HEIGHT = 768;

  /**
   * Bytes per pixel
   */
  public static final int BPP = 2;

  /**
   * Frames per second.
   */
  public static final int FPS = 18;

  /**
   * Bytes per compression. 
   * <br/>
   * This is the number of actual bytes that are
   * encoded into each line of rle compression. This is equal to the number of
   * bytes in one page on framebuffer. i.e., 4096.
   */
  public static final int BPC = WIDTH * BPP * 2;

}




Java Source Code List

in.co.praveenkumar.bard.activities.BardReceiver.java
in.co.praveenkumar.bard.activities.MainActivity.java
in.co.praveenkumar.bard.graphics.FrameSettings.java
in.co.praveenkumar.bard.graphics.Frame.java
in.co.praveenkumar.bard.io.USBControl.java