org.openpnp.capture.library.CapFormatInfo Maven / Gradle / Ivy
package org.openpnp.capture.library;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* native declaration : openpnp-capture/include/openpnp-capture.h:47
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class CapFormatInfo extends Structure {
/** < width in pixels */
public int width;
/** < height in pixels */
public int height;
/** < fourcc code (platform dependent) */
public int fourcc;
/** < frames per second */
public int fps;
/** < bits per pixel */
public int bpp;
public CapFormatInfo() {
super();
}
protected List > getFieldOrder() {
return Arrays.asList("width", "height", "fourcc", "fps", "bpp");
}
/**
* @param width < width in pixels
* @param height < height in pixels
* @param fourcc < fourcc code (platform dependent)
* @param fps < frames per second
* @param bpp < bits per pixel
*/
public CapFormatInfo(int width, int height, int fourcc, int fps, int bpp) {
super();
this.width = width;
this.height = height;
this.fourcc = fourcc;
this.fps = fps;
this.bpp = bpp;
}
public CapFormatInfo(Pointer peer) {
super(peer);
}
public static class ByReference extends CapFormatInfo implements Structure.ByReference {
};
public static class ByValue extends CapFormatInfo implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy