Files
FreeJ/xcode/CVTexture.h

24 lines
534 B
Objective-C

//
// CVTexture.h
// freej
//
// Created by xant on 5/16/09.
// Copyright 2009 dyne.org. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
#import <Appkit/NSImage.h>
@interface CVTexture : NSObject {
CVPixelBufferRef _pixelBuffer;
CIImage *_image;
}
+ (id)alloc;
+ (id)textureWithCIImage:(CIImage *)image pixelBuffer:(CVPixelBufferRef)pixelBuffer;
- (id)initWithCIImage:(CIImage *)image pixelBuffer:(CVPixelBufferRef)pixelBuffer;
- (CIImage *)image;
- (void)dealloc;
@end