OpenCV  2.4.13.3
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< CvVideoCameraDelegate > delegate
 
BOOL grayscaleMode
 
BOOL recordVideo
 
BOOL rotateVideo
 
AVAssetWriterInput * recordAssetWriterInput
 
AVAssetWriterInputPixelBufferAdaptor * recordPixelBufferAdaptor
 
AVAssetWriter * recordAssetWriter
 

Method Documentation

§ adjustLayoutToInterfaceOrientation:()

- (void) adjustLayoutToInterfaceOrientation: (UIInterfaceOrientation)  interfaceOrientation

§ layoutPreviewLayer()

- (void) layoutPreviewLayer

§ saveVideo()

- (void) saveVideo

§ videoFileString()

- (NSString *) videoFileString

§ videoFileURL()

- (NSURL *) videoFileURL

Member Data Documentation

§ customPreviewLayer

- (CALayer*) customPreviewLayer
protected

§ lastSampleTime

- (CMTime) lastSampleTime
protected

§ videoDataOutput

- (AVCaptureVideoDataOutput*) videoDataOutput
protected

§ videoDataOutputQueue

- (dispatch_queue_t) videoDataOutputQueue
protected

Property Documentation

§ delegate

- (id<CvVideoCameraDelegate>) delegate
readwritenonatomicassign

§ grayscaleMode

- (BOOL) grayscaleMode
readwritenonatomicassign

§ recordAssetWriter

- (AVAssetWriter *) recordAssetWriter
readwritenonatomicretain

§ recordAssetWriterInput

- (AVAssetWriterInput *) recordAssetWriterInput
readwritenonatomicretain

§ recordPixelBufferAdaptor

- (AVAssetWriterInputPixelBufferAdaptor *) recordPixelBufferAdaptor
readwritenonatomicretain

§ recordVideo

- (BOOL) recordVideo
readwritenonatomicassign

§ rotateVideo

- (BOOL) rotateVideo
readwritenonatomicassign

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