![]() |
Murl Engine API
Version 2018.3
|
Sample format conversion class. More...
#include <murl_util_sample_converter.h>
Sample format conversion class.
Public Types | |
typedef void(* | Method) (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
Definition of the converter function pointer. More... | |
Static Public Member Functions | |
static Method | GetConverter (IEnums::SampleFormat destFormat, IEnums::SampleFormat srcFormat) |
Get the converter function pointer for specified sample formats. More... | |
static Method | GetFromM8 (IEnums::SampleFormat destFormat) |
Get the converter function pointer from MONO_8 source format. More... | |
static void | M8ToM8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_8 to MONO_8 conversion function. More... | |
static void | M8ToM16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_8 to MONO_16 conversion function. More... | |
static void | M8ToS8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_8 to STEREO_8 conversion function. More... | |
static void | M8ToS16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_8 to STEREO_16 conversion function. More... | |
static Method | GetFromM16 (IEnums::SampleFormat destFormat) |
Get the converter function pointer from MONO_16 source format. More... | |
static void | M16ToM8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_16 to MONO_8 conversion function. More... | |
static void | M16ToM16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_16 to MONO_16 conversion function. More... | |
static void | M16ToS8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_16 to STEREO_8 conversion function. More... | |
static void | M16ToS16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The MONO_16 to STEREO_16 conversion function. More... | |
static Method | GetFromS8 (IEnums::SampleFormat destFormat) |
Get the converter function pointer from STEREO_8 source format. More... | |
static void | S8ToM8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_8 to MONO_8 conversion function. More... | |
static void | S8ToM16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_8 to MONO_16 conversion function. More... | |
static void | S8ToS8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_8 to STEREO_8 conversion function. More... | |
static void | S8ToS16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_8 to STEREO_16 conversion function. More... | |
static Method | GetFromS16 (IEnums::SampleFormat destFormat) |
Get the converter function pointer from STEREO_16 source format. More... | |
static void | S16ToM8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_16 to MONO_8 conversion function. More... | |
static void | S16ToM16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_16 to MONO_16 conversion function. More... | |
static void | S16ToS8 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_16 to STEREO_8 conversion function. More... | |
static void | S16ToS16 (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
The STEREO_16 to STEREO_16 conversion function. More... | |
typedef void(* Murl::Util::SampleConverter::Method) (UInt8 *dstPtr, const UInt8 *srcPtr, UInt32 numberOfSamples) |
Definition of the converter function pointer.
Use IEnums::GetSampleFormatByteSize() to calculate the size of the source and destination memory.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
Get the converter function pointer for specified sample formats.
destFormat | The destination sample format. |
srcFormat | The source sample format. |
|
static |
Get the converter function pointer from MONO_8 source format.
destFormat | The destination sample format. |
|
static |
The MONO_8 to MONO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The MONO_8 to MONO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The MONO_8 to STEREO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The MONO_8 to STEREO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
Get the converter function pointer from MONO_16 source format.
destFormat | The destination sample format. |
|
static |
The MONO_16 to MONO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The MONO_16 to MONO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The MONO_16 to STEREO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The MONO_16 to STEREO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
Get the converter function pointer from STEREO_8 source format.
destFormat | The destination sample format. |
|
static |
The STEREO_8 to MONO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The STEREO_8 to MONO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The STEREO_8 to STEREO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The STEREO_8 to STEREO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
Get the converter function pointer from STEREO_16 source format.
destFormat | The destination sample format. |
|
static |
The STEREO_16 to MONO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The STEREO_16 to MONO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The STEREO_16 to STEREO_8 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |
|
static |
The STEREO_16 to STEREO_16 conversion function.
dstPtr | Pointer to the destination memory. |
srcPtr | Pointer to the source memory. |
numberOfSamples | The number of samples to convert. |