mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-14 00:25:43 +01:00
24 lines
534 B
Objective-C
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
|