Edytuj

Udostępnij za pośrednictwem


Sse2.Average Method

Definition

Overloads

Average(Vector128<Byte>, Vector128<Byte>)

__m128i _mm_avg_epu8 (__m128i a, __m128i b)

PAVGB xmm, xmm/m128

Average(Vector128<UInt16>, Vector128<UInt16>)

__m128i _mm_avg_epu16 (__m128i a, __m128i b)

PAVGW xmm, xmm/m128

Average(Vector128<Byte>, Vector128<Byte>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_avg_epu8 (__m128i a, __m128i b)

PAVGB xmm, xmm/m128

public:
 static System::Runtime::Intrinsics::Vector128<System::Byte> Average(System::Runtime::Intrinsics::Vector128<System::Byte> left, System::Runtime::Intrinsics::Vector128<System::Byte> right);
public static System.Runtime.Intrinsics.Vector128<byte> Average (System.Runtime.Intrinsics.Vector128<byte> left, System.Runtime.Intrinsics.Vector128<byte> right);
static member Average : System.Runtime.Intrinsics.Vector128<byte> * System.Runtime.Intrinsics.Vector128<byte> -> System.Runtime.Intrinsics.Vector128<byte>
Public Shared Function Average (left As Vector128(Of Byte), right As Vector128(Of Byte)) As Vector128(Of Byte)

Parameters

left
Vector128<Byte>
right
Vector128<Byte>

Returns

Applies to

Average(Vector128<UInt16>, Vector128<UInt16>)

Source:
Sse2.cs
Source:
Sse2.cs
Source:
Sse2.cs

__m128i _mm_avg_epu16 (__m128i a, __m128i b)

PAVGW xmm, xmm/m128

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt16> Average(System::Runtime::Intrinsics::Vector128<System::UInt16> left, System::Runtime::Intrinsics::Vector128<System::UInt16> right);
public static System.Runtime.Intrinsics.Vector128<ushort> Average (System.Runtime.Intrinsics.Vector128<ushort> left, System.Runtime.Intrinsics.Vector128<ushort> right);
static member Average : System.Runtime.Intrinsics.Vector128<uint16> * System.Runtime.Intrinsics.Vector128<uint16> -> System.Runtime.Intrinsics.Vector128<uint16>
Public Shared Function Average (left As Vector128(Of UShort), right As Vector128(Of UShort)) As Vector128(Of UShort)

Parameters

right
Vector128<UInt16>

Returns

Applies to