OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_FloatVectorOperations.h>
A collection of simple vector operations on arrays of floats, accelerated with SIMD instructions where possible.
Definition at line 42 of file juce_FloatVectorOperations.h.
|
staticnoexcept |
Copies a source vector to a destination, taking the absolute of each value.
Definition at line 857 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Copies a source vector to a destination, taking the absolute of each value.
Definition at line 842 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds a fixed value to each source value and stores it in the destination array.
Definition at line 599 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds the source values to the destination values.
Definition at line 619 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds each source1 value to the corresponding source2 value and stores the result in the destination array.
Definition at line 637 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds a fixed value to the destination values.
Definition at line 582 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds a fixed value to each source value and stores it in the destination array.
Definition at line 588 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds the source values to the destination values.
Definition at line 610 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds each source1 value to the corresponding source2 value and stores the result in the destination array.
Definition at line 628 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Adds a fixed value to the destination values.
Definition at line 572 of file juce_FloatVectorOperations.cpp.
Referenced by juce::AudioBuffer< Type >::addFrom(), juce::AudioBuffer< Type >::addFrom(), juce::dsp::Bias< FloatType >::process(), and juce::dsp::ConvolutionEngine::processSamples().
|
staticnoexcept |
Multiplies each source value by the given multiplier, then adds it to the destination value.
Definition at line 693 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each source1 value by the corresponding source2 value, then adds it to the destination value.
Definition at line 715 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each source value by the given multiplier, then adds it to the destination value.
Definition at line 682 of file juce_FloatVectorOperations.cpp.
Referenced by juce::AudioBuffer< Type >::addFrom(), juce::AudioBuffer< Type >::addFrom(), and juce::dsp::ConvolutionEngine::convolutionProcessingAndAccumulate().
|
staticnoexcept |
Multiplies each source1 value by the corresponding source2 value, then adds it to the destination value.
Definition at line 704 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
This method returns true if denormals are currently disabled.
Definition at line 1106 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Clears a vector of doubles.
Definition at line 511 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Clears a vector of floats.
Definition at line 502 of file juce_FloatVectorOperations.cpp.
Referenced by juce::AudioBuffer< Type >::applyGain(), juce::AudioBuffer< Type >::clear(), juce::AudioBuffer< Type >::clear(), juce::AudioBuffer< Type >::clear(), juce::AudioBuffer< Type >::copyFrom(), juce::AudioBuffer< Type >::copyFrom(), and juce::BufferingAudioReader::readSamples().
|
staticnoexcept |
Each element of dest is calculated by hard clipping the corresponding src element so that it is in the range specified by the arguments low and high.
Definition at line 964 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest is calculated by hard clipping the corresponding src element so that it is in the range specified by the arguments low and high.
Definition at line 951 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Converts a stream of integers to floats, multiplying each one by the given multiplier.
Definition at line 873 of file juce_FloatVectorOperations.cpp.
Referenced by juce::AudioFormatWriter::writeFromAudioReader().
|
staticnoexcept |
Copies a vector of doubles.
Definition at line 545 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Copies a vector of floats.
Definition at line 540 of file juce_FloatVectorOperations.cpp.
Referenced by juce::AudioBuffer< Type >::addFrom(), juce::AudioBuffer< Type >::addFrom(), juce::AudioBuffer< Type >::AudioBuffer(), juce::AudioBuffer< Type >::copyFrom(), juce::AudioBuffer< Type >::copyFrom(), juce::AudioBuffer< Type >::copyFrom(), juce::dsp::AudioBlock< SampleType >::copyTo(), juce::AudioBuffer< Type >::operator=(), juce::dsp::ConvolutionEngine::processSamples(), juce::BufferingAudioReader::readSamples(), and juce::AudioBuffer< Type >::setSize().
|
staticnoexcept |
Copies a vector of doubles, multiplying each value by a given multiplier
Definition at line 561 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Copies a vector of floats, multiplying each value by a given multiplier
Definition at line 550 of file juce_FloatVectorOperations.cpp.
Referenced by juce::AudioBuffer< Type >::addFrom(), juce::AudioBuffer< Type >::addFrom(), and juce::AudioBuffer< Type >::copyFrom().
|
staticnoexcept |
On Intel CPUs, this method enables the SSE flush-to-zero and denormalised-are-zero modes. This effectively sets the DAZ and FZ bits of the MXCSR register. On arm CPUs this will enable flush to zero mode. It's a convenient thing to call before audio processing code where you really want to avoid denormalisation performance hits.
Definition at line 1087 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
This method enables or disables the SSE/NEON flush-to-zero mode.
Definition at line 1070 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Copies a repeated value into a vector of doubles.
Definition at line 530 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Copies a repeated value into a vector of floats.
Definition at line 520 of file juce_FloatVectorOperations.cpp.
Referenced by juce::dsp::ConvolutionEngine::processSamples().
|
staticnoexcept |
Finds the maximum value in the given array.
Definition at line 1022 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Finds the maximum value in the given array.
Definition at line 1013 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Finds the minimum and maximum values in the given array.
Definition at line 986 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Finds the minimum and maximum values in the given array.
Definition at line 977 of file juce_FloatVectorOperations.cpp.
Referenced by juce::dsp::AudioBlock< SampleType >::findMinAndMax(), juce::AudioBuffer< Type >::findMinMax(), and juce::AudioFormatReader::readMaxLevels().
|
staticnoexcept |
Finds the minimum value in the given array.
Definition at line 1004 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Finds the minimum value in the given array.
Definition at line 995 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the maximum of the corresponding element of the source array and the given comp value.
Definition at line 926 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the maximum of the corresponding source1 and source2 values.
Definition at line 942 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the maximum of the corresponding element of the source array and the given comp value.
Definition at line 919 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the maximum of the corresponding source1 and source2 values.
Definition at line 933 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the minimum of the corresponding element of the source array and the given comp value.
Definition at line 894 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the minimum of the corresponding source1 and source2 values.
Definition at line 910 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the minimum of the corresponding element of the source array and the given comp value.
Definition at line 887 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Each element of dest will be the minimum of the corresponding source1 and source2 values.
Definition at line 901 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each of the source values by a fixed multiplier and stores the result in the destination array.
Definition at line 817 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies the destination values by the source values.
Definition at line 763 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each source1 value by the correspinding source2 value, then stores it in the destination array.
Definition at line 781 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each of the destination values by a fixed multiplier.
Definition at line 800 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each of the source values by a fixed multiplier and stores the result in the destination array.
Definition at line 810 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies the destination values by the source values.
Definition at line 754 of file juce_FloatVectorOperations.cpp.
Referenced by juce::SmoothedValueBase< SmoothedValueType >::applyGain(), juce::SmoothedValueBase< SmoothedValueType >::applyGain(), juce::AudioBuffer< Type >::applyGain(), juce::dsp::WindowingFunction< FloatType >::fillWindowingTables(), juce::dsp::WindowingFunction< FloatType >::multiplyWithWindowingTable(), and juce::dsp::Gain< FloatType >::process().
|
staticnoexcept |
Multiplies each source1 value by the correspinding source2 value, then stores it in the destination array.
Definition at line 772 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each of the destination values by a fixed multiplier.
Definition at line 790 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Copies a source vector to a destination, negating each value.
Definition at line 833 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Copies a source vector to a destination, negating each value.
Definition at line 824 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Subtracts the source values from the destination values.
Definition at line 655 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Subtracts each source2 value from the corresponding source1 value and stores the result in the destination array.
Definition at line 673 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Subtracts the source values from the destination values.
Definition at line 646 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Subtracts each source2 value from the corresponding source1 value and stores the result in the destination array.
Definition at line 664 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each source value by the given multiplier, then subtracts it to the destination value.
Definition at line 733 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each source1 value by the corresponding source2 value, then subtracts it to the destination value.
Definition at line 747 of file juce_FloatVectorOperations.cpp.
|
staticnoexcept |
Multiplies each source value by the given multiplier, then subtracts it to the destination value.
Definition at line 726 of file juce_FloatVectorOperations.cpp.
Referenced by juce::dsp::ConvolutionEngine::convolutionProcessingAndAccumulate().
|
staticnoexcept |
Multiplies each source1 value by the corresponding source2 value, then subtracts it to the destination value.
Definition at line 740 of file juce_FloatVectorOperations.cpp.