Method YGroup4ToGroup3
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
YGroup4ToGroup3(Vector128<float>, Vector128<float>, Vector128<float>, Vector128<float>, out Vector128<float>, out Vector128<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)
.
Vector128<float> YGroup4ToGroup3(Vector128<float> data0, Vector128<float> data1, Vector128<float> data2, Vector128<float> data3, out Vector128<float> result1, out Vector128<float> result2)
Parameters
data0
Vector128<float>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector128<float>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector128<float>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector128<float>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector128<float>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<float>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<double>, Vector128<double>, Vector128<double>, Vector128<double>, out Vector128<double>, out Vector128<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)
.
Vector128<double> YGroup4ToGroup3(Vector128<double> data0, Vector128<double> data1, Vector128<double> data2, Vector128<double> data3, out Vector128<double> result1, out Vector128<double> result2)
Parameters
data0
Vector128<double>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector128<double>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector128<double>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector128<double>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector128<double>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<double>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>, Vector128<sbyte>, out Vector128<sbyte>, out Vector128<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)
.
Vector128<sbyte> YGroup4ToGroup3(Vector128<sbyte> data0, Vector128<sbyte> data1, Vector128<sbyte> data2, Vector128<sbyte> data3, out Vector128<sbyte> result1, out Vector128<sbyte> result2)
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部分).
result1
Vector128<sbyte>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<sbyte>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<byte>, Vector128<byte>, Vector128<byte>, Vector128<byte>, out Vector128<byte>, out Vector128<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)
.
Vector128<byte> YGroup4ToGroup3(Vector128<byte> data0, Vector128<byte> data1, Vector128<byte> data2, Vector128<byte> data3, out Vector128<byte> result1, out Vector128<byte> result2)
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部分).
result1
Vector128<byte>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<byte>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<short>, Vector128<short>, Vector128<short>, Vector128<short>, out Vector128<short>, out Vector128<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)
.
Vector128<short> YGroup4ToGroup3(Vector128<short> data0, Vector128<short> data1, Vector128<short> data2, Vector128<short> data3, out Vector128<short> result1, out Vector128<short> result2)
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部分).
result1
Vector128<short>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<short>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<ushort>, Vector128<ushort>, Vector128<ushort>, Vector128<ushort>, out Vector128<ushort>, out Vector128<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)
.
Vector128<ushort> YGroup4ToGroup3(Vector128<ushort> data0, Vector128<ushort> data1, Vector128<ushort> data2, Vector128<ushort> data3, out Vector128<ushort> result1, out Vector128<ushort> result2)
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部分).
result1
Vector128<ushort>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<ushort>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<int>, Vector128<int>, Vector128<int>, Vector128<int>, out Vector128<int>, out Vector128<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)
.
Vector128<int> YGroup4ToGroup3(Vector128<int> data0, Vector128<int> data1, Vector128<int> data2, Vector128<int> data3, out Vector128<int> result1, out Vector128<int> result2)
Parameters
data0
Vector128<int>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector128<int>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector128<int>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector128<int>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector128<int>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<int>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<uint>, Vector128<uint>, Vector128<uint>, Vector128<uint>, out Vector128<uint>, out Vector128<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)
.
Vector128<uint> YGroup4ToGroup3(Vector128<uint> data0, Vector128<uint> data1, Vector128<uint> data2, Vector128<uint> data3, out Vector128<uint> result1, out Vector128<uint> result2)
Parameters
data0
Vector128<uint>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector128<uint>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector128<uint>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector128<uint>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector128<uint>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<uint>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<long>, Vector128<long>, Vector128<long>, Vector128<long>, out Vector128<long>, out Vector128<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)
.
Vector128<long> YGroup4ToGroup3(Vector128<long> data0, Vector128<long> data1, Vector128<long> data2, Vector128<long> data3, out Vector128<long> result1, out Vector128<long> result2)
Parameters
data0
Vector128<long>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector128<long>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector128<long>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector128<long>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector128<long>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<long>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also
YGroup4ToGroup3(Vector128<ulong>, Vector128<ulong>, Vector128<ulong>, Vector128<ulong>, out Vector128<ulong>, out Vector128<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)
.
Vector128<ulong> YGroup4ToGroup3(Vector128<ulong> data0, Vector128<ulong> data1, Vector128<ulong> data2, Vector128<ulong> data3, out Vector128<ulong> result1, out Vector128<ulong> result2)
Parameters
data0
Vector128<ulong>A vector made of 4-element groups - Part 0 (由4元素组所组成的向量 - 第0部分).
data1
Vector128<ulong>A vector made of 4-element groups - Part 1 (由4元素组所组成的向量 - 第1部分).
data2
Vector128<ulong>A vector made of 4-element groups - Part 2 (由4元素组所组成的向量 - 第2部分).
data3
Vector128<ulong>A vector made of 4-element groups - Part 3 (由4元素组所组成的向量 - 第3部分).
result1
Vector128<ulong>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<ulong>Returns part 2 of the converted data (返回转换后数据的第2部分).
Returns
- See Also