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