GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
CameraObject Class Reference

#import <CameraObject.h>

+ Inheritance diagram for CameraObject:
+ Collaboration diagram for CameraObject:

Instance Methods

(int) - setupFormat:::
 
(int) - getFormat::::
 
(int) - startCam
 
(int) - stopCam
 
(int) - isCamStarted
 
(int) - setCallback:
 
(void) - captureOutput:didOutputSampleBuffer:fromConnection:
 

Protected Attributes


< AVCaptureVideoDataOutputSampleBufferDelegate >
AVCaptureVideoDataOutput * 
output
 
int desiredWidth
 
int desiredHeight
 
int desiredColor
 
int m_width
 
int m_height
 
int m_color
 
int m_stride
 
GetPixelsCallbackcallback
 

Properties

AVCaptureSession * captureSession
 

Method Documentation

- (int) setupFormat: (int)  width
: (int)  height
: (int)  color 
- (int) getFormat: (unsigned int*)  width
: (unsigned int*)  height
: (int*)  color
: (int*)  stride 
- (int) startCam
- (int) stopCam
- (int) isCamStarted
- (int) setCallback: (GetPixelsCallback*)  func
- (void) captureOutput: (AVCaptureOutput *)  captureOutput
didOutputSampleBuffer: (CMSampleBufferRef)  sampleBuffer
fromConnection: (AVCaptureConnection *)  connection 

Field Documentation

- (<AVCaptureVideoDataOutputSampleBufferDelegate> AVCaptureVideoDataOutput*) output
protected
Initial value:
{
AVCaptureDeviceInput *input
- (int) desiredWidth
protected
- (int) desiredHeight
protected
- (int) desiredColor
protected
- (int) m_width
protected
- (int) m_height
protected
- (int) m_color
protected
- (int) m_stride
protected
- (GetPixelsCallback*) callback
protected

Property Documentation

- (AVCaptureSession*) captureSession
readwriteatomicretain

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