Table of Contents

Method YGroup1ToGroup3_Zip

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

YGroup1ToGroup3_Zip(Vector<sbyte>, out Vector<sbyte>, out Vector<sbyte>)

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 Vector<sbyte> YGroup1ToGroup3_Zip(Vector<sbyte> x, out Vector<sbyte> result1, out Vector<sbyte> result2)

Parameters

x Vector<sbyte>

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

result1 Vector<sbyte>

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

result2 Vector<sbyte>

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

Returns

Vector<sbyte>

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

See Also

YGroup1ToGroup3_Zip(Vector<byte>, out Vector<byte>, out Vector<byte>)

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 Vector<byte> YGroup1ToGroup3_Zip(Vector<byte> x, out Vector<byte> result1, out Vector<byte> result2)

Parameters

x Vector<byte>

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

result1 Vector<byte>

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

result2 Vector<byte>

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

Returns

Vector<byte>

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

See Also

YGroup1ToGroup3_Zip(Vector<short>, out Vector<short>, out Vector<short>)

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 Vector<short> YGroup1ToGroup3_Zip(Vector<short> x, out Vector<short> result1, out Vector<short> result2)

Parameters

x Vector<short>

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

result1 Vector<short>

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

result2 Vector<short>

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

Returns

Vector<short>

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

See Also

YGroup1ToGroup3_Zip(Vector<ushort>, out Vector<ushort>, out Vector<ushort>)

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 Vector<ushort> YGroup1ToGroup3_Zip(Vector<ushort> x, out Vector<ushort> result1, out Vector<ushort> result2)

Parameters

x Vector<ushort>

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

result1 Vector<ushort>

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

result2 Vector<ushort>

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

Returns

Vector<ushort>

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

See Also

YGroup1ToGroup3_Zip(Vector<int>, out Vector<int>, out Vector<int>)

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 Vector<int> YGroup1ToGroup3_Zip(Vector<int> x, out Vector<int> result1, out Vector<int> result2)

Parameters

x Vector<int>

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

result1 Vector<int>

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

result2 Vector<int>

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

Returns

Vector<int>

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

See Also

YGroup1ToGroup3_Zip(Vector<uint>, out Vector<uint>, out Vector<uint>)

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 Vector<uint> YGroup1ToGroup3_Zip(Vector<uint> x, out Vector<uint> result1, out Vector<uint> result2)

Parameters

x Vector<uint>

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

result1 Vector<uint>

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

result2 Vector<uint>

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

Returns

Vector<uint>

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

See Also