Table of Contents

Method YGroup4Unzip_Narrow

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

YGroup4Unzip_Narrow(Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>)

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

[CLSCompliant(false)]
public static Vector<sbyte> YGroup4Unzip_Narrow(Vector<sbyte> data0, Vector<sbyte> data1, Vector<sbyte> data2, Vector<sbyte> data3, out Vector<sbyte> y, out Vector<sbyte> z, out Vector<sbyte> w)

Parameters

data0 Vector<sbyte>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector<sbyte>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector<sbyte>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

data3 Vector<sbyte>

A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).

y Vector<sbyte>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

z Vector<sbyte>

Returns the vector made of the Z-components (返回Z分量所组成的向量).

w Vector<sbyte>

Returns the vector made of the W-components (返回W分量所组成的向量).

Returns

Vector<sbyte>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup4Unzip_Narrow(Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<byte>)

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

public static Vector<byte> YGroup4Unzip_Narrow(Vector<byte> data0, Vector<byte> data1, Vector<byte> data2, Vector<byte> data3, out Vector<byte> y, out Vector<byte> z, out Vector<byte> w)

Parameters

data0 Vector<byte>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector<byte>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector<byte>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

data3 Vector<byte>

A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).

y Vector<byte>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

z Vector<byte>

Returns the vector made of the Z-components (返回Z分量所组成的向量).

w Vector<byte>

Returns the vector made of the W-components (返回W分量所组成的向量).

Returns

Vector<byte>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup4Unzip_Narrow(Vector<short>, Vector<short>, Vector<short>, Vector<short>, out Vector<short>, out Vector<short>, out Vector<short>)

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

public static Vector<short> YGroup4Unzip_Narrow(Vector<short> data0, Vector<short> data1, Vector<short> data2, Vector<short> data3, out Vector<short> y, out Vector<short> z, out Vector<short> w)

Parameters

data0 Vector<short>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector<short>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector<short>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

data3 Vector<short>

A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).

y Vector<short>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

z Vector<short>

Returns the vector made of the Z-components (返回Z分量所组成的向量).

w Vector<short>

Returns the vector made of the W-components (返回W分量所组成的向量).

Returns

Vector<short>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also

YGroup4Unzip_Narrow(Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<ushort>)

De-Interleave 4-element groups into 4 vectors. It converts the 4-element groups AoS to SoA. It can also deinterleave packed RGBA pixel data into R,G,B,A planar data (将4-元素组解交织为4个向量. 它能将4元素组的 数组结构体 转为 结构体数组. 它还能将 已打包的RGBA像素数据, 解交织为 R,G,B,A 平面数据). Mnemonic: x[i] =: element_ref(4i, data0, data1, data2, data3), y[i] =: element_ref(4i+1, data0, data1, data2, data3), z[i] =: element_ref(4i+2, data0, data1, data2, data3), w[i] =: element_ref(4i+3, data0, data1, data2, data3).

[CLSCompliant(false)]
public static Vector<ushort> YGroup4Unzip_Narrow(Vector<ushort> data0, Vector<ushort> data1, Vector<ushort> data2, Vector<ushort> data3, out Vector<ushort> y, out Vector<ushort> z, out Vector<ushort> w)

Parameters

data0 Vector<ushort>

A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).

data1 Vector<ushort>

A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).

data2 Vector<ushort>

A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).

data3 Vector<ushort>

A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).

y Vector<ushort>

Returns the vector made of the Y-components (返回Y分量所组成的向量).

z Vector<ushort>

Returns the vector made of the Z-components (返回Z分量所组成的向量).

w Vector<ushort>

Returns the vector made of the W-components (返回W分量所组成的向量).

Returns

Vector<ushort>

Returns the vector made of the X-components (返回X分量所组成的向量).

See Also