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

#include <VM_SIMD.h>

Public Member Functions

SYS_FORCE_INLINE v4uf ()
 
SYS_FORCE_INLINE v4uf (const v4sf &v)
 
SYS_FORCE_INLINE v4uf (const v4uf &v)
 
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)
 
SYS_FORCE_INLINE v4uf operator= (const v4uf &v)
 
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
 

Public Attributes

v4sf vector
 

Detailed Description

Definition at line 126 of file VM_SIMD.h.

Constructor & Destructor Documentation

SYS_FORCE_INLINE v4uf::v4uf ( )
inline

Definition at line 128 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( const v4sf v)
inline

Definition at line 129 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( const v4uf v)
inline

Definition at line 130 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf::v4uf ( float  v)
inlineexplicit

Definition at line 131 of file VM_SIMD.h.

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

Definition at line 132 of file VM_SIMD.h.

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

Definition at line 134 of file VM_SIMD.h.

Member Function Documentation

SYS_FORCE_INLINE v4uf v4uf::abs ( ) const
inline

Definition at line 227 of file VM_SIMD.h.

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

Definition at line 228 of file VM_SIMD.h.

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

Definition at line 231 of file VM_SIMD.h.

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

Definition at line 145 of file VM_SIMD.h.

v4uu v4uf::floor ( ) const
inline

Definition at line 240 of file VM_SIMD.h.

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

Definition at line 204 of file VM_SIMD.h.

Definition at line 151 of file VM_SIMD.h.

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

Definition at line 163 of file VM_SIMD.h.

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

Definition at line 215 of file VM_SIMD.h.

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

Definition at line 220 of file VM_SIMD.h.

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

Definition at line 200 of file VM_SIMD.h.

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

Definition at line 209 of file VM_SIMD.h.

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

Definition at line 177 of file VM_SIMD.h.

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

Definition at line 189 of file VM_SIMD.h.

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

Definition at line 184 of file VM_SIMD.h.

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

Definition at line 193 of file VM_SIMD.h.

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

Definition at line 171 of file VM_SIMD.h.

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

Definition at line 187 of file VM_SIMD.h.

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

Definition at line 182 of file VM_SIMD.h.

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

Definition at line 191 of file VM_SIMD.h.

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

Definition at line 173 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator- ( ) const
inline

Definition at line 175 of file VM_SIMD.h.

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

Definition at line 188 of file VM_SIMD.h.

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

Definition at line 183 of file VM_SIMD.h.

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

Definition at line 192 of file VM_SIMD.h.

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

Definition at line 179 of file VM_SIMD.h.

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

Definition at line 190 of file VM_SIMD.h.

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

Definition at line 185 of file VM_SIMD.h.

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

Definition at line 194 of file VM_SIMD.h.

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

Definition at line 155 of file VM_SIMD.h.

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

Definition at line 165 of file VM_SIMD.h.

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

Definition at line 159 of file VM_SIMD.h.

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

Definition at line 167 of file VM_SIMD.h.

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

Definition at line 138 of file VM_SIMD.h.

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

Definition at line 140 of file VM_SIMD.h.

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

Definition at line 142 of file VM_SIMD.h.

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

Definition at line 149 of file VM_SIMD.h.

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

Definition at line 162 of file VM_SIMD.h.

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

Definition at line 153 of file VM_SIMD.h.

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

Definition at line 164 of file VM_SIMD.h.

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

Definition at line 157 of file VM_SIMD.h.

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

Definition at line 166 of file VM_SIMD.h.

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

Definition at line 223 of file VM_SIMD.h.

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

Definition at line 202 of file VM_SIMD.h.

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

Definition at line 211 of file VM_SIMD.h.

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

Definition at line 214 of file VM_SIMD.h.

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

Definition at line 219 of file VM_SIMD.h.

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

Definition at line 198 of file VM_SIMD.h.

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

Definition at line 207 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::operator~ ( ) const
inline

Definition at line 216 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uf v4uf::recip ( ) const
inline

Definition at line 234 of file VM_SIMD.h.

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

Definition at line 224 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 250 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 258 of file VM_SIMD.h.

SYS_FORCE_INLINE v4uu v4uf::toSignedInt ( ) const
inline

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

Member Data Documentation

v4sf v4uf::vector

Definition at line 264 of file VM_SIMD.h.


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