Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omSIMDScalarInt32_4.h File Reference
#include "omMathConfig.h"
#include "omSIMDScalar.h"

Classes

class  om::math::SIMDScalar< Int32, 4 >
 A class representing a 4-component 32-bit signed-integer SIMD scalar. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Functions

SIMDScalar< Int32, 4 > om::math::abs (const SIMDScalar< Int32, 4 > &scalar)
 Compute the absolute value of each component of the specified SIMD scalar and return the result. More...
 
SIMDScalar< Int32, 4 > om::math::min (const SIMDScalar< Int32, 4 > &scalar1, const SIMDScalar< Int32, 4 > &scalar2)
 Compute the minimum of each component of the specified SIMD scalars and return the result. More...
 
SIMDScalar< Int32, 4 > om::math::max (const SIMDScalar< Int32, 4 > &scalar1, const SIMDScalar< Int32, 4 > &scalar2)
 Compute the maximum of each component of the specified SIMD scalars and return the result. More...
 
template<UInt i1, UInt i2, UInt i3, UInt i4>
SIMDScalar< Int32, 4 > om::math::shuffle (const SIMDScalar< Int32, 4 > &scalar)
 Pick 4 elements from the specified SIMD scalar and return the result. More...
 
template<UInt i1, UInt i2, UInt i3, UInt i4>
SIMDScalar< Int32, 4 > om::math::shuffle (const SIMDScalar< Int32, 4 > &scalar1, const SIMDScalar< Int32, 4 > &scalar2)
 Pick two elements from each SIMD scalar and return the result. More...
 
SIMDScalar< Int32, 4 > om::math::select (const SIMDScalar< Int32, 4 > &selector, const SIMDScalar< Int32, 4 > &scalar1, const SIMDScalar< Int32, 4 > &scalar2)
 Select elements from the first SIMD scalar if the selector is TRUE, otherwise from the second. More...
 
SIMDScalar< Int32, 4 > om::math::lows (const SIMDScalar< Int32, 4 > &scalar)
 Copy the first and third element of the specified SIMD scalar into the second and fourth places. More...
 
SIMDScalar< Int32, 4 > om::math::highs (const SIMDScalar< Int32, 4 > &scalar)
 Copy the second and fourth element of the specified SIMD scalar into the first and third places. More...