AVBlocks for .NET
3.0
Audio and Video Software Development Kit
|
Provides functionality for audio and video encoding, decoding and transforming. More...
Public Member Functions | |
abstract void | Close () |
Closes the Block. | |
abstract void | Dispose () |
Disposes the Block and reclaims the resources used by the object. | |
abstract bool | EndOfStream (int inputIndex) |
Tells the Block that there's no more data for the specified input socket. | |
abstract bool | Flush () |
Flushes the data buffered in the Block to the output. | |
abstract bool | Open () |
Initializes the Block based on the specified input and desired output. | |
abstract bool | Pull (out int outputIndex, MediaSample outputSample) |
Pulls output data from the Block. | |
abstract bool | PullUnmanaged (out int outputIndex, MediaSample outputSample) |
Pulls output data from the Block. | |
abstract bool | Push (int inputIndex, MediaSample inputSample) |
Pushes input data to the Blocks. | |
abstract bool | PushUnmanaged (int inputIndex, MediaSample inputSample) |
Pushes input data to the Block. | |
Properties | |
abstract ErrorInfo | Error [get] |
The error information for the last block operation. | |
abstract MediaSocketList | Inputs [get] |
A modifiable collection of MediaSocket objects which describe the input data of the Block. | |
abstract MediaSocketList | Outputs [get] |
A modifiable collection of MediaSocket objects which describe the output data of the Blocks. | |
Provides functionality for audio and video encoding, decoding and transforming.
|
pure virtual |
Closes the Block.
When closed it can neither accept, nor deliver data.
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Disposes the Block and reclaims the resources used by the object.
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Tells the Block that there's no more data for the specified input socket.
inputIndex | Specifies the index of the input socket for which there's no more data. |
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Flushes the data buffered in the Block to the output.
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Initializes the Block based on the specified input and desired output.
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Pulls output data from the Block.
outputIndex | Returns the index of the output socket to which the data belongs. |
outputSample | The MediaSample object receives the output data in the MediaBuffer property. |
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Pulls output data from the Block.
outputIndex | Returns the index of the output socket to which the data belongs. |
outputSample | The MediaSample object receives the output data in the UnmanagedMediaBuffer property. |
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Pushes input data to the Blocks.
inputIndex | Specifies the index of the input socket whose data is pushed to the Block. |
inputSample | A MediaSample object that contains the input data in the MediaBuffer property. |
Implemented in MediaInfo, and Transcoder.
|
pure virtual |
Pushes input data to the Block.
inputIndex | Specifies the index of the input socket whose data is pushed to the Block. |
inputSample | A MediaSample object that contains the input data in the UnmanagedMediaBuffer property. |
Implemented in MediaInfo, and Transcoder.