![]() |
Cinder
0.9.1
|
#import <CaptureImplAvFoundation.h>
Inherits NSObject, and <AVCaptureVideoDataOutputSampleBufferDelegate>.
Instance Methods | |
(id) | - initWithDevice:width:height: |
(bool) | - prepareStartCapture |
(void) | - startCapture |
(void) | - stopCapture |
(bool) | - isCapturing |
(cinder::Surface8uRef) | - getCurrentFrame |
(bool) | - checkNewFrame |
(const cinder::Capture::DeviceRef) | - getDevice |
(int32_t) | - getWidth |
(int32_t) | - getHeight |
(int32_t) | - getCurrentFrameBytesPerRow |
(int32_t) | - getCurrentFrameWidth |
(int32_t) | - getCurrentFrameHeight |
Class Methods | |
(const std::vector< cinder::Capture::DeviceRef > &) | + getDevices: |
Protected Attributes | |
AVCaptureSession * | mSession |
CVPixelBufferRef | mWorkingPixelBuffer |
cinder::Surface8uRef | mCurrentFrame |
NSString * | mDeviceUniqueId |
cinder::Capture::DeviceRef | mDevice |
bool | mHasNewFrame |
bool | mIsCapturing |
int32_t | mWidth |
int32_t | mHeight |
int32_t | mSurfaceChannelOrderCode |
int32_t | mExposedFrameBytesPerRow |
int32_t | mExposedFrameHeight |
int32_t | mExposedFrameWidth |
+ (const vector<) cinder: | (BOOL) | forceRefresh |
- (id) initWithDevice: | (const cinder::Capture::DeviceRef) | device | |
width: | (int) | width | |
height: | (int) | height | |
- (bool) prepareStartCapture |
- (void) startCapture |
- (void) stopCapture |
- (bool) isCapturing |
- (Surface8uRef) CaptureImplAvFoundation: |
- (bool) checkNewFrame |
- (const) Capture: |
- (int32_t) getWidth |
- (int32_t) getHeight |
- (int32_t) getCurrentFrameBytesPerRow |
- (int32_t) getCurrentFrameWidth |
- (int32_t) getCurrentFrameHeight |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |