#import <CaptureImplAvFoundation.h>
Public Member Functions | |
(id) | - initWithDevice:width:height: |
(bool) | - prepareStartCapture |
(void) | - startCapture |
(void) | - stopCapture |
(bool) | - isCapturing |
(cinder::Surface8u) | - getCurrentFrame |
(bool) | - checkNewFrame |
(const cinder::Capture::DeviceRef) | - getDevice |
(int32_t) | - getWidth |
(int32_t) | - getHeight |
(int32_t) | - getCurrentFrameBytesPerRow |
(int32_t) | - getCurrentFrameWidth |
(int32_t) | - getCurrentFrameHeight |
Static Public Member Functions | |
(const std::vector < cinder::Capture::DeviceRef > &) | + getDevices: |
Protected Attributes | |
AVCaptureSession * | mSession |
CVPixelBufferRef | mWorkingPixelBuffer |
cinder::Surface8u | 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 |
- cinder: |
- (bool) checkNewFrame |
- (const) Capture: |
- (int32_t) getWidth |
- (int32_t) getHeight |
- (int32_t) getCurrentFrameBytesPerRow |
- (int32_t) getCurrentFrameWidth |
- (int32_t) getCurrentFrameHeight |
- (AVCaptureSession*) mSession [protected] |
- (CVPixelBufferRef) mWorkingPixelBuffer [protected] |
- cinder: [protected] |
- (NSString*) mDeviceUniqueId [protected] |
- cinder: [protected] |
- (bool) mHasNewFrame [protected] |
- (bool) mIsCapturing [protected] |
- (int32_t) mWidth [protected] |
- (int32_t) mHeight [protected] |
- (int32_t) mSurfaceChannelOrderCode [protected] |
- (int32_t) mExposedFrameBytesPerRow [protected] |
- (int32_t) mExposedFrameHeight [protected] |
- (int32_t) mExposedFrameWidth [protected] |