luxlabs header browser preview


@class NSString, NSDictionary, BWVideoFormat, NSMutableSet, BWMemoryPool, NSObject;
@protocol OS_dispatch_semaphore;

@interface BWPixelBufferPool : NSObject {
    BWVideoFormat *_videoFormat;
    unsigned long long _capacity;
    NSString *_name;
    BOOL _clientProvidesPool;
    NSDictionary *_additionalPixelBufferAttributes;
    struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _pixelBufferPoolConfigurationLock;
    struct __CVPixelBufferPool { } *_pixelBufferPool;
    NSDictionary *_pixelBufferPoolAuxAttributes;
    NSMutableSet *_prefetchedSurfaceIDs;
    int _pixelBufferPoolCreateError;
    BWMemoryPool *_memoryPool;
    BOOL _providesBackPressure;
    NSObject<OS_dispatch_semaphore> *_backPressureSemaphore;
}

@property (readonly) NSString *name;
@property (readonly, nonatomic, getter=isPixelBufferAvailable) BOOL pixelBufferAvailable;
@property (readonly, nonatomic) unsigned long long capacity;
@property (readonly, nonatomic) unsigned int pixelFormat;
@property (readonly, nonatomic) unsigned long long width;
@property (readonly, nonatomic) unsigned long long height;
@property (readonly, nonatomic) unsigned long long sliceCount;
@property (readonly, nonatomic) struct __CVPixelBufferPool { } *cvPixelBufferPool;
@property (readonly, nonatomic) struct __CFDictionary { } *cvPixelBufferPoolAuxAttributes;
@property (readonly, nonatomic) BOOL usesMemoryPool;

+ (void)initialize;

- (void)setCapacity:(unsigned long long)a0;
- (void)dealloc;
- (struct __CVBuffer { } *)newPixelBuffer;
- (BOOL)prefetch:(int)a0 lastEmittedSurfaceID:(unsigned int)a1;
- (id)initWithVideoFormat:(id)a0 capacity:(unsigned long long)a1 name:(id)a2;
- (void)enumerateSurfacesUsingBlock:(id /* block */)a0;
- (BOOL)waitForAvailablePixelBuffer;
- (void)setCVPixelBufferPool:(struct __CVPixelBufferPool { } *)a0 attributes:(struct __CFDictionary { } *)a1;
- (void)preallocateWithCompletionHandler:(id /* block */)a0;
- (id)description;
- (int)preallocate;
- (void)prefetchWithCompletionHandler:(id /* block */)a0;
- (id)initWithVideoFormat:(id)a0 capacity:(unsigned long long)a1 name:(id)a2 memoryPool:(id)a3;
- (id)initWithVideoFormat:(id)a0 capacity:(unsigned long long)a1 name:(id)a2 clientProvidesPool:(BOOL)a3 memoryPool:(id)a4 providesBackPressure:(BOOL)a5;
- (id)initWithVideoFormat:(id)a0 capacity:(unsigned long long)a1 name:(id)a2 memoryPool:(id)a3 additionalPixelBufferAttributes:(id)a4 providesBackPressure:(BOOL)a5;
- (void)flushToMinimumCapacity:(unsigned long long)a0;

@end