public static unsafe ushort Encode_RGBA_5650_Pixel(OutputPixel Pixel) { uint Out = 0; BitUtils.InsertScaled(ref Out, 0, 5, Pixel.R, 255); BitUtils.InsertScaled(ref Out, 5, 6, Pixel.G, 255); BitUtils.InsertScaled(ref Out, 11, 5, Pixel.B, 255); return (ushort)Out; }