Table of Contents

Method YGroup1ToGroup3_Move

Namespace
Zyl.VectorTraits.Impl.AVector128
Assembly
VectorTraits.dll

YGroup1ToGroup3_Move(Vector128<long>, out Vector128<long>, out Vector128<long>)

Convert a 1-element group, to a 3-element group. It also converts grayscale pixel data to packed RGB pixel data (将1-元素组, 转为3-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGB像素数据). Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(x, x, x). View for element: element_ref(i, result0, result1, result2) := x[i/3].

public static Vector128<long> YGroup1ToGroup3_Move(Vector128<long> x, out Vector128<long> result1, out Vector128<long> result2)

Parameters

x Vector128<long>

A vector consisting purely of X-components (纯由X分量所组成的向量).

result1 Vector128<long>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector128<long>

Returns part 2 of the converted data (返回转换后数据的第2部分).

Returns

Vector128<long>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also

YGroup1ToGroup3_Move(Vector128<ulong>, out Vector128<ulong>, out Vector128<ulong>)

Convert a 1-element group, to a 3-element group. It also converts grayscale pixel data to packed RGB pixel data (将1-元素组, 转为3-元素组. 它还能将 灰度像素数据, 转换为 已打包的RGB像素数据). Mnemonic: View for group: (result0, result1, result2) = YGroup3Zip(x, x, x). View for element: element_ref(i, result0, result1, result2) := x[i/3].

[CLSCompliant(false)]
public static Vector128<ulong> YGroup1ToGroup3_Move(Vector128<ulong> x, out Vector128<ulong> result1, out Vector128<ulong> result2)

Parameters

x Vector128<ulong>

A vector consisting purely of X-components (纯由X分量所组成的向量).

result1 Vector128<ulong>

Returns part 1 of the converted data (返回转换后数据的第1部分).

result2 Vector128<ulong>

Returns part 2 of the converted data (返回转换后数据的第2部分).

Returns

Vector128<ulong>

Returns part 0 of the converted data (返回转换后数据的第0部分).

See Also