PictureMediaBuffer Class |
Namespace: StreamCoders
The PictureMediaBuffer type exposes the following members.
Name | Description | |
---|---|---|
PictureMediaBuffer(Byte) | Initializes a new instance of the PictureMediaBuffer class | |
PictureMediaBuffer(Int32) | Initializes a new instance of the PictureMediaBuffer class | |
PictureMediaBuffer(MediaBufferByte) | Initializes a new instance of the PictureMediaBuffer class | |
PictureMediaBuffer(OffsetBufferByte) |
Creates an empty PictureMediaBuffer.
|
Name | Description | |
---|---|---|
CreationTime |
Time of buffer creation.
(Inherited from MediaBufferT.) | |
Duration |
Media time (Duration). Effectively EndTime - StartTime (Inherited from MediaBufferT.) | |
Height |
Height of picture
| |
ProcessingTime | (Inherited from MediaBufferT.) | |
Stride |
Stride of row
| |
Width |
Width of picture
|
Name | Description | |
---|---|---|
CheckPreconditions |
Checks whether the resolution is set and the allocated buffer is big enough to hold the
specified amount of pixels. These checks are made with preconditions, so if enabled will
throw exceptions.
| |
CopyMetaDataFrom(MediaBufferByte) |
Copies the meta data from source to local instance. If the passed object is a up-cast
PictureMediaBuffer, then CopyMetaDataFrom(PictureMediaBuffer) will be
invoked.
(Overrides MediaBufferTCopyMetaDataFrom(MediaBufferT).) | |
CopyMetaDataFrom(PictureMediaBuffer) |
Copies the meta data from source to local instance. The data includes all fields from
MediaBuffer plus all fields from PictureMediaBuffer.
| |
CreateFromTemplate(PictureMediaBuffer) |
Creates a PictureMediaBuffer given the meta-data from another buffer. The OffsetBuffer will not be copied, but will
be allocated given resolution and format.
| |
CreateFromTemplate(Int32, Int32, PictureFormat) |
Creates a PictureMediaBuffer given resolution and format. The OffsetBuffer will also be allocated.
| |
DeepCopy |
Creates a deep copy of MediaBuffer by cloning the OffsetBuffer and meta data. Exceptions
are: ExtendedInfo and when a MediaBuffer is locked, then the lock state will remain
unlocked (unacquired).
(Inherited from MediaBufferT.) | |
ResetVariables |
Resets StartTime, EndTime, Duration, Buffer.Offset to 0.
(Inherited from MediaBufferT.) | |
ToString |
Convert this instance into a string representation.
(Inherited from MediaBufferT.) |
Name | Description | |
---|---|---|
Buffer |
Holds elements relevant to MediaBuffer.
(Inherited from MediaBufferT.) | |
EndTime |
Media time (End). In most cases this represents the presentation time + duration.
(Inherited from MediaBufferT.) | |
ExtendedInfo |
Is used to store additional/custom information within the buffer.
(Inherited from MediaBufferT.) | |
Format |
Format of Picture
| |
IsDiscontinuity |
Indicates that there was a discontinuity in the stream. This flag is passed to decoders.
(Inherited from MediaBufferT.) | |
IsKeyFrame |
true if this instance is key frame.
(Inherited from MediaBufferT.) | |
PackageType |
Describes the content of this buffer.
(Inherited from MediaBufferT.) | |
StartTime |
Media time (Start). In most cases this represents the presentation time.
(Inherited from MediaBufferT.) |
Name | Description | |
---|---|---|
Copy | Overloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.) | |
Copy(Object) | Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.) | |
CopyToAndUnlock |
Copies a PictureMediaBuffer to a WriteableBitmap and unlocks the input buffer.
(Defined by PictureMediaBufferExtensions.) | |
Rgb24ToBitmap |
Converts a PictureMediaBuffer to an RGB 24-bit Bitmap (System.Drawing.Imaging.Bitmap)
(Defined by ImageTools.) | |
ToWriteableBitmap | Overloaded. (Defined by PictureMediaBufferExtensions.) | |
ToWriteableBitmap(WriteableBitmap) | Overloaded. (Defined by PictureMediaBufferExtensions.) | |
ToWriteableBitmap(WriteableBitmap, Boolean) | Overloaded. (Defined by PictureMediaBufferExtensions.) |