Table of Contents

Method YGroup1ToGroup4WithW

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YGroup1ToGroup4WithW(Vector128<float>, Vector128<float>, out Vector128<float>, out Vector128<float>, out Vector128<float>)

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

Vector128<float> YGroup1ToGroup4WithW(Vector128<float> x, Vector128<float> w, out Vector128<float> result1, out Vector128<float> result2, out Vector128<float> result3)

Parameters

x Vector128<float>

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

w Vector128<float>

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

result1 Vector128<float>

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

result2 Vector128<float>

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

result3 Vector128<float>

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

Returns

Vector128<float>

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

YGroup1ToGroup4WithW(Vector128<double>, Vector128<double>, out Vector128<double>, out Vector128<double>, out Vector128<double>)

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

Vector128<double> YGroup1ToGroup4WithW(Vector128<double> x, Vector128<double> w, out Vector128<double> result1, out Vector128<double> result2, out Vector128<double> result3)

Parameters

x Vector128<double>

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

w Vector128<double>

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

result1 Vector128<double>

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

result2 Vector128<double>

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

result3 Vector128<double>

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

Returns

Vector128<double>

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

YGroup1ToGroup4WithW(Vector128<sbyte>, Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>, out Vector128<sbyte>)

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

Vector128<sbyte> YGroup1ToGroup4WithW(Vector128<sbyte> x, Vector128<sbyte> w, out Vector128<sbyte> result1, out Vector128<sbyte> result2, out Vector128<sbyte> result3)

Parameters

x Vector128<sbyte>

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

w Vector128<sbyte>

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

result1 Vector128<sbyte>

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

result2 Vector128<sbyte>

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

result3 Vector128<sbyte>

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

Returns

Vector128<sbyte>

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

YGroup1ToGroup4WithW(Vector128<byte>, Vector128<byte>, out Vector128<byte>, out Vector128<byte>, out Vector128<byte>)

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

Vector128<byte> YGroup1ToGroup4WithW(Vector128<byte> x, Vector128<byte> w, out Vector128<byte> result1, out Vector128<byte> result2, out Vector128<byte> result3)

Parameters

x Vector128<byte>

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

w Vector128<byte>

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

result1 Vector128<byte>

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

result2 Vector128<byte>

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

result3 Vector128<byte>

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

Returns

Vector128<byte>

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

YGroup1ToGroup4WithW(Vector128<short>, Vector128<short>, out Vector128<short>, out Vector128<short>, out Vector128<short>)

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

Vector128<short> YGroup1ToGroup4WithW(Vector128<short> x, Vector128<short> w, out Vector128<short> result1, out Vector128<short> result2, out Vector128<short> result3)

Parameters

x Vector128<short>

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

w Vector128<short>

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

result1 Vector128<short>

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

result2 Vector128<short>

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

result3 Vector128<short>

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

Returns

Vector128<short>

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

YGroup1ToGroup4WithW(Vector128<ushort>, Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>, out Vector128<ushort>)

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

Vector128<ushort> YGroup1ToGroup4WithW(Vector128<ushort> x, Vector128<ushort> w, out Vector128<ushort> result1, out Vector128<ushort> result2, out Vector128<ushort> result3)

Parameters

x Vector128<ushort>

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

w Vector128<ushort>

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

result1 Vector128<ushort>

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

result2 Vector128<ushort>

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

result3 Vector128<ushort>

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

Returns

Vector128<ushort>

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

YGroup1ToGroup4WithW(Vector128<int>, Vector128<int>, out Vector128<int>, out Vector128<int>, out Vector128<int>)

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

Vector128<int> YGroup1ToGroup4WithW(Vector128<int> x, Vector128<int> w, out Vector128<int> result1, out Vector128<int> result2, out Vector128<int> result3)

Parameters

x Vector128<int>

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

w Vector128<int>

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

result1 Vector128<int>

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

result2 Vector128<int>

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

result3 Vector128<int>

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

Returns

Vector128<int>

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

YGroup1ToGroup4WithW(Vector128<uint>, Vector128<uint>, out Vector128<uint>, out Vector128<uint>, out Vector128<uint>)

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

Vector128<uint> YGroup1ToGroup4WithW(Vector128<uint> x, Vector128<uint> w, out Vector128<uint> result1, out Vector128<uint> result2, out Vector128<uint> result3)

Parameters

x Vector128<uint>

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

w Vector128<uint>

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

result1 Vector128<uint>

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

result2 Vector128<uint>

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

result3 Vector128<uint>

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

Returns

Vector128<uint>

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

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

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

Vector128<long> YGroup1ToGroup4WithW(Vector128<long> x, Vector128<long> w, out Vector128<long> result1, out Vector128<long> result2, out Vector128<long> result3)

Parameters

x Vector128<long>

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

w Vector128<long>

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

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

Vector128<long>

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

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

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

Vector128<ulong> YGroup1ToGroup4WithW(Vector128<ulong> x, Vector128<ulong> w, out Vector128<ulong> result1, out Vector128<ulong> result2, out Vector128<ulong> result3)

Parameters

x Vector128<ulong>

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

w Vector128<ulong>

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

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

Vector128<ulong>

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