Mixxx

SampleUtil Class Reference

#include <sampleutil.h>

List of all members.

Static Public Member Functions

static CSAMPLEalloc (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)

Detailed Description

Definition at line 34 of file sampleutil.h.


Member Function Documentation

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void SampleUtil::add3WithGain ( CSAMPLE pDest,
const CSAMPLE pSrc1,
CSAMPLE  gain1,
const CSAMPLE pSrc2,
CSAMPLE  gain2,
const CSAMPLE pSrc3,
CSAMPLE  gain3,
int  iNumSamples 
) [static]

Definition at line 231 of file sampleutil.cpp.

Here is the call graph for this function:

void SampleUtil::addWithGain ( CSAMPLE pDest,
const CSAMPLE pSrc,
CSAMPLE  gain,
int  iNumSamples 
) [static]

Definition at line 128 of file sampleutil.cpp.

Here is the caller graph for this function:

CSAMPLE * SampleUtil::alloc ( int  size) [static]

Definition at line 25 of file sampleutil.cpp.

Here is the caller graph for this function:

void SampleUtil::applyAlternatingGain ( CSAMPLE pBuffer,
CSAMPLE  gain1,
CSAMPLE  gain2,
int  iNumSamples 
) [static]

Definition at line 80 of file sampleutil.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SampleUtil::applyGain ( CSAMPLE pBuffer,
CSAMPLE  gain,
int  iNumSamples 
) [static]

Definition at line 35 of file sampleutil.cpp.

Here is the caller graph for this function:

void SampleUtil::convert ( CSAMPLE pDest,
const SAMPLE pSrc,
int  iNumSamples 
) [static]

Definition at line 641 of file sampleutil.cpp.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

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]

Definition at line 594 of file sampleutil.cpp.

Here is the call graph for this function:

bool SampleUtil::copyClampBuffer ( CSAMPLE  fMax,
CSAMPLE  fMin,
CSAMPLE pDest,
const CSAMPLE pSrc,
int  iNumSamples 
) [static]

Definition at line 806 of file sampleutil.cpp.

Here is the caller graph for this function:

void SampleUtil::copyWithGain ( CSAMPLE pDest,
const CSAMPLE pSrc,
CSAMPLE  gain,
int  iNumSamples 
) [static]

Definition at line 305 of file sampleutil.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SampleUtil::deinterleaveBuffer ( CSAMPLE pDest1,
CSAMPLE pDest2,
const CSAMPLE pSrc,
int  iNumSamples 
) [static]

Definition at line 944 of file sampleutil.cpp.

Here is the caller graph for this function:

void SampleUtil::free ( CSAMPLE pBuffer) [static]

Definition at line 30 of file sampleutil.cpp.

Here is the caller graph for this function:

void SampleUtil::interleaveBuffer ( CSAMPLE pDest,
const CSAMPLE pSrc1,
const CSAMPLE pSrc2,
int  iNumSamples 
) [static]

Definition at line 893 of file sampleutil.cpp.

Here is the caller graph for this function:

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.

void SampleUtil::sumAbsPerChannel ( CSAMPLE pfAbsL,
CSAMPLE pfAbsR,
const CSAMPLE pBuffer,
int  iNumSamples 
) [static]

Definition at line 687 of file sampleutil.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines