Contains the Bitmap information. More...
Public Member Functions | |
BitmapSource | ConvertToBitmapSource () |
Utility method used to convert the contained bitmap into a BitmapSource which can be directly applied as a source to an WPF Image control. | |
void | Dispose () |
Call this to dispose the related memory (Unmanaged) | |
void | Dispose (bool native) |
Call this to dispose the related memory. | |
Bitmap | GetBitmap () |
Get a Bitmap class pointing to the original plane data. The resulting Bitmap needs to be Disposed. | |
byte[] | GetPlaneBytes (int plane) |
Returns the bytes in one plane. | |
Int32 | GetPlaneHeight (int plane) |
Get the height of a given plane. | |
IntPtr | GetPlanePointer (int plane) |
Get a pointer to the start of a plane. The pointer is pointing into unmanaged memory! | |
Int32 | GetPlaneStride (int plane) |
Get the width of one scan line in bytes (including filler bytes) | |
Int32 | GetPlaneWidth (int plane) |
Get the width of one plane. | |
Public Attributes | |
DateTime | DateTime |
The date and time the image was taken. | |
bool | IsNextAvailable |
Defines if the NextDateTime is filled. | |
bool | IsPreviousAvailable |
Defines if the PreviousDateTime is filled. | |
DateTime | NextDateTime |
The time stamp for the next image. This field is not always available. | |
DateTime | PreviousDateTime |
The time stamp for the previous image. This field is not always available. | |
Properties | |
BitmapColorSpace | ColorSpace [get] |
For BitmapFormat of types YCbCr, the BitmapColorSpace defines what color space is used. | |
BitmapFormat | Format [get] |
The format of the received bitmap. | |
virtual String | HardwareDecodingStatus [get, set] |
Defines how the decoding of the current frame is performed. Values can be: 'hardware' - Decoded by GPU 'software' - Decoded by Intel Media SDK 'fallback' - Decoded by Intel Media SDK, even though it was requested to be Hardware (or Auto) 'ipp' - Decoded by Intel UMC | |
IDisposable | ObjectToDispose [get, set] |
Reserved for internal use. DO NOT ACCESS THIS FIELD! | |
double | PixelAspectRatio [get] |
How each pixel should be spaced. | |
![]() | |
double | CropHeight [get, set] |
When the CroppingDefined is true, this field contains the cropping definition. The definition contains the same values as used on the SetCropping call. | |
bool | CroppingDefined [get, set] |
Is set to true if the returned content has been cropped. | |
double | CropWidth [get, set] |
When the CroppingDefined is true, this field contains the cropping definition. The definition contains the same values as used on the SetCropping call. | |
double | CropX [get, set] |
When the CroppingDefined is true, this field contains the cropping definition. The definition contains the same values as used on the SetCropping call. | |
double | CropY [get, set] |
When the CroppingDefined is true, this field contains the cropping definition. The definition contains the same values as used on the SetCropping call. | |
Contains the Bitmap information.
|
inline |
Utility method used to convert the contained bitmap into a BitmapSource which can be directly applied as a source to an WPF Image control.
|
inline |
Call this to dispose the related memory (Unmanaged)
|
inline |
Call this to dispose the related memory.
native | Ignored |
|
inline |
Get a Bitmap class pointing to the original plane data. The resulting Bitmap needs to be Disposed.
|
abstract |
Returns the bytes in one plane.
plane |
|
abstract |
Get the height of a given plane.
plane |
|
abstract |
Get a pointer to the start of a plane. The pointer is pointing into unmanaged memory!
plane |
|
abstract |
Get the width of one scan line in bytes (including filler bytes)
plane |
|
abstract |
Get the width of one plane.
plane |
DateTime VideoOS.Platform.Data.BitmapData.DateTime |
The date and time the image was taken.
bool VideoOS.Platform.Data.BitmapData.IsNextAvailable |
Defines if the NextDateTime is filled.
bool VideoOS.Platform.Data.BitmapData.IsPreviousAvailable |
Defines if the PreviousDateTime is filled.
DateTime VideoOS.Platform.Data.BitmapData.NextDateTime |
The time stamp for the next image.
This field is not always available.
DateTime VideoOS.Platform.Data.BitmapData.PreviousDateTime |
The time stamp for the previous image.
This field is not always available.
|
getabstract |
For BitmapFormat of types YCbCr, the BitmapColorSpace defines what color space is used.
|
getabstract |
The format of the received bitmap.
|
getset |
Defines how the decoding of the current frame is performed.
Values can be:
'hardware' - Decoded by GPU
'software' - Decoded by Intel Media SDK
'fallback' - Decoded by Intel Media SDK, even though it was requested to be Hardware (or Auto)
'ipp' - Decoded by Intel UMC
|
getset |
Reserved for internal use. DO NOT ACCESS THIS FIELD!
|
getabstract |
How each pixel should be spaced.