public boolean has(CVPixelBufferAttribute key) { return data.containsKey(key.value()); } public <T extends NativeObject> T get(CVPixelBufferAttribute key, Class<T> type) {
public CVPixelBufferAttributes set(CVPixelBufferAttribute key, NativeObject value) { data.put(key.value(), value); return this; }
public static /*<name>*/CVPixelBufferAttribute/*</name>*/ valueOf(/*<type>*/CFString/*</type>*/ value) { for (/*<name>*/CVPixelBufferAttribute/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/CVPixelBufferAttribute/*</name>*/.class.getName()); }
@MarshalsPointer public static long toNative(CVPixelBufferAttribute o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); } }
public <T extends NativeObject> T get(CVPixelBufferAttribute key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CVPixelBufferAttributes set(CVPixelBufferAttribute key, NativeObject value) {
@MarshalsPointer public static long toNative(List<CVPixelBufferAttribute> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CVPixelBufferAttribute o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); } }
public boolean has(CVPixelBufferAttribute key) { return data.containsKey(key.value()); } public <T extends NativeObject> T get(CVPixelBufferAttribute key, Class<T> type) {
public CVPixelBufferAttributes set(CVPixelBufferAttribute key, NativeObject value) { data.put(key.value(), value); return this; }
public static /*<name>*/CVPixelBufferAttribute/*</name>*/ valueOf(/*<type>*/CFString/*</type>*/ value) { for (/*<name>*/CVPixelBufferAttribute/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/CVPixelBufferAttribute/*</name>*/.class.getName()); }
public CVPixelBufferAttributes set(CVPixelBufferAttribute key, NativeObject value) { data.put(key.value(), value); return this; }
public static /*<name>*/CVPixelBufferAttribute/*</name>*/ valueOf(/*<type>*/CFString/*</type>*/ value) { for (/*<name>*/CVPixelBufferAttribute/*</name>*/ v : values) { if (v.value().equals(value)) { return v; } } throw new IllegalArgumentException("No constant with value " + value + " found in " + /*<name>*/CVPixelBufferAttribute/*</name>*/.class.getName()); }
public boolean has(CVPixelBufferAttribute key) { return data.containsKey(key.value()); } public <T extends NativeObject> T get(CVPixelBufferAttribute key, Class<T> type) {
public <T extends NativeObject> T get(CVPixelBufferAttribute key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CVPixelBufferAttributes set(CVPixelBufferAttribute key, NativeObject value) {
@MarshalsPointer public static long toNative(CVPixelBufferAttribute o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); } }
@MarshalsPointer public static long toNative(CVPixelBufferAttribute o, long flags) { if (o == null) { return 0L; } return CFType.Marshaler.toNative(o.value(), flags); } }
public <T extends NativeObject> T get(CVPixelBufferAttribute key, Class<T> type) { if (has(key)) { return data.get(key.value(), type); } return null; } public CVPixelBufferAttributes set(CVPixelBufferAttribute key, NativeObject value) {
@MarshalsPointer public static long toNative(List<CVPixelBufferAttribute> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CVPixelBufferAttribute o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); } }
@MarshalsPointer public static long toNative(List<CVPixelBufferAttribute> l, long flags) { if (l == null) { return 0L; } CFArray array = CFMutableArray.create(); for (CVPixelBufferAttribute o : l) { array.add(o.value()); } return CFType.Marshaler.toNative(array, flags); } }