@ -11,7 +11,9 @@ namespace ImageSharp.PixelFormats
/// <summary>
/// Packed pixel type containing a single 8 bit normalized W values.
/// <para>
/// Ranges from <0, 0, 0, 0> to <0, 0, 0, 1> in vector form.
/// </para>
/// </summary>
public struct Alpha8 : IPixel<Alpha8>, IPackedVector<byte>
{
/// Packed pixel type containing four 8-bit unsigned normalized values ranging from 0 to 255.
/// The color components are stored in alpha, red, green, and blue order.
/// Ranges from <0, 0, 0, 0> to <1, 1, 1, 1> in vector form.
/// <remarks>
/// This struct is fully mutable. This is done (against the guidelines) for the sake of performance,
/// Packed pixel type containing unsigned normalized values ranging from 0 to 1. The x and z components use 5 bits, and the y component uses 6 bits.
/// Ranges from <0, 0, 0, 1> to <1, 1, 1, 1> in vector form.
public struct Bgr565 : IPixel<Bgr565>, IPackedVector<ushort>
/// Packed pixel type containing unsigned normalized values, ranging from 0 to 1, using 4 bits each for x, y, z, and w.
public struct Bgra4444 : IPixel<Bgra4444>, IPackedVector<ushort>
@ -11,6 +11,9 @@ namespace ImageSharp.PixelFormats
/// Packed pixel type containing unsigned normalized values ranging from 0 to 1. The x , y and z components use 5 bits, and the w component uses 1 bit.
public struct Bgra5551 : IPixel<Bgra5551>, IPackedVector<ushort>
/// Packed pixel type containing four 8-bit unsigned integer values, ranging from 0 to 255.
public struct Byte4 : IPixel<Byte4>, IPackedVector<uint>
@ -10,7 +10,9 @@ namespace ImageSharp.PixelFormats
/// Packed pixel type containing a single 16 bit floating point value.
/// Ranges from <0, 0, 0, 1> to <1, 0, 0, 1> in vector form.
public struct HalfSingle : IPixel<HalfSingle>, IPackedVector<ushort>
/// Packed pixel type containing two 16-bit floating-point values.
public struct HalfVector2 : IPixel<HalfVector2>, IPackedVector<uint>
/// Packed pixel type containing four 16-bit floating-point values.
public struct HalfVector4 : IPixel<HalfVector4>, IPackedVector<ulong>
/// Packed packed pixel type containing two 8-bit signed normalized values, ranging from −1 to 1.
/// Ranges from <-1, -1, 0, 1> to <1, 1, 0, 1> in vector form.
public struct NormalizedByte2 : IPixel<NormalizedByte2>, IPackedVector<ushort>
/// Packed pixel type containing four 8-bit signed normalized values, ranging from −1 to 1.
/// Ranges from <-1, -1, -1, -1> to <1, 1, 1, 1> in vector form.
public struct NormalizedByte4 : IPixel<NormalizedByte4>, IPackedVector<uint>
/// Packed pixel type containing two 16-bit signed normalized values, ranging from −1 to 1.
public struct NormalizedShort2 : IPixel<NormalizedShort2>, IPackedVector<uint>
/// Packed pixel type containing four 16-bit signed normalized values, ranging from −1 to 1.
public struct NormalizedShort4 : IPixel<NormalizedShort4>, IPackedVector<ulong>
/// Packed pixel type containing two 16-bit unsigned normalized values ranging from 0 to 1.
/// Ranges from <0, 0, 0, 1> to <1, 1, 0, 1> in vector form.
public struct Rg32 : IPixel<Rg32>, IPackedVector<uint>
@ -12,7 +12,9 @@ namespace ImageSharp.PixelFormats
/// Packed vector type containing unsigned normalized values ranging from 0 to 1.
/// The x, y and z components use 10 bits, and the w component uses 2 bits.
public struct Rgba1010102 : IPixel<Rgba1010102>, IPackedVector<uint>
/// The color components are stored in red, green, blue, and alpha order.
/// Packed pixel type containing four 16-bit unsigned normalized values ranging from 0 to 1.
public struct Rgba64 : IPixel<Rgba64>, IPackedVector<ulong>
/// Unpacked pixel type containing four 16-bit floating-point values typically ranging from 0 to 1.
/// Packed pixel type containing two 16-bit signed integer values.
/// Ranges from <-32767, -32767, 0, 1> to <32767, 32767, 0, 1> in vector form.
public struct Short2 : IPixel<Short2>, IPackedVector<uint>
/// Packed pixel type containing four 16-bit signed integer values.
/// Ranges from <-37267, -37267, -37267, -37267> to <37267, 37267, 37267, 37267> in vector form.
public struct Short4 : IPixel<Short4>, IPackedVector<ulong>