HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
v4uf Class Reference

#include <VM_SIMD.h>

Public Member Functions

SYS_FORCE_INLINE v4uf () noexcept=default
 
SYS_FORCE_INLINE v4uf (const v4sf &v) noexcept
 
SYS_FORCE_INLINE v4uf (const v4uf &v) noexcept
 
SYS_FORCE_INLINE v4uf operator= (const v4uf &v) noexcept
 
SYS_FORCE_INLINE v4uf (float v)
 
SYS_FORCE_INLINE v4uf (const float v[4])
 
SYS_FORCE_INLINE v4uf (float a, float b, float c, float d)
 
SYS_FORCE_INLINE void store (float v[4]) const
 
SYS_FORCE_INLINE v4uf operator= (float v)
 
SYS_FORCE_INLINE v4uf operator= (v4sf v) noexcept
 
SYS_FORCE_INLINE void condAssign (const v4uf &val, const v4uu &c)
 
SYS_FORCE_INLINE v4uu operator== (const v4uf &v) const
 
SYS_FORCE_INLINE v4uu operator!= (const v4uf &v) const
 
SYS_FORCE_INLINE v4uu operator> (const v4uf &v) const
 
SYS_FORCE_INLINE v4uu operator< (const v4uf &v) const
 
SYS_FORCE_INLINE v4uu operator>= (const v4uf &v) const
 
SYS_FORCE_INLINE v4uu operator<= (const v4uf &v) const
 
SYS_FORCE_INLINE v4uu operator== (float v) const
 
SYS_FORCE_INLINE v4uu operator!= (float v) const
 
SYS_FORCE_INLINE v4uu operator> (float v) const
 
SYS_FORCE_INLINE v4uu operator< (float v) const
 
SYS_FORCE_INLINE v4uu operator>= (float v) const
 
SYS_FORCE_INLINE v4uu operator<= (float v) const
 
