Class DecklinkDeviceInfo
Decklink capture device information.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.Decklink
Assembly: VisioForge.Core.dll
Syntax
public class DecklinkDeviceInfo : IDisposable
Constructors
DecklinkDeviceInfo(string, DecklinkDeviceMode, IDeckLink)
Initializes a new instance of the DecklinkDeviceInfo class.
Declaration
public DecklinkDeviceInfo(string name, DecklinkDeviceMode deviceMode, IDeckLink decklink)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
| DecklinkDeviceMode | deviceMode | The device mode. |
| IDeckLink | decklink | The decklink. |
Properties
AudioFormats
Gets audio formats (if device have audio pin).
Declaration
public List<string> AudioFormats { get; }
Property Value
| Type | Description |
|---|---|
| List<string> |
AudioOutput
Gets a value indicating whether audio output pin present on video capture device.
Declaration
public bool AudioOutput { get; }
Property Value
| Type | Description |
|---|---|
| bool |
DecklinkInputIntf
Gets the decklink input interface.
Declaration
public IDeckLinkInput DecklinkInputIntf { get; }
Property Value
| Type | Description |
|---|---|
| IDeckLinkInput | The decklink input interface. |
DecklinkIntf
Gets the deck link interface.
Declaration
public IDeckLink DecklinkIntf { get; }
Property Value
| Type | Description |
|---|---|
| IDeckLink | The deck link interface. |
DeviceMode
Gets device mode.
Declaration
public DecklinkDeviceMode DeviceMode { get; }
Property Value
| Type | Description |
|---|---|
| DecklinkDeviceMode |
Initiated
Gets a value indicating whether device information is available.
Declaration
public bool Initiated { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Gets or sets device name.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SupportsFormatDetection
Gets a value indicating whether device supports format detection.
Declaration
public bool SupportsFormatDetection { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
|
Fill(DecklinkDeviceMode, bool, List<DecklinkVideoFormat>, List<string>)
Fills properties.
Declaration
public void Fill(DecklinkDeviceMode deviceMode, bool audioOutput, List<DecklinkVideoFormat> videoFormats, List<string> audioFormats)
Parameters
| Type | Name | Description |
|---|---|---|
| DecklinkDeviceMode | deviceMode | Device mode. |
| bool | audioOutput | Audio output available. |
| List<DecklinkVideoFormat> | videoFormats | Video formats. |
| List<string> | audioFormats | Audio formats. |
~DecklinkDeviceInfo()
Finalizes an instance of the DecklinkDeviceInfo class.
Declaration
protected ~DecklinkDeviceInfo()
GetVideoFormatsAsync()
Enumerates the formats asynchronous.
Declaration
public Task<List<DecklinkVideoFormat>> GetVideoFormatsAsync()
Returns
| Type | Description |
|---|---|
| Task<List<DecklinkVideoFormat>> | Task. |
VideoInputFormatChanged(_BMDVideoInputFormatChangedEvents, IDeckLinkDisplayMode, _BMDDetectedVideoInputFormatFlags)
Declaration
public void VideoInputFormatChanged(_BMDVideoInputFormatChangedEvents notificationEvents, IDeckLinkDisplayMode newMode, _BMDDetectedVideoInputFormatFlags detectedSignalFlags)
Parameters
| Type | Name | Description |
|---|---|---|
| _BMDVideoInputFormatChangedEvents | notificationEvents | |
| IDeckLinkDisplayMode | newMode | |
| _BMDDetectedVideoInputFormatFlags | detectedSignalFlags |
VideoInputFrameArrived(IDeckLinkVideoInputFrame, IDeckLinkAudioInputPacket)
Declaration
public void VideoInputFrameArrived(IDeckLinkVideoInputFrame videoFrame, IDeckLinkAudioInputPacket audioPacket)
Parameters
| Type | Name | Description |
|---|---|---|
| IDeckLinkVideoInputFrame | videoFrame | |
| IDeckLinkAudioInputPacket | audioPacket |