Method YGroup3ToGroup4_Unzip
- Namespace
- Zyl.VectorTraits.Impl.AVector
- Assembly
- VectorTraits.dll
YGroup3ToGroup4_Unzip(Vector<sbyte>, Vector<sbyte>, Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>)
Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据).
Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero))
. View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0
.
[CLSCompliant(false)]
public static Vector<sbyte> YGroup3ToGroup4_Unzip(Vector<sbyte> data0, Vector<sbyte> data1, Vector<sbyte> data2, out Vector<sbyte> result1, out Vector<sbyte> result2, out Vector<sbyte> result3)
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部分).
result1
Vector<sbyte>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector<sbyte>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector<sbyte>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also
YGroup3ToGroup4_Unzip(Vector<byte>, Vector<byte>, Vector<byte>, out Vector<byte>, out Vector<byte>, out Vector<byte>)
Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据).
Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero))
. View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0
.
public static Vector<byte> YGroup3ToGroup4_Unzip(Vector<byte> data0, Vector<byte> data1, Vector<byte> data2, out Vector<byte> result1, out Vector<byte> result2, out Vector<byte> result3)
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部分).
result1
Vector<byte>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector<byte>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector<byte>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also
YGroup3ToGroup4_Unzip(Vector<short>, Vector<short>, Vector<short>, out Vector<short>, out Vector<short>, out Vector<short>)
Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据).
Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero))
. View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0
.
public static Vector<short> YGroup3ToGroup4_Unzip(Vector<short> data0, Vector<short> data1, Vector<short> data2, out Vector<short> result1, out Vector<short> result2, out Vector<short> result3)
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部分).
result1
Vector<short>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector<short>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector<short>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also
YGroup3ToGroup4_Unzip(Vector<ushort>, Vector<ushort>, Vector<ushort>, out Vector<ushort>, out Vector<ushort>, out Vector<ushort>)
Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据).
Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero))
. View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0
.
[CLSCompliant(false)]
public static Vector<ushort> YGroup3ToGroup4_Unzip(Vector<ushort> data0, Vector<ushort> data1, Vector<ushort> data2, out Vector<ushort> result1, out Vector<ushort> result2, out Vector<ushort> result3)
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部分).
result1
Vector<ushort>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector<ushort>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector<ushort>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also
YGroup3ToGroup4_Unzip(Vector<int>, Vector<int>, Vector<int>, out Vector<int>, out Vector<int>, out Vector<int>)
Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据).
Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero))
. View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0
.
public static Vector<int> YGroup3ToGroup4_Unzip(Vector<int> data0, Vector<int> data1, Vector<int> data2, out Vector<int> result1, out Vector<int> result2, out Vector<int> result3)
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部分).
result1
Vector<int>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector<int>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector<int>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also
YGroup3ToGroup4_Unzip(Vector<uint>, Vector<uint>, Vector<uint>, out Vector<uint>, out Vector<uint>, out Vector<uint>)
Convert a 3-element group, to a 4-element group. It also converts packed RGB pixel data to packed RGBA pixel data (将3-元素组, 转为4-元素组. 它还能将 已打包的RGB像素数据, 转换为 已打包的RGBA像素数据).
Mnemonic: View for group: (result0, result1, result2, result3) = YGroup4Zip(YGroup3Unzip(data0, data1, data2), Vector.Zero))
. View for element: element_ref(i, result0, result1, result2, result3) := (3!=(i%4))?element_ref((i/4)*3+(i%4), data0, data1, data2):0
.
[CLSCompliant(false)]
public static Vector<uint> YGroup3ToGroup4_Unzip(Vector<uint> data0, Vector<uint> data1, Vector<uint> data2, out Vector<uint> result1, out Vector<uint> result2, out Vector<uint> result3)
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部分).
result1
Vector<uint>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector<uint>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector<uint>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also