net.gdface.cassdk.jna.TH_Image_Data Maven / Gradle / Ivy
package net.gdface.cassdk.jna;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* ============================================================================
* Name : THFeature_i.h
* Part of : Face Feature (THFeature) SDK
* Created : 10.18.2016 by xxx
* Description:
* THFeature_i.h - Face Feature(THFeature) SDK header file
* Version : 5.0.0
* Copyright: All Rights Reserved by XXX
* Revision:
* ============================================================================
* native declaration : include\THFeature_i.h:18
* 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 TH_Image_Data extends Structure {
/**
* MUST BE bgr format buffer,the size is width*height*3 bytes
* C type : BYTE*
*/
public Pointer bgr;
/** image width */
public int width;
/** image height */
public int height;
public TH_Image_Data() {
super();
}
protected List > getFieldOrder() {
return Arrays.asList("bgr", "width", "height");
}
/**
* @param bgr MUST BE bgr format buffer,the size is width*height*3 bytes
* C type : BYTE*
* @param width image width
* @param height image height
*/
public TH_Image_Data(Pointer bgr, int width, int height) {
super();
this.bgr = bgr;
this.width = width;
this.height = height;
}
public TH_Image_Data(Pointer peer) {
super(peer);
}
public static class ByReference extends TH_Image_Data implements Structure.ByReference {
};
public static class ByValue extends TH_Image_Data implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy