/** * @since Available in iOS 4.0 and later. */ public static NSObject observeFreeBuffer(CVPixelBufferPool object, final VoidBlock1<CVPixelBufferPool> block) { return NSNotificationCenter.getDefaultCenter().addObserver(FreeBufferNotification(), object.as(NSObject.class), NSOperationQueue.getMainQueue(), new VoidBlock1<NSNotification>() { @Override public void invoke (NSNotification a) { CVPixelBufferPool object = a.getObject() != null ? a.getObject().as(CVPixelBufferPool.class) : null; block.invoke(object); } }); } }
public static CVPixelBufferPool create(CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) { CVPixelBufferPoolPtr ptr = new CVPixelBufferPoolPtr(); create(null, poolAttributes, pixelBufferAttributes, ptr); return ptr.get(); } public static CVPixelBufferPool create(CFAllocator allocator, CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) {
public CVPixelBuffer createPixelBuffer() { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(null, this, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CFAllocator allocator) {
public CVPixelBuffer createPixelBuffer(CVPixelBufferPoolAuxiliaryAttributes auxAttributes) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(null, this, auxAttributes, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CFAllocator allocator, CVPixelBufferPoolAuxiliaryAttributes auxAttributes) {
/** * @since Available in iOS 4.0 and later. */ public static NSObject observeFreeBuffer(CVPixelBufferPool object, final VoidBlock1<CVPixelBufferPool> block) { return NSNotificationCenter.getDefaultCenter().addObserver(FreeBufferNotification(), object.as(NSObject.class), NSOperationQueue.getMainQueue(), new VoidBlock1<NSNotification>() { @Override public void invoke (NSNotification a) { CVPixelBufferPool object = a.getObject() != null ? a.getObject().as(CVPixelBufferPool.class) : null; block.invoke(object); } }); } }
public static CVPixelBufferPool create(CFAllocator allocator, CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) { CVPixelBufferPoolPtr ptr = new CVPixelBufferPoolPtr(); create(allocator, poolAttributes, pixelBufferAttributes, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer() {
public CVPixelBuffer createPixelBuffer(CFAllocator allocator) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(allocator, this, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CVPixelBufferPoolAuxiliaryAttributes auxAttributes) {
/** * @since Available in iOS 4.0 and later. */ public static NSObject observeFreeBuffer(CVPixelBufferPool object, final VoidBlock1<CVPixelBufferPool> block) { return NSNotificationCenter.getDefaultCenter().addObserver(FreeBufferNotification(), object.as(NSObject.class), NSOperationQueue.getMainQueue(), new VoidBlock1<NSNotification>() { @Override public void invoke (NSNotification a) { CVPixelBufferPool object = a.getObject() != null ? a.getObject().as(CVPixelBufferPool.class) : null; block.invoke(object); } }); } }
public static CVPixelBufferPool create(CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) { CVPixelBufferPoolPtr ptr = new CVPixelBufferPoolPtr(); create(null, poolAttributes, pixelBufferAttributes, ptr); return ptr.get(); } public static CVPixelBufferPool create(CFAllocator allocator, CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) {
public CVPixelBuffer createPixelBuffer(CFAllocator allocator, CVPixelBufferPoolAuxiliaryAttributes auxAttributes) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(allocator, this, auxAttributes, ptr); return ptr.get(); } /*<methods>*/
public static CVPixelBufferPool create(CFAllocator allocator, CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) { CVPixelBufferPoolPtr ptr = new CVPixelBufferPoolPtr(); create(allocator, poolAttributes, pixelBufferAttributes, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer() {
public CVPixelBuffer createPixelBuffer() { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(null, this, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CFAllocator allocator) {
public static CVPixelBufferPool create(CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) { CVPixelBufferPoolPtr ptr = new CVPixelBufferPoolPtr(); create(null, poolAttributes, pixelBufferAttributes, ptr); return ptr.get(); } public static CVPixelBufferPool create(CFAllocator allocator, CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) {
public CVPixelBuffer createPixelBuffer() { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(null, this, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CFAllocator allocator) {
public static CVPixelBufferPool create(CFAllocator allocator, CVPixelBufferPoolAttributes poolAttributes, CVPixelBufferAttributes pixelBufferAttributes) { CVPixelBufferPoolPtr ptr = new CVPixelBufferPoolPtr(); create(allocator, poolAttributes, pixelBufferAttributes, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer() {
public CVPixelBuffer createPixelBuffer(CFAllocator allocator) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(allocator, this, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CVPixelBufferPoolAuxiliaryAttributes auxAttributes) {
public CVPixelBuffer createPixelBuffer(CVPixelBufferPoolAuxiliaryAttributes auxAttributes) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(null, this, auxAttributes, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CFAllocator allocator, CVPixelBufferPoolAuxiliaryAttributes auxAttributes) {
public CVPixelBuffer createPixelBuffer(CFAllocator allocator, CVPixelBufferPoolAuxiliaryAttributes auxAttributes) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(allocator, this, auxAttributes, ptr); return ptr.get(); } /*<methods>*/
public CVPixelBuffer createPixelBuffer(CFAllocator allocator) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(allocator, this, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CVPixelBufferPoolAuxiliaryAttributes auxAttributes) {
public CVPixelBuffer createPixelBuffer(CVPixelBufferPoolAuxiliaryAttributes auxAttributes) { CVPixelBuffer.CVPixelBufferPtr ptr = new CVPixelBuffer.CVPixelBufferPtr(); createPixelBuffer(null, this, auxAttributes, ptr); return ptr.get(); } public CVPixelBuffer createPixelBuffer(CFAllocator allocator, CVPixelBufferPoolAuxiliaryAttributes auxAttributes) {