Home
last modified time | relevance | path

Searched refs:azimuth (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/audio/
DEqualPowerPanner.cpp52 void EqualPowerPanner::pan(double azimuth, double /*elevation*/, const AudioBus* inputBus, AudioBus… in pan() argument
75 azimuth = max(-180.0, azimuth); in pan()
76 azimuth = min(180.0, azimuth); in pan()
80 if (azimuth < -90) in pan()
81 azimuth = -180 - azimuth; in pan()
82 else if (azimuth > 90) in pan()
83 azimuth = 180 - azimuth; in pan()
91 desiredPanPosition = (azimuth + 90) / 180; in pan()
93 if (azimuth <= 0) { // from -90 -> 0 in pan()
96 desiredPanPosition = (azimuth + 90) / 90; in pan()
[all …]
DHRTFElevation.cpp99 bool HRTFElevation::calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, float … in calculateSymmetricKernelsForAzimuthElevation() argument
104 …bool success = calculateKernelsForAzimuthElevation(azimuth, elevation, sampleRate, subjectName, ke… in calculateSymmetricKernelsForAzimuthElevation()
109 int symmetricAzimuth = !azimuth ? 0 : 360 - azimuth; in calculateSymmetricKernelsForAzimuthElevation()
124 bool HRTFElevation::calculateKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRat… in calculateKernelsForAzimuthElevation() argument
130 bool isAzimuthGood = azimuth >= 0 && azimuth <= 345 && (azimuth / 15) * 15 == azimuth; in calculateKernelsForAzimuthElevation()
160 …unsigned index = ((azimuth / AzimuthSpacing) * HRTFDatabase::NumberOfRawElevations) + elevationInd… in calculateKernelsForAzimuthElevation()
176 … String::format("IRC_%s_C_R0195_T%03d_P%03d", subjectName.utf8().data(), azimuth, positiveElevatio… in calculateKernelsForAzimuthElevation()
DHRTFPanner.cpp96 int HRTFPanner::calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend) in calculateDesiredAzimuthIndexAndBlend() argument
100 if (azimuth < 0) in calculateDesiredAzimuthIndexAndBlend()
101 azimuth += 360.0; in calculateDesiredAzimuthIndexAndBlend()
110 double desiredAzimuthIndexFloat = azimuth / angleBetweenAzimuths; in calculateDesiredAzimuthIndexAndBlend()
145 double azimuth = -desiredAzimuth; in pan() local
147 bool isAzimuthGood = azimuth >= -180.0 && azimuth <= 180.0; in pan()
166 int desiredAzimuthIndex = calculateDesiredAzimuthIndexAndBlend(azimuth, azimuthBlend); in pan()
DHRTFPanner.h41 …virtual void pan(double azimuth, double elevation, const AudioBus* inputBus, AudioBus* outputBus, …
55 int calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend);
DHRTFElevation.h86 …static bool calculateKernelsForAzimuthElevation(int azimuth, int elevation, float sampleRate, cons…
92 …static bool calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, float sampleR…
DEqualPowerPanner.h38 …virtual void pan(double azimuth, double elevation, const AudioBus* inputBus, AudioBus* outputBuf, …
DPanner.h57 …virtual void pan(double azimuth, double elevation, const AudioBus* inputBus, AudioBus* outputBus, …
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DDistantLightSource.cpp40 float azimuth = deg2rad(m_azimuth); in initPaintingData() local
42 paintingData.lightVector.setX(cosf(azimuth) * cosf(elevation)); in initPaintingData()
43 paintingData.lightVector.setY(sinf(azimuth) * cosf(elevation)); in initPaintingData()
52 bool DistantLightSource::setAzimuth(float azimuth) in setAzimuth() argument
54 if (m_azimuth == azimuth) in setAzimuth()
56 m_azimuth = azimuth; in setAzimuth()
71 ts << "[azimuth=\"" << azimuth() << "\"]"; in externalRepresentation()
DDistantLightSource.h32 static PassRefPtr<DistantLightSource> create(float azimuth, float elevation) in create() argument
34 return adoptRef(new DistantLightSource(azimuth, elevation)); in create()
42 float azimuth() const { return m_azimuth; } in azimuth() function
54 DistantLightSource(float azimuth, float elevation) in DistantLightSource() argument
56 , m_azimuth(azimuth) in DistantLightSource()
DFELighting.cpp443 float azimuthRad = deg2rad(distantLightSource->azimuth()); in createImageFilter()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DPannerNode.cpp138 double azimuth; in process() local
140 azimuthElevation(&azimuth, &elevation); in process()
142 m_panner->pan(azimuth, elevation, source, destination, framesToProcess); in process()
382 double azimuth = 0.0; in calculateAzimuthElevation() local
407 azimuth = 180.0 * acos(projectedSource.dot(listenerRight)) / piDouble; in calculateAzimuthElevation()
408 fixNANs(azimuth); // avoid illegal values in calculateAzimuthElevation()
413 azimuth = 360.0 - azimuth; in calculateAzimuthElevation()
416 if ((azimuth >= 0.0) && (azimuth <= 270.0)) in calculateAzimuthElevation()
417 azimuth = 90.0 - azimuth; in calculateAzimuthElevation()
419 azimuth = 450.0 - azimuth; in calculateAzimuthElevation()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dastro.h229 : altitude(alt), azimuth(azim) { } in altitude()
239 azimuth = azim; in set()
259 double azimuth; variable
Dastro.cpp514 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude)); in eclipticToHorizon() local
516 result.set(azimuth, altitude); in eclipticToHorizon()
1494 sprintf(tmp, "[%.5f,%.5f]", altitude*RAD_DEG, azimuth*RAD_DEG); in toString()
/external/icu/icu4c/source/i18n/
Dastro.h229 : altitude(alt), azimuth(azim) { } in altitude()
239 azimuth = azim; in set()
259 double azimuth; variable
Dastro.cpp513 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude)); in eclipticToHorizon() local
515 result.set(azimuth, altitude); in eclipticToHorizon()
1505 sprintf(tmp, "[%.5f,%.5f]", altitude*RAD_DEG, azimuth*RAD_DEG); in toString()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFELightElement.h39 SVGAnimatedNumber* azimuth() { return m_azimuth.get(); } in azimuth() function
40 const SVGAnimatedNumber* azimuth() const { return m_azimuth.get(); } in azimuth() function
DSVGFEDistantLightElement.cpp38 …return DistantLightSource::create(azimuth()->currentValue()->value(), elevation()->currentValue()-… in DEFINE_NODE_FACTORY()
DSVGFEDistantLightElement.idl27 readonly attribute SVGAnimatedNumber azimuth;
DSVGAttributeNames.in16 azimuth
DSVGFEDiffuseLightingElement.cpp106 return lightSource->setAzimuth(lightElement->azimuth()->currentValue()->value()); in setFilterEffectAttribute()
DSVGFESpecularLightingElement.cpp113 return lightSource->setAzimuth(lightElement->azimuth()->currentValue()->value()); in setFilterEffectAttribute()
/external/qemu/android/
Dhw-sensors.c95 float azimuth; member
320 sensor->u.orientation.azimuth, in _hwSensorClient_tick()
539 qemu_put_float(f, s->u.orientation.azimuth); in _hwSensors_save()
590 s->u.orientation.azimuth = qemu_get_float(f); in _hwSensors_load()
/external/qemu/docs/
DANDROID-QEMUD-SERVICES.TXT134 orientation:<azimuth>:<pitch>:<roll>
143 <x>, <y>, <z>, <azimuth>, <pitch>, <roll> and <celsius> are floating
/external/chromium_org/content/child/
Dblink_platform_impl.cc618 int azimuth = 0; in loadAudioSpatializationResource() local
621 sscanf(name, "IRC_Composite_C_R0195_T%3d_P%3d", &azimuth, &elevation); in loadAudioSpatializationResource()
637 int azimuth_index = azimuth / kAngleSpacing; in loadAudioSpatializationResource()
/external/owasp/sanitizer/src/main/org/owasp/html/
DCssSchema.java419 Property azimuth = new Property(
422 builder.put("azimuth", azimuth);

123