Searched defs:elevation (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DDistantLightSource.cpp41 float elevation = deg2rad(m_elevation); local
42 paintingData.lightVector.setX(cosf(azimuth) * cosf(elevation));
43 paintingData.lightVector.setY(sinf(azimuth) * cosf(elevation));
44 paintingData.lightVector.setZ(sinf(elevation));
60 bool DistantLightSource::setElevation(float elevation) argument
62 if (m_elevation == elevation)
64 m_elevation = elevation;
72 ts << "[elevation=\"" << elevation() << "\"]";
H A DDistantLightSource.h32 static PassRefPtr<DistantLightSource> create(float azimuth, float elevation) argument
34 return adoptRef(new DistantLightSource(azimuth, elevation));
38 float elevation() const { return m_elevation; } function in class:WebCore::DistantLightSource
49 DistantLightSource(float azimuth, float elevation) argument
52 , m_elevation(elevation)
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DHRTFElevation.h44 // 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, float 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, float 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, float sampleRate, const String& subjectName,
96 HRTFElevation(PassOwnPtr<HRTFKernelList> kernelListL, PassOwnPtr<HRTFKernelList> kernelListR, int elevation, floa argument
[all...]
H A DHRTFElevation.cpp99 bool HRTFElevation::calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName, argument
104 bool success = calculateKernelsForAzimuthElevation(azimuth, elevation, sampleRate, subjectName, kernelL1, kernelR1);
113 success = calculateKernelsForAzimuthElevation(symmetricAzimuth, elevation, sampleRate, subjectName, kernelL2, kernelR2);
124 bool HRTFElevation::calculateKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, const String& subjectName, argument
128 // Valid values for elevation are -45 -> +90 in 15 degree increments.
135 bool isElevationGood = elevation >= -45 && elevation <= 90 && (elevation / 15) * 15 == elevation;
140 // Construct the resource name from the subject name, azimuth, and elevation, fo
237 createForSubject(const String& subjectName, int elevation, float sampleRate) argument
[all...]
H A DHRTFPanner.cpp121 void HRTFPanner::pan(double desiredAzimuth, double elevation, const AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess) argument
168 // Initially snap azimuth and elevation values to first values encountered.
171 m_elevation1 = elevation;
175 m_elevation2 = elevation;
183 // Check for azimuth and elevation changes, initiating a cross-fade if needed.
185 if (desiredAzimuthIndex != m_azimuthIndex1 || elevation != m_elevation1) {
189 m_elevation2 = elevation;
193 if (desiredAzimuthIndex != m_azimuthIndex2 || elevation != m_elevation2) {
197 m_elevation1 = elevation;
/external/chromium_org/rlz/win/lib/
H A Dprocess_info.cc92 HRESULT GetElevationType(PTOKEN_ELEVATION_TYPE elevation) { argument
93 if (!elevation)
96 *elevation = TokenElevationTypeDefault;
114 *elevation = elevation_type;
174 TOKEN_ELEVATION_TYPE elevation; local
177 if (SUCCEEDED(GetElevationType(&elevation)) &&
179 has_rights = (elevation == TokenElevationTypeFull) ||
/external/chromium/webkit/glue/
H A Dwebkitclient_impl.cc308 // 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/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DPannerNode.cpp116 double elevation; local
117 getAzimuthElevation(&azimuth, &elevation);
118 m_panner->pan(azimuth, elevation, source, destination, framesToProcess);
262 // FIXME: we should cache azimuth and elevation (if possible), so we only re-calculate if a change has been made.
310 double elevation = 90.0 - 180.0 * acos(sourceListener.dot(up)) / piDouble; local
311 fixNANs(elevation); // avoid illegal values
313 if (elevation > 90.0)
314 elevation = 180.0 - elevation;
315 else if (elevation <
[all...]
/external/chromium_org/webkit/child/
H A Dwebkitplatformsupport_impl.cc525 // Extract the azimuth and elevation from the resource name.
527 int elevation = 0; local
529 sscanf(name, "IRC_Composite_C_R0195_T%3d_P%3d", &azimuth, &elevation);
537 // 0 <= elevation <= 90 (or 315 <= elevation <= 345)
540 elevation <= 90 ? elevation / kAngleSpacing :
541 7 + (elevation - 315) / kAngleSpacing;

Completed in 285 milliseconds