Method YGroup4ToGroup3
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup4ToGroup3<T>(Vector512<T>, Vector512<T>, Vector512<T>, Vector512<T>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector512<T> Result0, Vector512<T> Result1, Vector512<T> Result2) YGroup4ToGroup3<T>(Vector512<T> data0, Vector512<T> data1, Vector512<T> data2, Vector512<T> data3) where T : struct
Parameters
data0
Vector512<T>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<T>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<T>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<T>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<T> Result0, Vector512<T> Result1, Vector512<T> Result2)
Returns the converted data. (返回转换后数据).
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
YGroup4ToGroup3(Vector512<float>, Vector512<float>, Vector512<float>, Vector512<float>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static (Vector512<float> Result0, Vector512<float> Result1, Vector512<float> Result2) YGroup4ToGroup3(Vector512<float> data0, Vector512<float> data1, Vector512<float> data2, Vector512<float> data3)
Parameters
data0
Vector512<float>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<float>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<float>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<float>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<float> Result0, Vector512<float> Result1, Vector512<float> Result2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<double>, Vector512<double>, Vector512<double>, Vector512<double>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static (Vector512<double> Result0, Vector512<double> Result1, Vector512<double> Result2) YGroup4ToGroup3(Vector512<double> data0, Vector512<double> data1, Vector512<double> data2, Vector512<double> data3)
Parameters
data0
Vector512<double>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<double>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<double>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<double>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<double> Result0, Vector512<double> Result1, Vector512<double> Result2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static (Vector512<sbyte> Result0, Vector512<sbyte> Result1, Vector512<sbyte> Result2) YGroup4ToGroup3(Vector512<sbyte> data0, Vector512<sbyte> data1, Vector512<sbyte> data2, Vector512<sbyte> data3)
Parameters
data0
Vector512<sbyte>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<sbyte>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<sbyte>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<sbyte>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<byte>, Vector512<byte>, Vector512<byte>, Vector512<byte>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static (Vector512<byte> Result0, Vector512<byte> Result1, Vector512<byte> Result2) YGroup4ToGroup3(Vector512<byte> data0, Vector512<byte> data1, Vector512<byte> data2, Vector512<byte> data3)
Parameters
data0
Vector512<byte>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<byte>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<byte>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<byte>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<short>, Vector512<short>, Vector512<short>, Vector512<short>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static (Vector512<short> Result0, Vector512<short> Result1, Vector512<short> Result2) YGroup4ToGroup3(Vector512<short> data0, Vector512<short> data1, Vector512<short> data2, Vector512<short> data3)
Parameters
data0
Vector512<short>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<short>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<short>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<short>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<short> args0, Vector512<short> args1, Vector512<short> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static (Vector512<ushort> Result0, Vector512<ushort> Result1, Vector512<ushort> Result2) YGroup4ToGroup3(Vector512<ushort> data0, Vector512<ushort> data1, Vector512<ushort> data2, Vector512<ushort> data3)
Parameters
data0
Vector512<ushort>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<ushort>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<ushort>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<ushort>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<int>, Vector512<int>, Vector512<int>, Vector512<int>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static (Vector512<int> Result0, Vector512<int> Result1, Vector512<int> Result2) YGroup4ToGroup3(Vector512<int> data0, Vector512<int> data1, Vector512<int> data2, Vector512<int> data3)
Parameters
data0
Vector512<int>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<int>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<int>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<int>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<uint>, Vector512<uint>, Vector512<uint>, Vector512<uint>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static (Vector512<uint> Result0, Vector512<uint> Result1, Vector512<uint> Result2) YGroup4ToGroup3(Vector512<uint> data0, Vector512<uint> data1, Vector512<uint> data2, Vector512<uint> data3)
Parameters
data0
Vector512<uint>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<uint>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<uint>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<uint>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<long>, Vector512<long>, Vector512<long>, Vector512<long>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static (Vector512<long> Result0, Vector512<long> Result1, Vector512<long> Result2) YGroup4ToGroup3(Vector512<long> data0, Vector512<long> data1, Vector512<long> data2, Vector512<long> data3)
Parameters
data0
Vector512<long>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<long>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<long>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<long>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, Vector512<ulong>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static (Vector512<ulong> Result0, Vector512<ulong> Result1, Vector512<ulong> Result2) YGroup4ToGroup3(Vector512<ulong> data0, Vector512<ulong> data1, Vector512<ulong> data2, Vector512<ulong> data3)
Parameters
data0
Vector512<ulong>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<ulong>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<ulong>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<ulong>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
Returns
- (Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2)
Returns the converted data. (返回转换后数据).
YGroup4ToGroup3(Vector512<float>, Vector512<float>, Vector512<float>, Vector512<float>, out Vector512<float>, out Vector512<float>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static Vector512<float> YGroup4ToGroup3(Vector512<float> data0, Vector512<float> data1, Vector512<float> data2, Vector512<float> data3, out Vector512<float> result1, out Vector512<float> result2)
Parameters
data0
Vector512<float>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<float>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<float>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<float>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<float>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<float>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<double>, Vector512<double>, Vector512<double>, Vector512<double>, out Vector512<double>, out Vector512<double>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static Vector512<double> YGroup4ToGroup3(Vector512<double> data0, Vector512<double> data1, Vector512<double> data2, Vector512<double> data3, out Vector512<double> result1, out Vector512<double> result2)
Parameters
data0
Vector512<double>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<double>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<double>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<double>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<double>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<double>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, out Vector512<sbyte>, out Vector512<sbyte>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static Vector512<sbyte> YGroup4ToGroup3(Vector512<sbyte> data0, Vector512<sbyte> data1, Vector512<sbyte> data2, Vector512<sbyte> data3, out Vector512<sbyte> result1, out Vector512<sbyte> result2)
Parameters
data0
Vector512<sbyte>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<sbyte>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<sbyte>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<sbyte>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<sbyte>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<sbyte>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<byte>, Vector512<byte>, Vector512<byte>, Vector512<byte>, out Vector512<byte>, out Vector512<byte>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static Vector512<byte> YGroup4ToGroup3(Vector512<byte> data0, Vector512<byte> data1, Vector512<byte> data2, Vector512<byte> data3, out Vector512<byte> result1, out Vector512<byte> result2)
Parameters
data0
Vector512<byte>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<byte>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<byte>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<byte>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<byte>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<byte>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<short>, Vector512<short>, Vector512<short>, Vector512<short>, out Vector512<short>, out Vector512<short>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static Vector512<short> YGroup4ToGroup3(Vector512<short> data0, Vector512<short> data1, Vector512<short> data2, Vector512<short> data3, out Vector512<short> result1, out Vector512<short> result2)
Parameters
data0
Vector512<short>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<short>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<short>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<short>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<short>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<short>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, out Vector512<ushort>, out Vector512<ushort>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static Vector512<ushort> YGroup4ToGroup3(Vector512<ushort> data0, Vector512<ushort> data1, Vector512<ushort> data2, Vector512<ushort> data3, out Vector512<ushort> result1, out Vector512<ushort> result2)
Parameters
data0
Vector512<ushort>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<ushort>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<ushort>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<ushort>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<ushort>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<ushort>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<int>, Vector512<int>, Vector512<int>, Vector512<int>, out Vector512<int>, out Vector512<int>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static Vector512<int> YGroup4ToGroup3(Vector512<int> data0, Vector512<int> data1, Vector512<int> data2, Vector512<int> data3, out Vector512<int> result1, out Vector512<int> result2)
Parameters
data0
Vector512<int>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<int>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<int>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<int>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<int>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<int>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<uint>, Vector512<uint>, Vector512<uint>, Vector512<uint>, out Vector512<uint>, out Vector512<uint>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static Vector512<uint> YGroup4ToGroup3(Vector512<uint> data0, Vector512<uint> data1, Vector512<uint> data2, Vector512<uint> data3, out Vector512<uint> result1, out Vector512<uint> result2)
Parameters
data0
Vector512<uint>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<uint>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<uint>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<uint>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<uint>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<uint>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<long>, Vector512<long>, Vector512<long>, Vector512<long>, out Vector512<long>, out Vector512<long>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
public static Vector512<long> YGroup4ToGroup3(Vector512<long> data0, Vector512<long> data1, Vector512<long> data2, Vector512<long> data3, out Vector512<long> result1, out Vector512<long> result2)
Parameters
data0
Vector512<long>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<long>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<long>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<long>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<long>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<long>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, out Vector512<ulong>, out Vector512<ulong>)
Convert a 4-element group, to a 3-element group. It also converts packed RGBA pixel data to packed RGB pixel data (将4-元素组, 转为3-元素组. 它还能将 已打包的RGBA像素数据, 转换为 已打包的RGB像素数据).
Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(YGroup4Unzip(data0, data1, data2, data3)))
. View for element: element_ref(i, result0, result1, result2) := element_ref((i/3)*4+(i%3), data0, data1, data2, data3)
.
[CLSCompliant(false)]
public static Vector512<ulong> YGroup4ToGroup3(Vector512<ulong> data0, Vector512<ulong> data1, Vector512<ulong> data2, Vector512<ulong> data3, out Vector512<ulong> result1, out Vector512<ulong> result2)
Parameters
data0
Vector512<ulong>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector512<ulong>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector512<ulong>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector512<ulong>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector512<ulong>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector512<ulong>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also