/external/webkit/Source/WebCore/platform/graphics/filters/ |
H A D | DistantLightSource.cpp | 43 float elevation = deg2rad(m_elevation); local 44 paintingData.lightVector.setX(cosf(azimuth) * cosf(elevation)); 45 paintingData.lightVector.setY(sinf(azimuth) * cosf(elevation)); 46 paintingData.lightVector.setZ(sinf(elevation)); 62 bool DistantLightSource::setElevation(float elevation) argument 64 if (m_elevation == elevation) 66 m_elevation = elevation; 74 ts << "[elevation=\"" << elevation() << "\"]";
|
H A D | DistantLightSource.h | 33 static PassRefPtr<DistantLightSource> create(float azimuth, float elevation) argument 35 return adoptRef(new DistantLightSource(azimuth, elevation)); 40 float elevation() const { return m_elevation; } function in class:WebCore::DistantLightSource 49 DistantLightSource(float azimuth, float elevation) argument 52 , m_elevation(elevation)
|
H A D | LightSource.cpp | 44 bool LightSource::setElevation(float elevation) argument 47 return static_cast<DistantLightSource*>(this)->setElevation(elevation);
|
/external/webkit/Source/WebCore/platform/audio/ |
H A D | HRTFElevation.h | 44 // HRTFElevation contains all of the HRTFKernels (one left ear and one right ear per azimuth angle) for a particular elevation. 49 // Loads and returns an HRTFElevation with the given HRTF database subject name and elevation from browser (or WebKit.framework) resources. 52 // Valid values for elevation are -45 -> +90 in 15 degree increments. 53 static PassOwnPtr<HRTFElevation> createForSubject(const String& subjectName, int elevation, double sampleRate); 82 // Given a specific azimuth and elevation angle, returns the left and right HRTFKernel. 84 // Valid values for elevation are -45 -> +90 in 15 degree increments. 86 static bool calculateKernelsForAzimuthElevation(int azimuth, int elevation, double sampleRate, const String& subjectName, 89 // Given a specific azimuth and elevation angle, returns the left and right HRTFKernel in kernelL and kernelR. 92 static bool calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, double sampleRate, const String& subjectName, 95 HRTFElevation(PassOwnPtr<HRTFKernelList> kernelListL, PassOwnPtr<HRTFKernelList> kernelListR, int elevation, doubl argument [all...] |
H A D | HRTFElevation.cpp | 55 bool HRTFElevation::calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, double sampleRate, const String& subjectName, argument 60 bool success = calculateKernelsForAzimuthElevation(azimuth, elevation, sampleRate, subjectName, kernelL1, kernelR1); 69 success = calculateKernelsForAzimuthElevation(symmetricAzimuth, elevation, sampleRate, subjectName, kernelL2, kernelR2); 80 bool HRTFElevation::calculateKernelsForAzimuthElevation(int azimuth, int elevation, double sampleRate, const String& subjectName, argument 84 // Valid values for elevation are -45 -> +90 in 15 degree increments. 91 bool isElevationGood = elevation >= -45 && elevation <= 90 && (elevation / 15) * 15 == elevation; 96 // Construct the resource name from the subject name, azimuth, and elevation, fo 161 createForSubject(const String& subjectName, int elevation, double sampleRate) argument [all...] |
H A D | HRTFPanner.cpp | 114 void HRTFPanner::pan(double desiredAzimuth, double elevation, AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess) argument 198 database->getKernelsFromAzimuthElevation(azimuthBlend, m_azimuthIndex, elevation, kernelL, kernelR, frameDelayL, frameDelayR);
|
/external/chromium/webkit/glue/ |
H A D | webkitclient_impl.cc | 308 // Extract the azimuth and elevation from the resource name. 310 int elevation = 0; local 312 sscanf(name, "IRC_Composite_C_R0195_T%3d_P%3d", &azimuth, &elevation); 320 // 0 <= elevation <= 90 (or 315 <= elevation <= 345) 323 elevation <= 90 ? elevation / kAngleSpacing : 324 7 + (elevation - 315) / kAngleSpacing;
|
/external/webkit/Source/WebCore/webaudio/ |
H A D | AudioPannerNode.cpp | 107 double elevation; local 108 getAzimuthElevation(&azimuth, &elevation); 109 m_panner->pan(azimuth, elevation, source, destination, framesToProcess); 163 // FIXME: we should cache azimuth and elevation (if possible), so we only re-calculate if a change has been made. 211 double elevation = 90.0 - 180.0 * acos(sourceListener.dot(up)) / piDouble; local 214 if (elevation > 90.0) 215 elevation = 180.0 - elevation; 216 else if (elevation < -90.0) 217 elevation [all...] |