Method YGroup3ToGroup4_Move
- Namespace
- Zyl.VectorTraits.Impl.AVector128
- Assembly
- VectorTraits.dll
YGroup3ToGroup4_Move(Vector128<long>, Vector128<long>, Vector128<long>, out Vector128<long>, out Vector128<long>, out Vector128<long>)
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 Vector128<long> YGroup3ToGroup4_Move(Vector128<long> data0, Vector128<long> data1, Vector128<long> data2, out Vector128<long> result1, out Vector128<long> result2, out Vector128<long> result3)
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部分).
result1
Vector128<long>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<long>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector128<long>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also
YGroup3ToGroup4_Move(Vector128<ulong>, Vector128<ulong>, Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>)
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 Vector128<ulong> YGroup3ToGroup4_Move(Vector128<ulong> data0, Vector128<ulong> data1, Vector128<ulong> data2, out Vector128<ulong> result1, out Vector128<ulong> result2, out Vector128<ulong> result3)
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部分).
result1
Vector128<ulong>Returns part 1 of the converted data (返回转换后数据的第1部分).
result2
Vector128<ulong>Returns part 2 of the converted data (返回转换后数据的第2部分).
result3
Vector128<ulong>Returns part 3 of the converted data (返回转换后数据的第3部分).
Returns
- See Also