Table of Contents

Method YGroup4Zip_Widen

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

YGroup4Zip_Widen(Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>)

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

[CLSCompliant(false)]
public static Vector128<sbyte> YGroup4Zip_Widen(Vector128<sbyte> x, Vector128<sbyte> y, Vector128<sbyte> z, Vector128<sbyte> w, out Vector128<sbyte> data1, out Vector128<sbyte> data2, out Vector128<sbyte> data3)

Parameters

x Vector128<sbyte>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector128<sbyte>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector128<sbyte>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector128<sbyte>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector128<sbyte>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector128<sbyte>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector128<sbyte>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector128<sbyte>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip_Widen(Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, out Vector128<byte>, out Vector128<byte>, out Vector128<byte>)

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

public static Vector128<byte> YGroup4Zip_Widen(Vector128<byte> x, Vector128<byte> y, Vector128<byte> z, Vector128<byte> w, out Vector128<byte> data1, out Vector128<byte> data2, out Vector128<byte> data3)

Parameters

x Vector128<byte>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector128<byte>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector128<byte>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector128<byte>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector128<byte>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector128<byte>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector128<byte>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector128<byte>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip_Widen(Vector128<short>, Vector128<short>, Vector128<short>, Vector128<short>, out Vector128<short>, out Vector128<short>, out Vector128<short>)

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

public static Vector128<short> YGroup4Zip_Widen(Vector128<short> x, Vector128<short> y, Vector128<short> z, Vector128<short> w, out Vector128<short> data1, out Vector128<short> data2, out Vector128<short> data3)

Parameters

x Vector128<short>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector128<short>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector128<short>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector128<short>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector128<short>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector128<short>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector128<short>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector128<short>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).

YGroup4Zip_Widen(Vector128<ushort>, Vector128<ushort>, Vector128<ushort>, Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>)

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

[CLSCompliant(false)]
public static Vector128<ushort> YGroup4Zip_Widen(Vector128<ushort> x, Vector128<ushort> y, Vector128<ushort> z, Vector128<ushort> w, out Vector128<ushort> data1, out Vector128<ushort> data2, out Vector128<ushort> data3)

Parameters

x Vector128<ushort>

A vector consisting purely of X-components (纯由X分量所组成的向量).

y Vector128<ushort>

A vector consisting purely of Y-components (纯由Y分量所组成的向量).

z Vector128<ushort>

A vector consisting purely of Z-components (纯由Z分量所组成的向量).

w Vector128<ushort>

A vector consisting purely of W-components (纯由W分量所组成的向量).

data1 Vector128<ushort>

Returns part 1 of the interleaved data (返回交织后数据的第1部分).

data2 Vector128<ushort>

Returns part 2 of the interleaved data (返回交织后数据的第2部分).

data3 Vector128<ushort>

Returns part 3 of the interleaved data (返回交织后数据的第3部分).

Returns

Vector128<ushort>

Returns part 0 of the interleaved data (返回交织后数据的第0部分).