Inclusion file for the "float4" type. More...
#include <emmintrin.h>
Go to the source code of this file.
Classes | |
class | avir::float4 |
SIMD packed 4-float type. More... | |
Typedefs | |
typedef fpclass_def< avir ::float4, float > | avir::fpclass_float4 |
Class that can be used as the "fpclass" template parameter of the avir::CImageResizer class to perform calculation using default interleaved algorithm, using SIMD float4 type. | |
Functions | |
float4 | avir::clamp (const float4 &Value, const float4 &minv, const float4 &maxv) |
SIMD function "clamps" (clips) the specified packed values so that they are not lesser than "minv", and not greater than "maxv". | |
float4 | avir::round (const float4 &v) |
SIMD rounding function, exact result. | |
Inclusion file for the "float4" type.
This file includes the "float4" SSE-based type used for SIMD variable storage and processing.
AVIR Copyright (c) 2015-2025 Aleksey Vaneev
See the "LICENSE" file for license.
SIMD function "clamps" (clips) the specified packed values so that they are not lesser than "minv", and not greater than "maxv".
Value | Value to clamp. |
minv | Minimal allowed value. |
maxv | Maximal allowed value. |
float4 avir::round | ( | const float4 & | v | ) |
SIMD rounding function, exact result.
v | Value to round. |