Method YGroup4Zip_Widen
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YGroup4Zip_Widen(Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<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 Vector<sbyte> YGroup4Zip_Widen(Vector<sbyte> x, Vector<sbyte> y, Vector<sbyte> z, Vector<sbyte> w, out Vector<sbyte> data1, out Vector<sbyte> data2, out Vector<sbyte> data3)
Parameters
x
Vector<sbyte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<sbyte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<sbyte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<sbyte>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<sbyte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<sbyte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<sbyte>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Widen(Vector<byte>, Vector<byte>, Vector<byte>, Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<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 Vector<byte> YGroup4Zip_Widen(Vector<byte> x, Vector<byte> y, Vector<byte> z, Vector<byte> w, out Vector<byte> data1, out Vector<byte> data2, out Vector<byte> data3)
Parameters
x
Vector<byte>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<byte>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<byte>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<byte>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<byte>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<byte>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<byte>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Widen(Vector<short>, Vector<short>, Vector<short>, Vector<short>, out Vector<short>, out Vector<short>, out Vector<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 Vector<short> YGroup4Zip_Widen(Vector<short> x, Vector<short> y, Vector<short> z, Vector<short> w, out Vector<short> data1, out Vector<short> data2, out Vector<short> data3)
Parameters
x
Vector<short>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<short>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<short>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<short>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<short>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<short>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<short>Returns part 3 of the interleaved data (返回交织后数据的第3部分).
Returns
YGroup4Zip_Widen(Vector<ushort>, Vector<ushort>, Vector<ushort>, Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<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 Vector<ushort> YGroup4Zip_Widen(Vector<ushort> x, Vector<ushort> y, Vector<ushort> z, Vector<ushort> w, out Vector<ushort> data1, out Vector<ushort> data2, out Vector<ushort> data3)
Parameters
x
Vector<ushort>A vector consisting purely of X-components (纯由X分量所组成的向量).
y
Vector<ushort>A vector consisting purely of Y-components (纯由Y分量所组成的向量).
z
Vector<ushort>A vector consisting purely of Z-components (纯由Z分量所组成的向量).
w
Vector<ushort>A vector consisting purely of W-components (纯由W分量所组成的向量).
data1
Vector<ushort>Returns part 1 of the interleaved data (返回交织后数据的第1部分).
data2
Vector<ushort>Returns part 2 of the interleaved data (返回交织后数据的第2部分).
data3
Vector<ushort>Returns part 3 of the interleaved data (返回交织后数据的第3部分).