VideoBuffer Methods |
The VideoBuffer type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Clones this instance.
(Overrides MediaBufferTFormat, TBufferClone.) | |
Convert(VideoFormat) |
Creates a new video buffer using the specified format.
| |
Convert(VideoFormat, DataBuffer) |
Creates a new video buffer using the specified format.
| |
CreateBlack |
Creates a black (0, 0, 0) video buffer with the specified width/height.
| |
CreateBlue |
Creates a blue (0, 0, 255) video buffer with the specified width/height.
| |
CreateCustom(Int32, Int32, Int32, Int32, Int32, String) |
Creates a custom video buffer with the specified width/height and red/green/blue values
for the specified format name. If the format is not supported, returns null.
| |
CreateCustom(Int32, Int32, Int32, Int32, Int32, String, DataBuffer) |
Creates a custom video buffer with the specified width/height and red/green/blue values
for the specified format name. If the format is not supported, returns null.
| |
CreateCyan |
Creates a cyan (0, 255, 255) video buffer with the specified width/height.
| |
CreateDarkBlue |
Creates a dark blue (0, 0, 128) video buffer with the specified width/height.
| |
CreateDarkGreen |
Creates a dark green (0, 128, 0) video buffer with the specified width/height.
| |
CreateDarkRed |
Creates a dark red (128, 0, 0) video buffer with the specified width/height.
| |
CreateGray |
Creates a gray (255, 255, 255) video buffer with the specified width/height.
| |
CreateGreen |
Creates a green (0, 255, 0) video buffer with the specified width/height.
| |
CreateInstance |
Creates a new instance.
(Overrides MediaBufferTFormat, TBufferCreateInstance.) | |
CreateMagenta |
Creates a magenta (255, 0, 255) video buffer with the specified width/height.
| |
CreateOlive |
Creates an olive (128, 128, 0) video buffer with the specified width/height.
| |
CreatePurple |
Creates a purple (128, 0, 128) video buffer with the specified width/height.
| |
CreateRed |
Creates a red (255, 0, 0) video buffer with the specified width/height.
| |
CreateTeal |
Creates a teal (0, 128, 128) video buffer with the specified width/height.
| |
CreateWhite |
Creates a white (255, 255, 255) video buffer with the specified width/height.
| |
CreateYellow |
Creates a yellow (255, 255, 0) video buffer with the specified width/height.
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
Free |
Frees the data buffers referenced by this instance.
(Inherited from MediaBufferTFormat, TBuffer.) | |
FromJson |
Deserializes an instance from JSON.
| |
FromJsonArray |
Deserializes an array of instances from JSON.
| |
GetDynamicValue |
Gets a property value from the local cache.
(Inherited from Dynamic.) | |
GetHashCode | (Inherited from Object.) | |
GetMinimumBufferLength |
Gets the minimum data buffer length for a given width, height, and format.
| |
GetType | (Inherited from Object.) | |
Keep |
Keeps the data buffers referenced by this instance.
(Inherited from MediaBufferTFormat, TBuffer.) | |
MemberwiseClone | (Inherited from Object.) | |
Mute |
Mutes this instance. This is a one-way operation that clears
the underlying data buffer.
(Overrides MediaBufferTFormat, TBufferMute.) | |
SetDynamicValue |
Sets a property value in the local cache.
(Inherited from Dynamic.) | |
ToJson |
Serializes this instance to JSON.
| |
ToJson(VideoBuffer) |
Serializes an instance to JSON.
| |
ToJsonArray |
Serializes an array of instances to JSON.
| |
ToPlanar |
Converts a planar representation of this
packed buffer, if in YUV-packed format.
Otherwise, returns the current buffer.
| |
ToString |
Returns a string that represents this instance.
(Inherited from MediaBufferTFormat, TBuffer.) | |
UnsetDynamicValue |
Unsets a property value in the local cache.
(Inherited from Dynamic.) |