Interface IVideoDecoder
Decodes a stream's frames, one at a time, in order: Vp8Decoder in C#, or a platform's, e.g. Android's hardware decoder.
Inherited Members
Namespace: Uniform.Matrix.Video
Assembly: Uniform.Matrix.Video.dll
Syntax
public interface IVideoDecoder : IDisposable
Methods
| Edit this page View SourceDecode(ReadOnlySpan<byte>)
Decode one frame; return the picture to show, or null for none yet.
Declaration
VideoFrame? Decode(ReadOnlySpan<byte> frame)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<byte> | frame |
Returns
| Type | Description |
|---|---|
| VideoFrame |
Exceptions
| Type | Condition |
|---|---|
| InvalidDataException | When the frame cannot be decoded. |