OpenCV  3.2.0-dev
Open Source Computer Vision
CvVideoCamera Class Reference

#import "cap_ios.h"

Inheritance diagram for CvVideoCamera:
Collaboration diagram for CvVideoCamera:

Instance Methods

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

Protected Attributes

BOOL cameraAvailable
 
UIDeviceOrientation currentDeviceOrientation
 
CALayer * customPreviewLayer
 
CMTime lastSampleTime
 
AVCaptureVideoDataOutput * videoDataOutput
 
dispatch_queue_t videoDataOutputQueue
 

Properties

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

Method Documentation

- (void) adjustLayoutToInterfaceOrientation: (UIInterfaceOrientation)  interfaceOrientation
- (void) createCaptureOutput
- (void) createVideoPreviewLayer
- (id) initWithParentView: (UIView *)  parent
- (void) layoutPreviewLayer
- (void) lockBalance
- (void) lockExposure
- (void) lockFocus
- (void) saveVideo
- (void) start
- (void) stop
- (void) switchCameras
- (void) unlockBalance
- (void) unlockExposure
- (void) unlockFocus
- (void) updateOrientation
- (NSString *) videoFileString
- (NSURL *) videoFileURL

Member Data Documentation

- (BOOL) cameraAvailable
protectedinherited
- (UIDeviceOrientation) currentDeviceOrientation
protectedinherited
- (CALayer*) customPreviewLayer
protected
- (CMTime) lastSampleTime
protected
- (AVCaptureVideoDataOutput*) videoDataOutput
protected
- (dispatch_queue_t) videoDataOutputQueue
protected

Property Documentation

- (AVCaptureSession*) captureSession
readwritenonatomicstronginherited
- (BOOL) captureSessionLoaded
readnonatomicassigninherited
- (AVCaptureVideoPreviewLayer*) captureVideoPreviewLayer
readnonatomicassigninherited
- (AVCaptureDevicePosition) defaultAVCaptureDevicePosition
readwritenonatomicassigninherited
- (NSString* const) defaultAVCaptureSessionPreset
readwritenonatomicstronginherited
- (AVCaptureVideoOrientation) defaultAVCaptureVideoOrientation
readwritenonatomicassigninherited
- (int) defaultFPS
readwritenonatomicassigninherited
- (id<CvVideoCameraDelegate>) delegate
readwritenonatomicweak
- (BOOL) grayscaleMode
readwritenonatomicassign
- (int) imageHeight
readwritenonatomicassigninherited
- (int) imageWidth
readwritenonatomicassigninherited
- (UIView*) parentView
readwritenonatomicstronginherited
- (AVAssetWriter*) recordAssetWriter
readwritenonatomicstrong
- (AVAssetWriterInput*) recordAssetWriterInput
readwritenonatomicstrong
- (AVAssetWriterInputPixelBufferAdaptor*) recordPixelBufferAdaptor
readwritenonatomicstrong
- (BOOL) recordVideo
readwritenonatomicassign
- (BOOL) rotateVideo
readwritenonatomicassign
- (BOOL) running
readnonatomicassigninherited
- (BOOL) useAVCaptureVideoPreviewLayer
readwritenonatomicassigninherited
- (AVCaptureConnection*) videoCaptureConnection
readwritenonatomicstronginherited

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