|
Krita Source Code Documentation
|
#include <KoStreamedMath.h>
Classes | |
| struct | Pixel |
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 ()=default | |
| 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 &src_c1, const float_v &src_c2, const float_v &src_c3, const float_v &src_alpha) |
Static Public Member Functions | |
| static ALWAYS_INLINE void | denormalizeAlpha (float &alpha) |
| static ALWAYS_INLINE float | lerpMixedUintFloat (float a, float b, float alpha) |
| static ALWAYS_INLINE void | normalizeAlpha (float &alpha) |
| static ALWAYS_INLINE float | roundFloatToUint (float x) |
Definition at line 753 of file KoStreamedMath.h.
| using PixelWrapper< float, _impl >::float_v = xsimd::batch<float, _impl> |
Definition at line 756 of file KoStreamedMath.h.
| using PixelWrapper< float, _impl >::int_v = xsimd::batch<int, _impl> |
Definition at line 754 of file KoStreamedMath.h.
| using PixelWrapper< float, _impl >::uint_v = xsimd::batch<unsigned int, _impl> |
Definition at line 755 of file KoStreamedMath.h.
|
default |
|
inline |
Definition at line 833 of file KoStreamedMath.h.
|
inline |
Definition at line 839 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 787 of file KoStreamedMath.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 781 of file KoStreamedMath.h.
|
inline |
Definition at line 794 of file KoStreamedMath.h.
|
inlinestatic |
Definition at line 775 of file KoStreamedMath.h.
|
inline |
Definition at line 813 of file KoStreamedMath.h.