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 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 180 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 193 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( const v4uf v)
inlinenoexcept

Definition at line 194 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( float  v)
inlineexplicit

Definition at line 198 of file VM_SIMD.h.

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

Definition at line 199 of file VM_SIMD.h.

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

Definition at line 201 of file VM_SIMD.h.

Member Function Documentation

SYS_FORCE_INLINE v4uf v4uf::abs ( ) const
inline

Definition at line 292 of file VM_SIMD.h.

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

Definition at line 293 of file VM_SIMD.h.

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

Definition at line 296 of file VM_SIMD.h.

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

Definition at line 210 of file VM_SIMD.h.

v4uu v4uf::floor ( ) const
inline

Definition at line 305 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::isFinite ( ) const
inline

Definition at line 328 of file VM_SIMD.h.

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

Definition at line 269 of file VM_SIMD.h.

Definition at line 216 of file VM_SIMD.h.

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

Definition at line 228 of file VM_SIMD.h.

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

Definition at line 280 of file VM_SIMD.h.

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

Definition at line 285 of file VM_SIMD.h.

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

Definition at line 265 of file VM_SIMD.h.

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

Definition at line 274 of file VM_SIMD.h.

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

Definition at line 242 of file VM_SIMD.h.

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

Definition at line 254 of file VM_SIMD.h.

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

Definition at line 249 of file VM_SIMD.h.

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

Definition at line 258 of file VM_SIMD.h.

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

Definition at line 236 of file VM_SIMD.h.

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

Definition at line 252 of file VM_SIMD.h.

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

Definition at line 247 of file VM_SIMD.h.

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

Definition at line 256 of file VM_SIMD.h.

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

Definition at line 238 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator- ( ) const
inline

Definition at line 240 of file VM_SIMD.h.

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

Definition at line 253 of file VM_SIMD.h.

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

Definition at line 248 of file VM_SIMD.h.

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

Definition at line 257 of file VM_SIMD.h.

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

Definition at line 244 of file VM_SIMD.h.

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

Definition at line 255 of file VM_SIMD.h.

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

Definition at line 250 of file VM_SIMD.h.

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

Definition at line 259 of file VM_SIMD.h.

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

Definition at line 220 of file VM_SIMD.h.

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

Definition at line 230 of file VM_SIMD.h.

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

Definition at line 224 of file VM_SIMD.h.

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

Definition at line 232 of file VM_SIMD.h.

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

Definition at line 195 of file VM_SIMD.h.

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

Definition at line 205 of file VM_SIMD.h.

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

Definition at line 207 of file VM_SIMD.h.

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

Definition at line 214 of file VM_SIMD.h.

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

Definition at line 227 of file VM_SIMD.h.

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

Definition at line 218 of file VM_SIMD.h.

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

Definition at line 229 of file VM_SIMD.h.

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

Definition at line 222 of file VM_SIMD.h.

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

Definition at line 231 of file VM_SIMD.h.

SYS_FORCE_INLINE float v4uf::operator[] ( int  idx) 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 267 of file VM_SIMD.h.

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

Definition at line 276 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 284 of file VM_SIMD.h.

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

Definition at line 263 of file VM_SIMD.h.

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

Definition at line 272 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator~ ( ) const
inline

Definition at line 281 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::recip ( ) const
inline

Definition at line 299 of file VM_SIMD.h.

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

Definition at line 289 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 315 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 323 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::toSignedInt ( ) const
inline

Definition at line 303 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 302 of file VM_SIMD.h.

Member Data Documentation

v4sf v4uf::vector

Definition at line 336 of file VM_SIMD.h.


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