HomeSort by relevance Sort by last modified time
    Searched full:azimuth (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/webkit/Source/WebCore/platform/graphics/filters/
DistantLightSource.cpp 42 float azimuth = deg2rad(m_azimuth); local
44 paintingData.lightVector.setX(cosf(azimuth) * cosf(elevation));
45 paintingData.lightVector.setY(sinf(azimuth) * cosf(elevation));
54 bool DistantLightSource::setAzimuth(float azimuth)
56 if (m_azimuth == azimuth)
58 m_azimuth = azimuth;
73 ts << "[azimuth=\"" << azimuth() << "\"]";
DistantLightSource.h 33 static PassRefPtr<DistantLightSource> create(float azimuth, float elevation)
35 return adoptRef(new DistantLightSource(azimuth, elevation));
38 float azimuth() const { return m_azimuth; } function in class:WebCore::DistantLightSource
49 DistantLightSource(float azimuth, float elevation)
51 , m_azimuth(azimuth)
LightSource.cpp 37 bool LightSource::setAzimuth(float azimuth)
40 return static_cast<DistantLightSource*>(this)->setAzimuth(azimuth);
  /external/webkit/Source/WebCore/webaudio/
AudioPannerNode.cpp 106 double azimuth; 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.
165 double azimuth = 0.0; local
196 azimuth = 180.0 * acos(projectedSource.dot(listenerRight)) / piDouble;
197 fixNANs(azimuth); // avoid illegal values
202 azimuth = 360.0 - azimuth;
204 // Make azimuth relative to "front" and not "right" listener vecto
    [all...]
  /external/webkit/Source/WebCore/platform/audio/
HRTFPanner.h 40 virtual void pan(double azimuth, double elevation, AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess);
49 // Given an azimuth angle in the range -180 -> +180, returns the corresponding azimuth index for the database,
51 int calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend);
55 // m_isFirstRender and m_azimuthIndex are used to avoid harshly changing from rendering at one azimuth angle to another angle very far away.
56 // Changing the azimuth gradually produces a smoother sound.
HRTFPanner.cpp 89 int HRTFPanner::calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azimuthBlend)
91 // Convert the azimuth angle from the range -180 -> +180 into the range 0 -> 360.
92 // The azimuth index may then be calculated from this positive value.
93 if (azimuth < 0)
94 azimuth += 360.0;
102 // Calculate the azimuth index and the blend (0 -> 1) for interpolation.
103 double desiredAzimuthIndexFloat = azimuth / angleBetweenAzimuths;
107 // We don't immediately start using this azimuth index, but instead approach this index from the last index we rendered at.
138 // IRCAM HRTF azimuths values from the loaded database is reversed from the panner's notion of azimuth.
139 double azimuth = -desiredAzimuth local
    [all...]
HRTFElevation.h 44 // HRTFElevation contains all of the HRTFKernels (one left ear and one right ear per azimuth angle) for a particular elevation.
66 // Returns the left and right kernels for the given azimuth index.
70 // Spacing, in degrees, between every azimuth loaded from resource.
76 // Interpolates by this factor to get the total number of azimuths from every azimuth loaded from resource.
82 // Given a specific azimuth and elevation angle, returns the left and right HRTFKernel.
83 // Valid values for azimuth are 0 -> 345 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.
90 // This method averages the measured response using symmetry of azimuth (for example by averaging the -30.0 and +30.0 azimuth responses)
    [all...]
HRTFElevation.cpp 53 // Takes advantage of the symmetry and creates a composite version of the two measured versions. For example, we have both azimuth 30 and -30 degrees
55 bool HRTFElevation::calculateSymmetricKernelsForAzimuthElevation(int azimuth, int elevation, double sampleRate, const String& subjectName,
60 bool success = calculateKernelsForAzimuthElevation(azimuth, elevation, sampleRate, subjectName, kernelL1, kernelR1);
65 int symmetricAzimuth = !azimuth ? 0 : 360 - azimuth;
80 bool HRTFElevation::calculateKernelsForAzimuthElevation(int azimuth, int elevation, double sampleRate, const String& subjectName,
83 // Valid values for azimuth are 0 -> 345 in 15 degree increments.
86 bool isAzimuthGood = azimuth >= 0 && azimuth <= 345 && (azimuth / 15) * 15 == azimuth
    [all...]
EqualPowerPanner.cpp 49 void EqualPowerPanner::pan(double azimuth, double /*elevation*/, AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess)
70 // Pan smoothly from left to right with azimuth going from -30 -> +30 degrees.
72 if (azimuth > 30.0)
74 else if (azimuth < -30.0)
77 desiredPanPosition = (azimuth + 30.0) / 60.0;
HRTFDatabase.h 51 // getKernelsFromAzimuthElevation() returns a left and right ear kernel, and an interpolated left and right frame delay for the given azimuth and elevation.
57 // Returns the number of different azimuth angles.
EqualPowerPanner.h 38 virtual void pan(double azimuth, double elevation, AudioBus* inputBus, AudioBus* outputBuf, size_t framesToProcess);
Panner.h 56 virtual void pan(double azimuth, double elevation, AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess) = 0;
HRTFKernel.h 46 // For a given azimuth / elevation angle there will be one HRTFKernel for the left ear transfer function, and one for the right ear.
  /frameworks/base/location/java/android/location/
GpsSatellite.java 81 * Returns the azimuth of the satellite in degrees.
82 * The azimuth can vary between 0 and 360.
84 * @return the azimuth in degrees
  /external/webkit/Source/WebCore/svg/
SVGFELightElement.h 50 DECLARE_ANIMATED_NUMBER(Azimuth, azimuth)
SVGFEDistantLightElement.cpp 41 return DistantLightSource::create(azimuth(), elevation());
SVGFEDistantLightElement.idl 29 readonly attribute SVGAnimatedNumber azimuth;
svgattrs.in 17 azimuth
SVGFELightElement.cpp 39 DEFINE_ANIMATED_NUMBER(SVGFELightElement, SVGNames::azimuthAttr, Azimuth, azimuth)
  /system/media/wilhelm/src/itf/
I3DLocation.c 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance)
47 if (!((-360000 <= azimuth) && (azimuth <= 360000) &&
54 thiz->mLocationSpherical.mAzimuth = azimuth;
I3DDoppler.c 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter speed)
49 thiz->mVelocitySpherical.mAzimuth = azimuth;
  /hardware/ti/omap4xxx/camera/
SensorListener.cpp 50 float x = sen_events[i].vector.azimuth;
57 CAMHAL_LOGVB(" azimuth = %f pitch = %f roll = %f",
58 sen_events[i].vector.azimuth,
  /frameworks/base/core/java/android/hardware/
SensorListener.java 52 * <p>values[0]: Azimuth, rotation around the Z axis (0<=azimuth<360).
  /external/chromium/webkit/glue/
webkitclient_impl.cc 308 // Extract the azimuth and elevation from the resource name.
309 int azimuth = 0; local
312 sscanf(name, "IRC_Composite_C_R0195_T%3d_P%3d", &azimuth, &elevation);
327 // 0 <= azimuth < 360 in increments of 15 degrees.
328 int azimuth_index = azimuth / kAngleSpacing;
  /frameworks/base/services/sensorservice/
OrientationSensor.cpp 53 outEvent->orientation.azimuth = g.x;

Completed in 9276 milliseconds

1 2 3