Mixxx
|
#include <sampleutil.h>
Static Public Member Functions | |
static CSAMPLE * | alloc (int size) |
static void | free (CSAMPLE *pBuffer) |
static void | applyGain (CSAMPLE *pBuffer, CSAMPLE gain, int iNumSamples) |
static void | applyAlternatingGain (CSAMPLE *pBuffer, CSAMPLE gain1, CSAMPLE gain2, int iNumSamples) |
static void | addWithGain (CSAMPLE *pDest, const CSAMPLE *pSrc, CSAMPLE gain, int iNumSamples) |
static void | add2WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, int iNumSamples) |
static void | add3WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, const CSAMPLE *pSrc3, CSAMPLE gain3, int iNumSamples) |
static void | copyWithGain (CSAMPLE *pDest, const CSAMPLE *pSrc, CSAMPLE gain, int iNumSamples) |
static void | copy2WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, int iNumSamples) |
static void | copy3WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, const CSAMPLE *pSrc3, CSAMPLE gain3, int iNumSamples) |
static void | copy4WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, const CSAMPLE *pSrc3, CSAMPLE gain3, const CSAMPLE *pSrc4, CSAMPLE gain4, int iNumSamples) |
static void | copy5WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, const CSAMPLE *pSrc3, CSAMPLE gain3, const CSAMPLE *pSrc4, CSAMPLE gain4, const CSAMPLE *pSrc5, CSAMPLE gain5, int iNumSamples) |
static void | copy6WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, const CSAMPLE *pSrc3, CSAMPLE gain3, const CSAMPLE *pSrc4, CSAMPLE gain4, const CSAMPLE *pSrc5, CSAMPLE gain5, const CSAMPLE *pSrc6, CSAMPLE gain6, int iNumSamples) |
static void | copy7WithGain (CSAMPLE *pDest, const CSAMPLE *pSrc1, CSAMPLE gain1, const CSAMPLE *pSrc2, CSAMPLE gain2, const CSAMPLE *pSrc3, CSAMPLE gain3, const CSAMPLE *pSrc4, CSAMPLE gain4, const CSAMPLE *pSrc5, CSAMPLE gain5, const CSAMPLE *pSrc6, CSAMPLE gain6, const CSAMPLE *pSrc7, CSAMPLE gain7, int iNumSamples) |
static void | convert (CSAMPLE *pDest, const SAMPLE *pSrc, int iNumSamples) |
static void | sumAbsPerChannel (CSAMPLE *pfAbsL, CSAMPLE *pfAbsR, const CSAMPLE *pBuffer, int iNumSamples) |
static bool | isOutsideRange (CSAMPLE fMax, CSAMPLE fMin, const CSAMPLE *pBuffer, int iNumSamples) |
static bool | copyClampBuffer (CSAMPLE fMax, CSAMPLE fMin, CSAMPLE *pDest, const CSAMPLE *pSrc, int iNumSamples) |
static void | interleaveBuffer (CSAMPLE *pDest, const CSAMPLE *pSrc1, const CSAMPLE *pSrc2, int iNumSamples) |
static void | deinterleaveBuffer (CSAMPLE *pDest1, CSAMPLE *pDest2, const CSAMPLE *pSrc, int iNumSamples) |
static void | setOptimizations (bool opt) |
Definition at line 34 of file sampleutil.h.
void SampleUtil::add2WithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc1, | ||
CSAMPLE | gain1, | ||
const CSAMPLE * | pSrc2, | ||
CSAMPLE | gain2, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 171 of file sampleutil.cpp.
CSAMPLE * SampleUtil::alloc | ( | int | size | ) | [static] |
void SampleUtil::applyAlternatingGain | ( | CSAMPLE * | pBuffer, |
CSAMPLE | gain1, | ||
CSAMPLE | gain2, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 80 of file sampleutil.cpp.
void SampleUtil::copy2WithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc1, | ||
CSAMPLE | gain1, | ||
const CSAMPLE * | pSrc2, | ||
CSAMPLE | gain2, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 362 of file sampleutil.cpp.
void SampleUtil::copy3WithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc1, | ||
CSAMPLE | gain1, | ||
const CSAMPLE * | pSrc2, | ||
CSAMPLE | gain2, | ||
const CSAMPLE * | pSrc3, | ||
CSAMPLE | gain3, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 419 of file sampleutil.cpp.
void SampleUtil::copy4WithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc1, | ||
CSAMPLE | gain1, | ||
const CSAMPLE * | pSrc2, | ||
CSAMPLE | gain2, | ||
const CSAMPLE * | pSrc3, | ||
CSAMPLE | gain3, | ||
const CSAMPLE * | pSrc4, | ||
CSAMPLE | gain4, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 492 of file sampleutil.cpp.
void SampleUtil::copy5WithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc1, | ||
CSAMPLE | gain1, | ||
const CSAMPLE * | pSrc2, | ||
CSAMPLE | gain2, | ||
const CSAMPLE * | pSrc3, | ||
CSAMPLE | gain3, | ||
const CSAMPLE * | pSrc4, | ||
CSAMPLE | gain4, | ||
const CSAMPLE * | pSrc5, | ||
CSAMPLE | gain5, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 519 of file sampleutil.cpp.
void SampleUtil::copy6WithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc1, | ||
CSAMPLE | gain1, | ||
const CSAMPLE * | pSrc2, | ||
CSAMPLE | gain2, | ||
const CSAMPLE * | pSrc3, | ||
CSAMPLE | gain3, | ||
const CSAMPLE * | pSrc4, | ||
CSAMPLE | gain4, | ||
const CSAMPLE * | pSrc5, | ||
CSAMPLE | gain5, | ||
const CSAMPLE * | pSrc6, | ||
CSAMPLE | gain6, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 552 of file sampleutil.cpp.
void SampleUtil::copy7WithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc1, | ||
CSAMPLE | gain1, | ||
const CSAMPLE * | pSrc2, | ||
CSAMPLE | gain2, | ||
const CSAMPLE * | pSrc3, | ||
CSAMPLE | gain3, | ||
const CSAMPLE * | pSrc4, | ||
CSAMPLE | gain4, | ||
const CSAMPLE * | pSrc5, | ||
CSAMPLE | gain5, | ||
const CSAMPLE * | pSrc6, | ||
CSAMPLE | gain6, | ||
const CSAMPLE * | pSrc7, | ||
CSAMPLE | gain7, | ||
int | iNumSamples | ||
) | [static] |
void SampleUtil::copyWithGain | ( | CSAMPLE * | pDest, |
const CSAMPLE * | pSrc, | ||
CSAMPLE | gain, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 305 of file sampleutil.cpp.
void SampleUtil::free | ( | CSAMPLE * | pBuffer | ) | [static] |
bool SampleUtil::isOutsideRange | ( | CSAMPLE | fMax, |
CSAMPLE | fMin, | ||
const CSAMPLE * | pBuffer, | ||
int | iNumSamples | ||
) | [static] |
Definition at line 748 of file sampleutil.cpp.
void SampleUtil::setOptimizations | ( | bool | opt | ) | [static] |
Definition at line 1005 of file sampleutil.cpp.