OpenCV  2.4.13
Open Source Computer Vision
CvVideoCamera Class Reference

#import <cap_ios.h>

Inheritance diagram for CvVideoCamera:
CvAbstractCamera <AVCaptureVideoDataOutputSampleBufferDelegate> NSObject

Instance Methods

(void- adjustLayoutToInterfaceOrientation:
 
(void- layoutPreviewLayer
 
(void- saveVideo
 
(NSURL *) - videoFileURL
 
(NSString *) - videoFileString
 
- Instance Methods inherited from CvAbstractCamera
(void- start
 
(void- stop
 
(void- switchCameras
 
(id) - initWithParentView:
 
(void- createCaptureOutput
 
(void- createVideoPreviewLayer
 
(void- updateOrientation
 
(void- lockFocus
 
(void- unlockFocus
 
(void- lockExposure
 
(void- unlockExposure
 
(void- lockBalance
 
(void- unlockBalance
 

Protected Attributes

AVCaptureVideoDataOutput * videoDataOutput
 
dispatch_queue_t videoDataOutputQueue
 
CALayer * customPreviewLayer
 
CMTime lastSampleTime
 
- Protected Attributes inherited from CvAbstractCamera
AVCaptureSession * captureSession
 
AVCaptureConnection * videoCaptureConnection
 
AVCaptureVideoPreviewLayer * captureVideoPreviewLayer
 
UIDeviceOrientation currentDeviceOrientation
 
BOOL cameraAvailable
 
BOOL captureSessionLoaded
 
BOOL running
 
BOOL useAVCaptureVideoPreviewLayer
 
AVCaptureDevicePosition defaultAVCaptureDevicePosition
 
AVCaptureVideoOrientation defaultAVCaptureVideoOrientation
 
NSString *const defaultAVCaptureSessionPreset
 
int defaultFPS
 
UIView * parentView
 
int imageWidth
 
int imageHeight
 

Properties

id< CvVideoCameraDelegatedelegate
 
BOOL grayscaleMode
 
BOOL recordVideo
 
BOOL rotateVideo
 
AVAssetWriterInput * recordAssetWriterInput
 
AVAssetWriterInputPixelBufferAdaptor * recordPixelBufferAdaptor
 
AVAssetWriter * recordAssetWriter
 

Method Documentation

- (void) adjustLayoutToInterfaceOrientation: (UIInterfaceOrientation)  interfaceOrientation
- (void) layoutPreviewLayer
- (void) saveVideo
- (NSString *) videoFileString
- (NSURL *) videoFileURL

Member Data Documentation

- (CALayer*) customPreviewLayer
protected
- (CMTime) lastSampleTime
protected
- (AVCaptureVideoDataOutput*) videoDataOutput
protected
- (dispatch_queue_t) videoDataOutputQueue
protected

Property Documentation

- (id<CvVideoCameraDelegate>) delegate
readwritenonatomicassign
- (BOOL) grayscaleMode
readwritenonatomicassign
- (AVAssetWriter *) recordAssetWriter
readwritenonatomicretain
- (AVAssetWriterInput *) recordAssetWriterInput
readwritenonatomicretain
- (AVAssetWriterInputPixelBufferAdaptor *) recordPixelBufferAdaptor
readwritenonatomicretain
- (BOOL) recordVideo
readwritenonatomicassign
- (BOOL) rotateVideo
readwritenonatomicassign

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