Table of Contents

Method YGroup1ToGroup4

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup1ToGroup4(Vector256<float>, out Vector256<float>, out Vector256<float>, out Vector256<float>)

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

Vector256<float> YGroup1ToGroup4(Vector256<float> x, out Vector256<float> result1, out Vector256<float> result2, out Vector256<float> result3)

Parameters

x Vector256<float>

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

result1 Vector256<float>

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

result2 Vector256<float>

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

result3 Vector256<float>

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

Returns

Vector256<float>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<double>, out Vector256<double>, out Vector256<double>, out Vector256<double>)

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

Vector256<double> YGroup1ToGroup4(Vector256<double> x, out Vector256<double> result1, out Vector256<double> result2, out Vector256<double> result3)

Parameters

x Vector256<double>

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

result1 Vector256<double>

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

result2 Vector256<double>

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

result3 Vector256<double>

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

Returns

Vector256<double>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<sbyte>, out Vector256<sbyte>, out Vector256<sbyte>, out Vector256<sbyte>)

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

Vector256<sbyte> YGroup1ToGroup4(Vector256<sbyte> x, out Vector256<sbyte> result1, out Vector256<sbyte> result2, out Vector256<sbyte> result3)

Parameters

x Vector256<sbyte>

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

result1 Vector256<sbyte>

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

result2 Vector256<sbyte>

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

result3 Vector256<sbyte>

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

Returns

Vector256<sbyte>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<byte>, out Vector256<byte>, out Vector256<byte>, out Vector256<byte>)

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

Vector256<byte> YGroup1ToGroup4(Vector256<byte> x, out Vector256<byte> result1, out Vector256<byte> result2, out Vector256<byte> result3)

Parameters

x Vector256<byte>

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

result1 Vector256<byte>

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

result2 Vector256<byte>

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

result3 Vector256<byte>

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

Returns

Vector256<byte>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<short>, out Vector256<short>, out Vector256<short>, out Vector256<short>)

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

Vector256<short> YGroup1ToGroup4(Vector256<short> x, out Vector256<short> result1, out Vector256<short> result2, out Vector256<short> result3)

Parameters

x Vector256<short>

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

result1 Vector256<short>

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

result2 Vector256<short>

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

result3 Vector256<short>

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

Returns

Vector256<short>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<ushort>, out Vector256<ushort>, out Vector256<ushort>, out Vector256<ushort>)

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

Vector256<ushort> YGroup1ToGroup4(Vector256<ushort> x, out Vector256<ushort> result1, out Vector256<ushort> result2, out Vector256<ushort> result3)

Parameters

x Vector256<ushort>

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

result1 Vector256<ushort>

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

result2 Vector256<ushort>

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

result3 Vector256<ushort>

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

Returns

Vector256<ushort>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<int>, out Vector256<int>, out Vector256<int>, out Vector256<int>)

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

Vector256<int> YGroup1ToGroup4(Vector256<int> x, out Vector256<int> result1, out Vector256<int> result2, out Vector256<int> result3)

Parameters

x Vector256<int>

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

result1 Vector256<int>

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

result2 Vector256<int>

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

result3 Vector256<int>

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

Returns

Vector256<int>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<uint>, out Vector256<uint>, out Vector256<uint>, out Vector256<uint>)

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

Vector256<uint> YGroup1ToGroup4(Vector256<uint> x, out Vector256<uint> result1, out Vector256<uint> result2, out Vector256<uint> result3)

Parameters

x Vector256<uint>

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

result1 Vector256<uint>

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

result2 Vector256<uint>

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

result3 Vector256<uint>

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

Returns

Vector256<uint>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<long>, out Vector256<long>, out Vector256<long>, out Vector256<long>)

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

Vector256<long> YGroup1ToGroup4(Vector256<long> x, out Vector256<long> result1, out Vector256<long> result2, out Vector256<long> result3)

Parameters

x Vector256<long>

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

result1 Vector256<long>

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

result2 Vector256<long>

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

result3 Vector256<long>

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

Returns

Vector256<long>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).

YGroup1ToGroup4(Vector256<ulong>, out Vector256<ulong>, out Vector256<ulong>, out Vector256<ulong>)

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

Vector256<ulong> YGroup1ToGroup4(Vector256<ulong> x, out Vector256<ulong> result1, out Vector256<ulong> result2, out Vector256<ulong> result3)

Parameters

x Vector256<ulong>

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

result1 Vector256<ulong>

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

result2 Vector256<ulong>

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

result3 Vector256<ulong>

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

Returns

Vector256<ulong>

Returns part 0 of the interleaved result (返回交织后数据的第0部分).