IColorCodec Interface (KinectEx.DVR)
Classes implementing this interface can be used by a ReplayColorFrame
to (potentially) resize and compress the color frame data.
- C#
- VB
- C++
- F#
public interface IColorCodec
Syntax for VB is not yet implemented.
Syntax for C++ is not yet implemented
type public IColorCodec = interface end
The IColorCodec type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
CodecId | Unique ID for this |
||
Height | Height of the frame in pixels. | ||
OutputHeight | If changed, resizes the height of an encoded bitmap to the specified number of pixels. By default, the frame will be encoded using the same height as the input bitmap. | ||
OutputWidth | If changed, resizes the width of an encoded bitmap to the specified number of pixels. By default, the frame will be encoded using the same width as the input bitmap. | ||
PixelFormat | Gets the pixel format of the last image decoded. | ||
Width | Width of the frame in pixels. |
Platforms | Name | Description | |
---|---|---|---|
DecodeAsync | Decodes the supplied encoded bitmap data into an array of pixels. For internal use only. | ||
EncodeAsync | Encodes the specified bitmap data and outputs it to the specified
|
||
ReadHeader | Reads the codec-specific header information from the supplied
|
Supported in:
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5 (without Kinect SDK)
Windows 8.1 Store - WinRT
Windows 8.1 Store - WinRT (without Kinect SDK)
Windows Phone 8 - WinRT
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5 (without Kinect SDK)
Windows 8.1 Store - WinRT
Windows 8.1 Store - WinRT (without Kinect SDK)
Windows Phone 8 - WinRT