RawColorCodec Class (KinectEx.DVR)

An IColorCodec that performs no image compression. By default, this will just encode and decode the raw bitmap data. However, if the OutputWidth and/or OutputHeight are changed, it will resize an encoded bitmap accordingly.
System.Object
   KinectEx.DVR.RawColorCodec

Namespace: KinectEx.DVR
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
public class RawColorCodec : IColorCodec

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

type public RawColorCodec =
	class
		interface IColorCodec
	end

The RawColorCodec type exposes the following members.

  Platforms Name Description
RawColorCodec  
Top
  Platforms Name Description
CodecId Unique ID for this IColorCodec instance. (Implements IColorCodec.CodecId().)
Height Height of the frame in pixels. (Implements IColorCodec.Height().)
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. (Implements IColorCodec.OutputHeight().)
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. (Implements IColorCodec.OutputWidth().)
PixelFormat Gets the pixel format of the last image decoded. (Implements IColorCodec.PixelFormat().)
Width Width of the frame in pixels. (Implements IColorCodec.Width().)
Top
  Platforms Name Description
DecodeAsync Decodes the supplied encoded bitmap data into an array of pixels. For internal use only. (Implements IColorCodec.DecodeAsync().)
EncodeAsync Encodes the specified bitmap data and outputs it to the specified BinaryWriter. Bitmap data should be in BGRA format. For internal use only. (Implements IColorCodec.EncodeAsync().)
ReadHeader Reads the codec-specific header information from the supplied BinaryReader and writes it to the supplied ReplayFrame. For internal use only. (Implements IColorCodec.ReadHeader().)
Top
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