AVPro DeckLink  1
AVPro DeckLink C# Documentation
RenderHeads.Media.AVProDeckLink.DeckLinkOutput Class Reference
Inheritance diagram for RenderHeads.Media.AVProDeckLink.DeckLinkOutput:
Collaboration diagram for RenderHeads.Media.AVProDeckLink.DeckLinkOutput:

Public Types

enum  AALevel { AALevel.None = 1, AALevel.Two = 2, AALevel.Four = 4, AALevel.Eight = 8 }
 
enum  KeyerMode { KeyerMode.None = 0, KeyerMode.Internal, KeyerMode.External }
 

Public Member Functions

bool StopOutput ()
 
void SetCamera (Camera camera)
 
override void Awake ()
 
override void OnDestroy ()
 

Static Public Member Functions

static bool OutputFormatSupported (DeckLinkPlugin.PixelFormat format)
 

Data Fields

AALevel _antiAliasingLevel = AALevel.Two
 
Camera _camera
 
int _bufferBalance = 2
 
int _genlockPixelOffset = 0
 
AudioSource _outputAudioSource
 
bool _muteOutputAudio = false
 
KeyerMode _keyerMode = KeyerMode.None
 

Protected Member Functions

override void Process ()
 
override void Cleanup ()
 
override bool IsInput ()
 
override void BeginDevice ()
 

Properties

RenderTexture InputTexture [get]
 
int TargetFramerate [get]
 

Private Member Functions

void InitColorspaceResources (int inputTexWidth, int inputTexHeight, RenderTextureFormat format)
 
void InitConversionResources (DeckLinkPlugin.PixelFormat format, int width, int height)
 
void InitInterlaceResources (int width, int height)
 

Private Attributes

Shader _rgbaToYuv422Shader
 
Shader _rgbaToBgraShader
 
Shader _rgbaToArgbShader
 
Shader _interlaceShader
 
Shader _lToGShader
 
RenderTexture _inputTexture
 
RenderTexture _interlacedTexture
 
RenderTexture[] _convertedTexture = null
 
RenderTexture _lToGTexture
 
Material _interlaceMaterial
 
Material _conversionMaterial
 
Material _lToGMat
 
DeckLinkPlugin.PixelFormat _format = DeckLinkPlugin.PixelFormat.Unknown
 
Camera currCam
 
bool _interlaced
 
int _targetFrameRate = -1
 
int _interlacePass = 0
 
IntPtr _convertedPointer = IntPtr.Zero
 
RenderTexture _blended
 
byte _currTex = 0
 
Shader _blendShader
 
Material _blendMat
 
float prevFrameTime = 0.0f
 
float currFrameTime = 0.0f
 
bool decoupleFramerate = false
 
DeckLinkAudioOutput _audioOutputManager = null
 

Static Private Attributes

static int refCount = 0
 
static int prevRefCount
 

Additional Inherited Members

Member Enumeration Documentation

Enumerator
None 
Two 
Four 
Eight 
Enumerator
None 
Internal 
External 

Member Function Documentation

void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.InitColorspaceResources ( int  inputTexWidth,
int  inputTexHeight,
RenderTextureFormat  format 
)
inlineprivate
void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.InitConversionResources ( DeckLinkPlugin.PixelFormat  format,
int  width,
int  height 
)
inlineprivate
void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.InitInterlaceResources ( int  width,
int  height 
)
inlineprivate
static bool RenderHeads.Media.AVProDeckLink.DeckLinkOutput.OutputFormatSupported ( DeckLinkPlugin.PixelFormat  format)
inlinestatic
bool RenderHeads.Media.AVProDeckLink.DeckLinkOutput.StopOutput ( )
inline
void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.SetCamera ( Camera  camera)
inline
override void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.Process ( )
inlineprotectedvirtual
override void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.Cleanup ( )
inlineprotectedvirtual
override bool RenderHeads.Media.AVProDeckLink.DeckLinkOutput.IsInput ( )
inlineprotectedvirtual
override void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.Awake ( )
inlinevirtual
override void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.OnDestroy ( )
inlinevirtual
override void RenderHeads.Media.AVProDeckLink.DeckLinkOutput.BeginDevice ( )
inlineprotectedvirtual

