webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
WebCore::HRTFElevation Class Reference

#include <HRTFElevation.h>

Public Member Functions

 HRTFElevation (std::unique_ptr< HRTFKernelList > kernelListL, std::unique_ptr< HRTFKernelList > kernelListR, int elevation, float sampleRate)
 
HRTFKernelListkernelListL ()
 
HRTFKernelListkernelListR ()
 
double elevationAngle () const
 
unsigned numberOfAzimuths () const
 
float sampleRate () const
 
void getKernelsFromAzimuth (double azimuthBlend, unsigned azimuthIndex, HRTFKernel *&kernelL, HRTFKernel *&kernelR, double &frameDelayL, double &frameDelayR)
 

Static Public Member Functions

static std::unique_ptr< HRTFElevationcreateForSubject (const String &subjectName, int elevation, float sampleRate)
 
static std::unique_ptr< HRTFElevationcreateByInterpolatingSlices (HRTFElevation *hrtfElevation1, HRTFElevation *hrtfElevation2, float x, float sampleRate)
 
static bool calculateKernelsForAzimuthElevation (int azimuth, int elevation, float sampleRate, const String &subjectName, RefPtr< HRTFKernel > &kernelL, RefPtr< HRTFKernel > &kernelR)
 
static bool calculateSymmetricKernelsForAzimuthElevation (int azimuth, int elevation, float sampleRate, const String &subjectName, RefPtr< HRTFKernel > &kernelL, RefPtr< HRTFKernel > &kernelR)
 

Static Public Attributes

static const unsigned AzimuthSpacing
 
static const unsigned NumberOfRawAzimuths
 
static const unsigned InterpolationFactor
 
static const unsigned NumberOfTotalAzimuths
 

Constructor & Destructor Documentation

◆ HRTFElevation()

WebCore::HRTFElevation::HRTFElevation ( std::unique_ptr< HRTFKernelList kernelListL,
std::unique_ptr< HRTFKernelList kernelListR,
int  elevation,
float  sampleRate 
)
inline

Member Function Documentation

◆ calculateKernelsForAzimuthElevation()

static bool WebCore::HRTFElevation::calculateKernelsForAzimuthElevation ( int  azimuth,
int  elevation,
float  sampleRate,
const String subjectName,
RefPtr< HRTFKernel > &  kernelL,
RefPtr< HRTFKernel > &  kernelR 
)
static

◆ calculateSymmetricKernelsForAzimuthElevation()

static bool WebCore::HRTFElevation::calculateSymmetricKernelsForAzimuthElevation ( int  azimuth,
int  elevation,
float  sampleRate,
const String subjectName,
RefPtr< HRTFKernel > &  kernelL,
RefPtr< HRTFKernel > &  kernelR 
)
static

◆ createByInterpolatingSlices()

static std::unique_ptr<HRTFElevation> WebCore::HRTFElevation::createByInterpolatingSlices ( HRTFElevation hrtfElevation1,
HRTFElevation hrtfElevation2,
float  x,
float  sampleRate 
)
static

◆ createForSubject()

static std::unique_ptr<HRTFElevation> WebCore::HRTFElevation::createForSubject ( const String subjectName,
int  elevation,
float  sampleRate 
)
static

◆ elevationAngle()

double WebCore::HRTFElevation::elevationAngle ( ) const
inline

◆ getKernelsFromAzimuth()

void WebCore::HRTFElevation::getKernelsFromAzimuth ( double  azimuthBlend,
unsigned  azimuthIndex,
HRTFKernel *&  kernelL,
HRTFKernel *&  kernelR,
double &  frameDelayL,
double &  frameDelayR 
)

◆ kernelListL()

HRTFKernelList* WebCore::HRTFElevation::kernelListL ( )
inline

◆ kernelListR()

HRTFKernelList* WebCore::HRTFElevation::kernelListR ( )
inline

◆ numberOfAzimuths()

unsigned WebCore::HRTFElevation::numberOfAzimuths ( ) const
inline

◆ sampleRate()

float WebCore::HRTFElevation::sampleRate ( ) const
inline

Member Data Documentation

◆ AzimuthSpacing

const unsigned WebCore::HRTFElevation::AzimuthSpacing
static

◆ InterpolationFactor

const unsigned WebCore::HRTFElevation::InterpolationFactor
static

◆ NumberOfRawAzimuths

const unsigned WebCore::HRTFElevation::NumberOfRawAzimuths
static

◆ NumberOfTotalAzimuths

const unsigned WebCore::HRTFElevation::NumberOfTotalAzimuths
static

The documentation for this class was generated from the following file: