Cinder  0.9.1
Instance Methods | Class Methods | Protected Attributes | List of all members
CaptureImplAvFoundation Class Reference

#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
 

Method Documentation

+ (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

Member Data Documentation

- (AVCaptureSession*) mSession
protected
- (CVPixelBufferRef) mWorkingPixelBuffer
protected
- (Surface8uRef) CaptureImplAvFoundation:
protected
- (NSString*) mDeviceUniqueId
protected
- Capture:
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

The documentation for this class was generated from the following files: