|
Krita Source Code Documentation
|
#include <KoStreamedMath.h>
Public Types | |
| using | float_v = xsimd::batch<float, _impl> |
| using | int_v = xsimd::batch<int, _impl> |
| using | uint_v = xsimd::batch<unsigned int, _impl> |
Public Member Functions | |
| ALWAYS_INLINE void | clearPixels (quint8 *dataDst) |
| ALWAYS_INLINE void | copyPixels (const quint8 *dataSrc, quint8 *dataDst) |
| PixelWrapper () | |
| ALWAYS_INLINE void | read (const void *src, float_v &dst_c1, float_v &dst_c2, float_v &dst_c3, float_v &dst_alpha) |
| ALWAYS_INLINE void | write (void *dst, const float_v &c1, const float_v &c2, const float_v &c3, const float_v &a) |
Static Public Member Functions | |
| static ALWAYS_INLINE void | denormalizeAlpha (float &alpha) |
| static ALWAYS_INLINE quint16 | lerpMixedUintFloat (quint16 a, quint16 b, float alpha) |
| static ALWAYS_INLINE void | normalizeAlpha (float &alpha) |
| static ALWAYS_INLINE quint16 | roundFloatToUint (float x) |
Public Attributes | |
| const uint_v | mask |
| const float_v | uint16Max |
| const float_v | uint16Rec1 |
Definition at line 565 of file KoStreamedMath.h.
| using PixelWrapper< quint16, _impl >::float_v = xsimd::batch<float, _impl> |
Definition at line 568 of file KoStreamedMath.h.
| using PixelWrapper< quint16, _impl >::int_v = xsimd::batch<int, _impl> |
Definition at line 566 of file KoStreamedMath.h.
| using PixelWrapper< quint16, _impl >::uint_v = xsimd::batch<unsigned int, _impl> |
Definition at line 567 of file KoStreamedMath.h.
|
inline |
Definition at line 599 of file KoStreamedMath.h.
|
inline |
Definition at line 659 of file KoStreamedMath.h.
|
inline |
Definition at line 665 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 593 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 574 of file KoStreamedMath.h.
References OptiRound< _impl, result_type >::roundScalar().
|
inlinestatic |
Definition at line 586 of file KoStreamedMath.h.
|
inline |
Definition at line 606 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 580 of file KoStreamedMath.h.
References OptiRound< _impl, result_type >::roundScalar().
|
inline |
Definition at line 633 of file KoStreamedMath.h.
| const uint_v PixelWrapper< quint16, _impl >::mask |
Definition at line 670 of file KoStreamedMath.h.
| const float_v PixelWrapper< quint16, _impl >::uint16Max |
Definition at line 671 of file KoStreamedMath.h.
| const float_v PixelWrapper< quint16, _impl >::uint16Rec1 |
Definition at line 672 of file KoStreamedMath.h.