org.freedesktop.gstreamer.lowlevel.GstMetaAPI Maven / Gradle / Ivy
package org.freedesktop.gstreamer.lowlevel;
import com.sun.jna.Library;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
*/
public interface GstMetaAPI extends Library {
GstMetaAPI GST_META_API = GstNative.load(GstMetaAPI.class);
@Structure.FieldOrder({"flags", "info"})
class GstMetaStruct extends Structure {
public static final class ByValue extends GstMetaStruct implements Structure.ByValue {
}
public int flags;
public GstMetaInfoStruct.ByReference info;
int infoOffset() {
return fieldOffset("info");
}
}
@Structure.FieldOrder({"api", "type", "size"})
class GstMetaInfoStruct extends Structure {
public static class ByReference extends GstMetaInfoStruct implements Structure.ByReference {
}
public GstMetaInfoStruct() {
}
public GstMetaInfoStruct(Pointer p) {
super(p);
read();
}
public GType api;
public GType type;
public long size;
int typeOffset() {
return fieldOffset("type");
}
}
}