videoLat 2.0
Video conferencing delay measurements
Public Member Functions | Static Public Member Functions | Protected Attributes | Properties
VideoRunManager Class Reference

#import <VideoRunManager.h>

Inheritance diagram for VideoRunManager:
Inheritance graph
[legend]
Collaboration diagram for VideoRunManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(VideoRunManager *) - init
 Initializer.
(void) - stop
 Called when the user stops a measurement run, via stopMeasuring from RunTypeView.
(void) - triggerNewOutputValue
(void) - _prerunRecordNoReception
 Internal: no QR code was received in time during prerun.
(void) - _prerunRecordReception:
 Internal: QR code was received in time during prerun.
(CIImage *) - newOutputStart
(void) - newOutputDone
(void) - setFinderRect:
 Unused.
(void) - newInputStart:
(void) - newInputStart
(void) - newInputDone:

Static Public Member Functions

(void) + initialize
 Class initializer.

Protected Attributes

CIImage * outputCodeImage
 Internal: Current code as a CIImage.
NSString * prevInputCode
 Internal: for checking monotonous increase.
int prevInputCodeDetectionCount
 Internal: Number of times we re-detected a code.
uint64_t tsOutEarliest
 Earliest possible time our output code may have been transmitted.
uint64_t tsOutLatest
 Latest possible time our output code may have been transmitted.
uint64_t tsFrameEarliest
 Earliest possible time the most recent frame may have been captured.
uint64_t tsFrameLatest
 Latest possible time the most recent frame may have been captured.
uint64_t averageFinderDuration
 Running average of how much the patternfinder takes.

Properties

bool mirrored
 True if we need to mirror output. Initialized during prerun.
IBOutlet VideoSelectionViewselectionView
 Assigned in NIB: view that allows selection of input device.
IBOutlet NSObject
< ClockProtocol > * 
clock
 Assigned in NIB: clock source, usually same as capturer.
IBOutlet NSObject
< InputVideoFindProtocol > * 
finder
 Assigned in NIB: matches incoming QR codes.
IBOutlet NSObject
< OutputVideoGenProtocol > * 
genner
 Assigned in NIB: generates QR codes for output.

Detailed Description

Subclass of BaseRunManager that handles video measurements based on QR codes.


Member Function Documentation

- (void) newInputDone: (CVImageBufferRef)  image

Signals that a capture cycle has ended and provides image data.

Parameters:
imageThe image data

Reimplemented from <RunInputManagerProtocol>.

- (void) newInputStart

Signals that a capture cycle has started now. Used by input devices that have no clock.

Reimplemented from <RunInputManagerProtocol>.

- (void) newInputStart: (uint64_t)  timestamp

Signals that a capture cycle has started at the given time.

Parameters:
timestampWhen the cycle started, in microseconds.

Reimplemented from <RunInputManagerProtocol>.

- (void) newOutputDone

Signals that output pattern is now visible. This will record the output timestamp.

Reimplemented from <RunOutputManagerProtocol>.

- (CIImage *) newOutputStart

Request a new output pattern.

Returns:
The pattern to display, as a CIImage.

Reimplemented from <RunOutputManagerProtocol>.

Reimplemented in VideoMonoRunManager.

- (void) triggerNewOutputValue

Prepare data for a new delay measurement. Called on the output companion, should create a pattern that is distinghuisable from the previous pattern and display it.

Reimplemented from BaseRunManager.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Properties Defines