SYS_FORCE_INLINE v4uf operator+ (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator- (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator- () const
 
SYS_FORCE_INLINE v4uf operator* (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator/ (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator+= (const v4uf &r)
 
SYS_FORCE_INLINE v4uf operator-= (const v4uf &r)
 
SYS_FORCE_INLINE v4uf operator*= (const v4uf &r)
 
SYS_FORCE_INLINE v4uf operator/= (const v4uf &r)
 
SYS_FORCE_INLINE v4uf operator+ (float r) const
 
SYS_FORCE_INLINE v4uf operator- (float r) const
 
SYS_FORCE_INLINE v4uf operator* (float r) const
 
SYS_FORCE_INLINE v4uf operator/ (float r) const
 
SYS_FORCE_INLINE v4uf operator+= (float r)
 
SYS_FORCE_INLINE v4uf operator-= (float r)
 
SYS_FORCE_INLINE v4uf operator*= (float r)
 
SYS_FORCE_INLINE v4uf operator/= (float r)
 
SYS_FORCE_INLINE v4uf operator|| (const v4uu &r) const
 
SYS_FORCE_INLINE v4uf operator&& (const v4uu &r) const
 
SYS_FORCE_INLINE v4uf operator^ (const v4uu &r) const
 
SYS_FORCE_INLINE v4uf operator! () const
 
SYS_FORCE_INLINE v4uf operator|| (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator&& (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator^ (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator| (const v4uu &r) const
 
SYS_FORCE_INLINE v4uf operator& (const v4uu &r) const
 
SYS_FORCE_INLINE v4uf operator~ () const
 
SYS_FORCE_INLINE v4uf operator| (const v4uf &r) const
 
SYS_FORCE_INLINE v4uf operator& (const v4uf &r) const
 
SYS_FORCE_INLINE float operator[] (int idx) const
 
SYS_FORCE_INLINE void setComp (int idx, float v)
 
SYS_FORCE_INLINE v4uf abs () const
 
SYS_FORCE_INLINE v4uf clamp (const v4uf &low, const v4uf &high) const
 
SYS_FORCE_INLINE v4uf clamp (float low, float high) const
 
SYS_FORCE_INLINE v4uf recip () const
 
SYS_FORCE_INLINE v4uu toUnsignedInt () const
 This is a lie, it is a signed int. More...
 
SYS_FORCE_INLINE v4uu toSignedInt () const
 
v4uu floor () const
 
v4uu splitFloat ()
 
template<int A, int B, int C, int D>
SYS_FORCE_INLINE v4uf swizzle () const
 
SYS_FORCE_INLINE v4uu isFinite () const
 

Public Attributes

v4sf vector
 

Detailed Description

Definition at line 188 of file VM_SIMD.h.

Constructor & Destructor Documentation

SYS_FORCE_INLINE v4uf::v4uf ( )
defaultnoexcept
SYS_FORCE_INLINE v4uf::v4uf ( const v4sf v)
inlinenoexcept

Definition at line 201 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( const v4uf v)
inlinenoexcept

Definition at line 202 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( float  v)
inlineexplicit

Definition at line 206 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( const float  v[4])
inlineexplicit

Definition at line 207 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( float  a,
float  b,
float  c,
float  d 
)
inline

Definition at line 209 of file VM_SIMD.h.

Member Function Documentation

SYS_FORCE_INLINE v4uf v4uf::abs ( ) const
inline

Definition at line 304 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::clamp ( const v4uf low,
const v4uf high 
) const
inline

Definition at line 305 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::clamp ( float  low,
float  high 
) const
inline

Definition at line 308 of file VM_SIMD.h.

SYS_FORCE_INLINE void v4uf::condAssign ( const v4uf val,
const v4uu c 
)
inline

Definition at line 222 of file VM_SIMD.h.

v4uu v4uf::floor ( ) const
inline

Definition at line 317 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::isFinite ( ) const
inline

Definition at line 340 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator! ( void  ) const
inline

Definition at line 281 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator!= ( const v4uf v) const
inline

Definition at line 228 of file VM_SIMD.h.

Definition at line 240 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator& ( const v4uu r) const
inline

Definition at line 292 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator& ( const v4uf r) const
inline

Definition at line 297 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator&& ( const v4uu r) const
inline

Definition at line 277 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator&& ( const v4uf r) const
inline

Definition at line 286 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator* ( const v4uf r) const
inline

Definition at line 254 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator* ( float  r) const
inline

Definition at line 266 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator*= ( const v4uf r)
inline

Definition at line 261 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator*= ( float  r)
inline

Definition at line 270 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator+ ( const v4uf r) const
inline

Definition at line 248 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator+ ( float  r) const
inline

Definition at line 264 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator+= ( const v4uf r)
inline

Definition at line 259 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator+= ( float  r)
inline

Definition at line 268 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator- ( const v4uf r) const
inline

Definition at line 250 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator- ( ) const
inline

Definition at line 252 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator- ( float  r) const
inline

Definition at line 265 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator-= ( const v4uf r)
inline

Definition at line 260 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator-= ( float  r)
inline

Definition at line 269 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator/ ( const v4uf r) const
inline

Definition at line 256 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator/ ( float  r) const
inline

Definition at line 267 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator/= ( const v4uf r)
inline

Definition at line 262 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator/= ( float  r)
inline

Definition at line 271 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator< ( const v4uf v) const
inline

Definition at line 232 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator< ( float  v) const
inline

Definition at line 242 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator<= ( const v4uf v) const
inline

Definition at line 236 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator<= ( float  v) const
inline

Definition at line 244 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator= ( const v4uf v)
inlinenoexcept

Definition at line 203 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator= ( float  v)
inline

Definition at line 217 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator= ( v4sf  v)
inlinenoexcept

Definition at line 219 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator== ( const v4uf v) const
inline

Definition at line 226 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator== ( float  v) const
inline

Definition at line 239 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator> ( const v4uf v) const
inline

Definition at line 230 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator> ( float  v) const
inline

Definition at line 241 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator>= ( const v4uf v) const
inline

Definition at line 234 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::operator>= ( float  v) const
inline

Definition at line 243 of file VM_SIMD.h.

SYS_FORCE_INLINE float v4uf::operator[] ( int  idx) const
inline

Definition at line 300 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator^ ( const v4uu r) const
inline

Definition at line 279 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator^ ( const v4uf r) const
inline

Definition at line 288 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator| ( const v4uu r) const
inline

Definition at line 291 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator| ( const v4uf r) const
inline

Definition at line 296 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator|| ( const v4uu r) const
inline

Definition at line 275 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator|| ( const v4uf r) const
inline

Definition at line 284 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator~ ( ) const
inline

Definition at line 293 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::recip ( ) const
inline

Definition at line 311 of file VM_SIMD.h.

SYS_FORCE_INLINE void v4uf::setComp ( int  idx,
float  v 
)
inline

Definition at line 301 of file VM_SIMD.h.

v4uu v4uf::splitFloat ( )
inline

Returns the integer part of this float, this becomes the 0..1 fractional component.

Definition at line 327 of file VM_SIMD.h.

SYS_FORCE_INLINE void v4uf::store ( float  v[4]) const
inline

Definition at line 213 of file VM_SIMD.h.

template<int A, int B, int C, int D>
SYS_FORCE_INLINE v4uf v4uf::swizzle ( ) const
inline

Definition at line 335 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::toSignedInt ( ) const
inline

Definition at line 315 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::toUnsignedInt ( ) const
inline

This is a lie, it is a signed int.

Definition at line 314 of file VM_SIMD.h.

Member Data Documentation

v4sf v4uf::vector

Definition at line 348 of file VM_SIMD.h.


The documentation for this class was generated from the following file: