Table of Contents

Method YGroup4Unzip_Narrow

Namespace
Zyl.VectorTraits.Impl.AVector128
Assembly
VectorTraits.dll

YGroup4Unzip_Narrow(Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>, out Vector128<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 Vector128<sbyte> YGroup4Unzip_Narrow(Vector128<sbyte> data0, Vector128<sbyte> data1, Vector128<sbyte> data2, Vector128<sbyte> data3, out Vector128<sbyte> y, out Vector128<sbyte> z, out Vector128<sbyte> w)

Parameters

data0 Vector128<sbyte>

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

data1 Vector128<sbyte>

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

data2 Vector128<sbyte>

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

data3 Vector128<sbyte>

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

y Vector128<sbyte>

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

z Vector128<sbyte>

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

w Vector128<sbyte>

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

Returns

Vector128<sbyte>

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

See Also

YGroup4Unzip_Narrow(Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, out Vector128<byte>, out Vector128<byte>, out Vector128<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 Vector128<byte> YGroup4Unzip_Narrow(Vector128<byte> data0, Vector128<byte> data1, Vector128<byte> data2, Vector128<byte> data3, out Vector128<byte> y, out Vector128<byte> z, out Vector128<byte> w)

Parameters

data0 Vector128<byte>

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

data1 Vector128<byte>

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

data2 Vector128<byte>

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

data3 Vector128<byte>

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

y Vector128<byte>

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

z Vector128<byte>

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

w Vector128<byte>

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

Returns

Vector128<byte>

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

See Also

YGroup4Unzip_Narrow(Vector128<short>, Vector128<short>, Vector128<short>, Vector128<short>, out Vector128<short>, out Vector128<short>, out Vector128<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 Vector128<short> YGroup4Unzip_Narrow(Vector128<short> data0, Vector128<short> data1, Vector128<short> data2, Vector128<short> data3, out Vector128<short> y, out Vector128<short> z, out Vector128<short> w)

Parameters

data0 Vector128<short>

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

data1 Vector128<short>

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

data2 Vector128<short>

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

data3 Vector128<short>

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

y Vector128<short>

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

z Vector128<short>

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

w Vector128<short>

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

Returns

Vector128<short>

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

See Also

YGroup4Unzip_Narrow(Vector128<ushort>, Vector128<ushort>, Vector128<ushort>, Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>, out Vector128<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 Vector128<ushort> YGroup4Unzip_Narrow(Vector128<ushort> data0, Vector128<ushort> data1, Vector128<ushort> data2, Vector128<ushort> data3, out Vector128<ushort> y, out Vector128<ushort> z, out Vector128<ushort> w)

Parameters

data0 Vector128<ushort>

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

data1 Vector128<ushort>

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

data2 Vector128<ushort>

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

data3 Vector128<ushort>

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

y Vector128<ushort>

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

z Vector128<ushort>

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

w Vector128<ushort>

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

Returns

Vector128<ushort>

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

See Also