-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCameraWindowController.h
43 lines (35 loc) · 1.02 KB
/
CameraWindowController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// CameraWindowController.h
// Kineo
//
// Created by Ben Yellin on 3/20/11.
// Copyright 2011 Been Yelling. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <QTKit/QTKit.h>
@class CameraView;
@class CIImage;
@class FlipSeries;
@interface CameraWindowController : NSWindowController {
IBOutlet CameraView *camView;
IBOutlet NSButton *recordButton;
IBOutlet NSTextField *frameCountLabel;
IBOutlet NSPopUpButton *devicePicker;
NSMutableArray *deviceList;
QTCaptureDevice *currentVideoDevice;
QTCaptureSession *videoSession;
QTCaptureDecompressedVideoOutput *videoOutput;
BOOL isRecording;
CVImageBufferRef currentImageBuffer;
FlipSeries *currentFlipSeries;
NSInteger currentFrameCount;
NSInteger numFrames;
NSTimeInterval frameRate;
}
@property (readonly) BOOL isRecording;
@property (nonatomic, assign) FlipSeries *currentFlipSeries;
+ (CameraWindowController *)sharedCameraWindow;
- (IBAction)recordingAction:(id)sender;
- (IBAction)changeDevice:(id)sender;
- (IBAction)showPreferences:(id)sender;
@end