private void ConvertData(short[] data)
{
for (int i16 = 0, i32 = 0; i16 < data.Length && i32 < this.depthFrame32.Length; i16++, i32 += 4)
{
int realDepth = data[i16] >> DepthImageFrame.PlayerIndexBitmaskWidth;
byte intensity = (byte)(~(realDepth >> 4));
this.depthFrame32[i32 + 2] = intensity;
this.depthFrame32[i32 + 1] = intensity;
this.depthFrame32[i32] = intensity;
}
}
}