Field Documentation

int RenderHeads.Media.AVProDeckLink.DeckLinkOutput.refCount = 0
staticprivate
int RenderHeads.Media.AVProDeckLink.DeckLinkOutput.prevRefCount
staticprivate
Shader RenderHeads.Media.AVProDeckLink.DeckLinkOutput._rgbaToYuv422Shader
private
Shader RenderHeads.Media.AVProDeckLink.DeckLinkOutput._rgbaToBgraShader
private
Shader RenderHeads.Media.AVProDeckLink.DeckLinkOutput._rgbaToArgbShader
private
Shader RenderHeads.Media.AVProDeckLink.DeckLinkOutput._interlaceShader
private
Shader RenderHeads.Media.AVProDeckLink.DeckLinkOutput._lToGShader
private
RenderTexture RenderHeads.Media.AVProDeckLink.DeckLinkOutput._inputTexture
private
RenderTexture RenderHeads.Media.AVProDeckLink.DeckLinkOutput._interlacedTexture
private
RenderTexture [] RenderHeads.Media.AVProDeckLink.DeckLinkOutput._convertedTexture = null
private
RenderTexture RenderHeads.Media.AVProDeckLink.DeckLinkOutput._lToGTexture
private
Material RenderHeads.Media.AVProDeckLink.DeckLinkOutput._interlaceMaterial
private
Material RenderHeads.Media.AVProDeckLink.DeckLinkOutput._conversionMaterial
private
Material RenderHeads.Media.AVProDeckLink.DeckLinkOutput._lToGMat
private
DeckLinkPlugin.PixelFormat RenderHeads.Media.AVProDeckLink.DeckLinkOutput._format = DeckLinkPlugin.PixelFormat.Unknown
private
Camera RenderHeads.Media.AVProDeckLink.DeckLinkOutput.currCam
private
bool RenderHeads.Media.AVProDeckLink.DeckLinkOutput._interlaced
private
int RenderHeads.Media.AVProDeckLink.DeckLinkOutput._targetFrameRate = -1
private
int RenderHeads.Media.AVProDeckLink.DeckLinkOutput._interlacePass = 0
private
AALevel RenderHeads.Media.AVProDeckLink.DeckLinkOutput._antiAliasingLevel = AALevel.Two
IntPtr RenderHeads.Media.AVProDeckLink.DeckLinkOutput._convertedPointer = IntPtr.Zero
private
Camera RenderHeads.Media.AVProDeckLink.DeckLinkOutput._camera
RenderTexture RenderHeads.Media.AVProDeckLink.DeckLinkOutput._blended
private
byte RenderHeads.Media.AVProDeckLink.DeckLinkOutput._currTex = 0
private
Shader RenderHeads.Media.AVProDeckLink.DeckLinkOutput._blendShader
private
Material RenderHeads.Media.AVProDeckLink.DeckLinkOutput._blendMat
private
float RenderHeads.Media.AVProDeckLink.DeckLinkOutput.prevFrameTime = 0.0f
private
float RenderHeads.Media.AVProDeckLink.DeckLinkOutput.currFrameTime = 0.0f
private
int RenderHeads.Media.AVProDeckLink.DeckLinkOutput._bufferBalance = 2
int RenderHeads.Media.AVProDeckLink.DeckLinkOutput._genlockPixelOffset = 0
AudioSource RenderHeads.Media.AVProDeckLink.DeckLinkOutput._outputAudioSource
bool RenderHeads.Media.AVProDeckLink.DeckLinkOutput._muteOutputAudio = false
bool RenderHeads.Media.AVProDeckLink.DeckLinkOutput.decoupleFramerate = false
private
DeckLinkAudioOutput RenderHeads.Media.AVProDeckLink.DeckLinkOutput._audioOutputManager = null
private
KeyerMode RenderHeads.Media.AVProDeckLink.DeckLinkOutput._keyerMode = KeyerMode.None

Property Documentation

RenderTexture RenderHeads.Media.AVProDeckLink.DeckLinkOutput.InputTexture
get
int RenderHeads.Media.AVProDeckLink.DeckLinkOutput.TargetFramerate
get

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