OpenCV  4.10.0
Open Source Computer Vision
Loading...
Searching...
No Matches
CvVideoCamera Class Reference

#include <opencv2/videoio/cap_ios.h>

Instance Methods

(void) - adjustLayoutToInterfaceOrientation:
(saveVideo) - CV_UNUSED
(layoutPreviewLayer) - CV_UNUSED
(NSString *) - videoFileString
(NSURL *) - videoFileURL
Instance Methods inherited from CvAbstractCamera
(id) - initWithParentView:

Protected Attributes

CALayer * customPreviewLayer
CMTime lastSampleTime
AVCaptureVideoDataOutput * videoDataOutput
dispatch_queue_t videoDataOutputQueue
Protected Attributes inherited from CvAbstractCamera
BOOL cameraAvailable
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
AVCaptureVideoPreviewLayer * captureVideoPreviewLayer
AVCaptureDevicePosition defaultAVCaptureDevicePosition
NSString *const defaultAVCaptureSessionPreset
AVCaptureVideoOrientation defaultAVCaptureVideoOrientation
int defaultFPS
int imageHeight
int imageWidth
UIView * parentView
BOOL running
BOOL useAVCaptureVideoPreviewLayer
AVCaptureConnection * videoCaptureConnection

Method Documentation

◆ adjustLayoutToInterfaceOrientation:

- (void) adjustLayoutToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation

◆ CV_UNUSED [1/2]

- (saveVideo) CV_UNUSED

Implements CvAbstractCamera.

◆ CV_UNUSED [2/2]

- (layoutPreviewLayer) CV_UNUSED

Implements CvAbstractCamera.

◆ 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
readwritenonatomicweak

◆ grayscaleMode

- (BOOL) grayscaleMode
readwritenonatomicassign

◆ recordAssetWriter

- (AVAssetWriter*) recordAssetWriter
readwritenonatomicstrong

◆ recordAssetWriterInput

- (AVAssetWriterInput*) recordAssetWriterInput
readwritenonatomicstrong

◆ recordPixelBufferAdaptor

- (AVAssetWriterInputPixelBufferAdaptor*) recordPixelBufferAdaptor
readwritenonatomicstrong

◆ recordVideo

- (BOOL) recordVideo
readwritenonatomicassign

◆ rotateVideo

- (BOOL) rotateVideo
readwritenonatomicassign

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