OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Instance Methods | Protected Attributes | Properties | List of all members
CvVideoCamera Class Reference

#import "cap_ios.h"

Inheritance diagram for CvVideoCamera:
CvAbstractCamera <AVCaptureVideoDataOutputSampleBufferDelegate> NSObject

Instance Methods

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

Protected Attributes

CALayer * customPreviewLayer
 
CMTime lastSampleTime
 
AVCaptureVideoDataOutput * videoDataOutput
 
dispatch_queue_t videoDataOutputQueue
 
- Protected Attributes inherited from CvAbstractCamera
BOOL cameraAvailable
 
AVCaptureVideoPreviewLayer * captureVideoPreviewLayer
 
UIDeviceOrientation currentDeviceOrientation
 

Properties

id< CvVideoCameraDelegatedelegate
 
BOOL grayscaleMode
 
AVAssetWriter * recordAssetWriter
 
AVAssetWriterInput * recordAssetWriterInput
 
AVAssetWriterInputPixelBufferAdaptor * recordPixelBufferAdaptor
 
BOOL recordVideo
 
BOOL rotateVideo
 
- Properties inherited from CvAbstractCamera
AVCaptureSession * captureSession
 
BOOL captureSessionLoaded
 
AVCaptureDevicePosition defaultAVCaptureDevicePosition
 
NSString *const defaultAVCaptureSessionPreset
 
AVCaptureVideoOrientation defaultAVCaptureVideoOrientation
 
int defaultFPS
 
int imageHeight
 
int imageWidth
 
UIView * parentView
 
BOOL running
 
BOOL useAVCaptureVideoPreviewLayer
 
AVCaptureConnection * videoCaptureConnection
 

Method Documentation

- (void) adjustLayoutToInterfaceOrientation: (UIInterfaceOrientation)  interfaceOrientation
- (void) layoutPreviewLayer
- (void) saveVideo
- (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: