LibSWIFFT
1.2.0
|
Classes | |
struct | SwifftCompact |
An auto-memory-aligned SWIFFT compact-form data structure. More... | |
struct | SwifftInput |
An auto-memory-aligned SWIFFT input data structure. More... | |
struct | SwifftOutput |
An auto-memory-aligned SWIFFT output data structure. More... | |
Functions | |
SwifftInput & | Copy (SwifftInput &dst, const SwifftInput &src) |
Copy a SWIFFT input data structure. More... | |
SwifftInput & | Set (SwifftInput &lhs, BitSequence value) |
Set all 8-bit elements of a SWIFFT input data structure to a value. More... | |
SwifftOutput & | Copy (SwifftOutput &dst, const SwifftOutput &src) |
Copy a SWIFFT output data structure. More... | |
SwifftOutput & | Set (SwifftOutput &lhs, const int16_t value) |
Set all 16-bit elements of a SWIFFT output data structure to a value. More... | |
SwifftCompact & | Copy (SwifftCompact &dst, const SwifftCompact &src) |
Copy a SWIFFT compact-form data structure. More... | |
SwifftCompact & | Set (SwifftCompact &lhs, BitSequence value) |
Set all 8-bit elements of a SWIFFT compact-form data structure to a value. More... | |
LIBSWIFFT_INLINE bool | operator== (const SwifftInput &si1, const SwifftInput &si2) |
Tests for equality of two SWIFFT input data structures. More... | |
LIBSWIFFT_INLINE bool | operator!= (const SwifftInput &si1, const SwifftInput &si2) |
Tests for inequality of two SWIFFT input data structures. More... | |
LIBSWIFFT_INLINE bool | operator== (const SwifftOutput &so1, const SwifftOutput &so2) |
Tests for equality of two SWIFFT output data structures. More... | |
LIBSWIFFT_INLINE bool | operator!= (const SwifftOutput &so1, const SwifftOutput &so2) |
Tests for inequality of two SWIFFT output data structures. More... | |
LIBSWIFFT_INLINE bool | operator== (const SwifftCompact &sc1, const SwifftCompact &sc2) |
Tests for equality of two SWIFFT compact-form data structures. More... | |
LIBSWIFFT_INLINE bool | operator!= (const SwifftCompact &sc1, const SwifftCompact &sc2) |
Tests for inequality of two SWIFFT compact-form data structures. More... | |
LIBSWIFFT_INLINE SwifftOutput & | operator+= (SwifftOutput &lhs, const int16_t value) |
Adds a value to each 16-bit element of a SWIFFT output data structure. More... | |
LIBSWIFFT_INLINE SwifftOutput & | operator-= (SwifftOutput &lhs, const int16_t value) |
Subtracts a value from each 16-bit element of a SWIFFT output data structure. More... | |
LIBSWIFFT_INLINE SwifftOutput & | operator*= (SwifftOutput &lhs, const int16_t value) |
Multiplies each 16-bit element of a SWIFFT output data structure by a value. More... | |
LIBSWIFFT_INLINE SwifftOutput & | operator+= (SwifftOutput &lhs, const SwifftOutput &rhs) |
Adds a second SWIFFT output data structure to a first one, element-wise. More... | |
LIBSWIFFT_INLINE SwifftOutput & | operator-= (SwifftOutput &lhs, const SwifftOutput &rhs) |
Subtracts a first SWIFFT output data structure from a second one, element-wise. More... | |
LIBSWIFFT_INLINE SwifftOutput & | operator*= (SwifftOutput &lhs, const SwifftOutput &rhs) |
Multiplies a first SWIFFT output data structure by a second one, element-wise. More... | |
Variables | |
struct SWIFFT_ALIGN | SwifftInput |
struct SWIFFT_ALIGN | SwifftOutput |
struct SWIFFT_ALIGN | SwifftCompact |
LIBSWIFFT_INLINE SwifftInput & LibSwifft::Copy | ( | SwifftInput & | dst, |
const SwifftInput & | src | ||
) |
Copy a SWIFFT input data structure.
[out] | dst | the destination to copy to. |
[in] | src | the source to copy from. |
LIBSWIFFT_INLINE SwifftOutput & LibSwifft::Copy | ( | SwifftOutput & | dst, |
const SwifftOutput & | src | ||
) |
Copy a SWIFFT output data structure.
[out] | dst | the destination to copy to. |
[in] | src | the source to copy from. |
LIBSWIFFT_INLINE SwifftCompact & LibSwifft::Copy | ( | SwifftCompact & | dst, |
const SwifftCompact & | src | ||
) |
Copy a SWIFFT compact-form data structure.
[out] | dst | the destination to copy to. |
[in] | src | the source to copy from. |
LIBSWIFFT_INLINE bool LibSwifft::operator!= | ( | const SwifftInput & | si1, |
const SwifftInput & | si2 | ||
) |
Tests for inequality of two SWIFFT input data structures.
[in] | si1 | the first SWIFFT input. |
[in] | si2 | the second SWIFFT input. |
LIBSWIFFT_INLINE bool LibSwifft::operator!= | ( | const SwifftOutput & | so1, |
const SwifftOutput & | so2 | ||
) |
Tests for inequality of two SWIFFT output data structures.
[in] | so1 | the first SWIFFT output. |
[in] | so2 | the second SWIFFT output. |
LIBSWIFFT_INLINE bool LibSwifft::operator!= | ( | const SwifftCompact & | sc1, |
const SwifftCompact & | sc2 | ||
) |
Tests for inequality of two SWIFFT compact-form data structures.
[in] | sc1 | the first SWIFFT compact-form. |
[in] | sc2 | the second SWIFFT compact-form. |
LIBSWIFFT_INLINE SwifftOutput& LibSwifft::operator*= | ( | SwifftOutput & | lhs, |
const int16_t | value | ||
) |
Multiplies each 16-bit element of a SWIFFT output data structure by a value.
[in,out] | lhs | the SWIFFT output. |
[in] | value | the value. |
LIBSWIFFT_INLINE SwifftOutput& LibSwifft::operator*= | ( | SwifftOutput & | lhs, |
const SwifftOutput & | rhs | ||
) |
Multiplies a first SWIFFT output data structure by a second one, element-wise.
[in,out] | lhs | the first SWIFFT output. |
[in] | rhs | the second SWIFFT output. |
LIBSWIFFT_INLINE SwifftOutput& LibSwifft::operator+= | ( | SwifftOutput & | lhs, |
const int16_t | value | ||
) |
Adds a value to each 16-bit element of a SWIFFT output data structure.
[in,out] | lhs | the SWIFFT output. |
[in] | value | the value. |
LIBSWIFFT_INLINE SwifftOutput& LibSwifft::operator+= | ( | SwifftOutput & | lhs, |
const SwifftOutput & | rhs | ||
) |
Adds a second SWIFFT output data structure to a first one, element-wise.
[in,out] | lhs | the first SWIFFT output. |
[in] | rhs | the second SWIFFT output. |
LIBSWIFFT_INLINE SwifftOutput& LibSwifft::operator-= | ( | SwifftOutput & | lhs, |
const int16_t | value | ||
) |
Subtracts a value from each 16-bit element of a SWIFFT output data structure.
[in,out] | lhs | the SWIFFT output. |
[in] | value | the value. |
LIBSWIFFT_INLINE SwifftOutput& LibSwifft::operator-= | ( | SwifftOutput & | lhs, |
const SwifftOutput & | rhs | ||
) |
Subtracts a first SWIFFT output data structure from a second one, element-wise.
[in,out] | lhs | the first SWIFFT output. |
[in] | rhs | the second SWIFFT output. |
LIBSWIFFT_INLINE bool LibSwifft::operator== | ( | const SwifftInput & | si1, |
const SwifftInput & | si2 | ||
) |
Tests for equality of two SWIFFT input data structures.
[in] | si1 | the first SWIFFT input. |
[in] | si2 | the second SWIFFT input. |
LIBSWIFFT_INLINE bool LibSwifft::operator== | ( | const SwifftOutput & | so1, |
const SwifftOutput & | so2 | ||
) |
Tests for equality of two SWIFFT output data structures.
[in] | so1 | the first SWIFFT output. |
[in] | so2 | the second SWIFFT output. |
LIBSWIFFT_INLINE bool LibSwifft::operator== | ( | const SwifftCompact & | sc1, |
const SwifftCompact & | sc2 | ||
) |
Tests for equality of two SWIFFT compact-form data structures.
[in] | sc1 | the first SWIFFT compact-form. |
[in] | sc2 | the second SWIFFT compact-form. |
LIBSWIFFT_INLINE SwifftInput & LibSwifft::Set | ( | SwifftInput & | lhs, |
BitSequence | value | ||
) |
Set all 8-bit elements of a SWIFFT input data structure to a value.
[out] | lhs | the SWIFFT input to set. |
[in] | value | the value to set to. |
LIBSWIFFT_INLINE SwifftOutput & LibSwifft::Set | ( | SwifftOutput & | lhs, |
const int16_t | value | ||
) |
Set all 16-bit elements of a SWIFFT output data structure to a value.
[out] | lhs | the SWIFFT output to set. |
[in] | value | the value to set to. |
LIBSWIFFT_INLINE SwifftCompact & LibSwifft::Set | ( | SwifftCompact & | lhs, |
BitSequence | value | ||
) |
Set all 8-bit elements of a SWIFFT compact-form data structure to a value.
[out] | lhs | the SWIFFT compact-form to set. |
[in] | value | the value to set to. |