HomeSort by relevance Sort by last modified time
    Searched defs:mag (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/libvpx/libvpx/test/
superframe_test.cc 51 const int mag = ((marker >> 3) & 3) + 1; local
52 const unsigned int index_sz = 2 + mag * frames;
  /external/chromium_org/native_client_sdk/src/examples/demo/flock/
vector2.h 41 double mag = Magnitude(); local
42 if (fabs(mag) < std::numeric_limits<double>::epsilon())
44 Scale(1.0 / mag);
56 double mag = Magnitude(); local
57 if (mag > max_mag) {
58 Scale(max_mag / mag); // Does Normalize() followed by Scale(max_mag).
  /external/chromium_org/third_party/skia/src/effects/
SkEmbossMaskFilter.cpp 57 SkScalar mag = SkScalarSquare(v[0]) + SkScalarSquare(v[1]) + SkScalarSquare(v[2]); local
58 mag = SkScalarSqrt(mag);
61 v[i] = SkScalarDiv(v[i], mag);
  /external/skia/src/effects/
SkEmbossMaskFilter.cpp 57 SkScalar mag = SkScalarSquare(v[0]) + SkScalarSquare(v[1]) + SkScalarSquare(v[2]); local
58 mag = SkScalarSqrt(mag);
61 v[i] = SkScalarDiv(v[i], mag);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
sobeloperator.cpp 84 unsigned char* mag = magPtr; local
  /external/chromium_org/third_party/skia/src/core/
SkPoint.cpp 115 float mag, scale; local
117 mag = sk_float_sqrt(mag2);
118 scale = 1 / mag;
126 mag = (float)magmag;
129 // mag, but it is possible that mag has overflowed to inf. but still
134 return mag;
  /external/skia/src/core/
SkPoint.cpp 115 float mag, scale; local
117 mag = sk_float_sqrt(mag2);
118 scale = 1 / mag;
126 mag = (float)magmag;
129 // mag, but it is possible that mag has overflowed to inf. but still
134 return mag;
  /external/tremolo/Tremolo/
mapping0.c 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels)));
171 if(nonzero[info->coupling[i].mag] ||
173 nonzero[info->coupling[i].mag]=1;
200 ogg_int32_t *pcmM=vd->work[info->coupling[i].mag];
204 ogg_int32_t mag=pcmM[j]; local
207 if(mag>0)
209 pcmM[j]=mag;
210 pcmA[j]=mag-ang;
212 pcmA[j]=mag;
213 pcmM[j]=mag+ang
    [all...]
  /packages/apps/Gallery2/jni/filters/
edge.c 88 float mag = sqrt(bestx * bestx + besty * besty); local
91 mag = MIN(MAX(c_min, mag), c_max);
94 mag = (mag - c_min) / (c_max - c_min);
96 float ret = 1.0f - exp (- alpha * pow(mag, beta));
  /external/chromium_org/third_party/angle/samples/gles2_book/Common/
esTransform.c 58 GLfloat mag = sqrtf(x * x + y * y + z * z); local
62 if ( mag > 0.0f )
68 x /= mag;
69 y /= mag;
70 z /= mag;
  /external/stlport/src/
complex.cpp 170 _Tp mag = ::hypot(re, im); local
173 if (mag == 0.f) {
176 result._M_re = ::sqrt(0.5f * (mag + re));
179 result._M_im = ::sqrt(0.5f * (mag - re));
  /frameworks/base/core/java/android/util/
MathUtils.java 107 public static float mag(float a, float b) { method in class:MathUtils
111 public static float mag(float a, float b, float c) { method in class:MathUtils
  /hardware/akm/AK8975_FS/akmdfs/
AKFS_Measure.c 237 const AKSENSOR_DATA* mag,
249 buf[5] = CONVERT_MAG(mag->x); /* Mx */
250 buf[6] = CONVERT_MAG(mag->y); /* My */
251 buf[7] = CONVERT_MAG(mag->z); /* Mz */
252 buf[8] = mag->status; /* Mag status */
272 int16 mag[3]; local
343 mag[0] = (int)((int16_t)(i2cData[2]<<8)+((int16_t)i2cData[1]));
344 mag[1] = (int)((int16_t)(i2cData[4]<<8)+((int16_t)i2cData[3]));
345 mag[2] = (int)((int16_t)(i2cData[6]<<8)+((int16_t)i2cData[5]))
    [all...]
  /hardware/invensense/60xx/mlsdk/mllite/
mlMathFunc.c 201 float mag; local
202 mag = sqrtf(q[0] * q[0] + q[1] * q[1] + q[2] * q[2] + q[3] * q[3]);
203 if (mag) {
204 q[0] /= mag;
205 q[1] /= mag;
206 q[2] /= mag;
207 q[3] /= mag;
  /ndk/sources/cxx-stl/stlport/src/
complex.cpp 170 _Tp mag = ::hypot(re, im); local
173 if (mag == 0.f) {
176 result._M_re = ::sqrt(0.5f * (mag + re));
179 result._M_im = ::sqrt(0.5f * (mag - re));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestRenderer.java 198 double mag = Math.sqrt(vector[0] * vector[0] + vector[1] * vector[1] + vector[2] local
200 vector[0] /= mag;
201 vector[1] /= mag;
202 vector[2] /= mag;
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
FFTFrame.cpp 130 double mag = pow(10.0, 0.05 * magdb); local
169 Complex c = complexFromMagnitudePhase(mag, phaseAccum);
192 double mag = abs(c); local
204 aveSum += mag * deltaPhase;
205 weightSum += mag;
239 double mag = abs(c); local
244 Complex c2 = complexFromMagnitudePhase(mag, phase);
263 double mag = sqrt(realP[i] * realP[i] + imagP[i] * imagP[i]); local
266 WTF_LOG(WebAudio, "[%d] (%f %f)\n", i, mag, phase);
  /external/libvorbis/lib/
mapping0.c 767 float mag=pcmM[j]; local
770 if(mag>0)
772 pcmM[j]=mag;
773 pcmA[j]=mag-ang;
775 pcmA[j]=mag;
776 pcmM[j]=mag+ang;
780 pcmM[j]=mag;
781 pcmA[j]=mag+ang;
783 pcmA[j]=mag;
784 pcmM[j]=mag-ang
    [all...]
psytune.c 439 float mag=pcmM[j]; local
442 if(mag>0)
444 pcmM[j]=mag;
445 pcmA[j]=mag-ang;
447 pcmA[j]=mag;
448 pcmM[j]=mag+ang;
452 pcmM[j]=mag;
453 pcmA[j]=mag+ang;
455 pcmA[j]=mag;
456 pcmM[j]=mag-ang
    [all...]
  /frameworks/base/libs/hwui/
SkiaShader.cpp 176 const float mag = vec.length(); local
177 const float inv = mag ? 1.0f / mag : 0;
  /packages/apps/Camera2/src/com/android/camera/crop/
CropMath.java 120 float mag = GeometryMathUtils.vectorLength( local
122 if (mag < oldMag) {
123 oldMag = mag;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropMath.java 122 float mag = GeometryMathUtils.vectorLength( local
124 if (mag < oldMag) {
125 oldMag = mag;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ColorSpaceMatrix.java 136 float mag = (float) Math.sqrt(2.0); local
137 float xrs = 1 / mag;
138 float xrc = 1 / mag;
140 mag = (float) Math.sqrt(3.0);
141 float yrs = -1 / mag;
142 float yrc = (float) Math.sqrt(2.0) / mag;
  /external/chromium_org/mojo/examples/sample_app/
spinning_cube.cc 247 GLfloat mag = sqrtf(x * x + y * y + z * z); local
251 if (mag > 0.0f) {
256 x /= mag;
257 y /= mag;
258 z /= mag;
  /external/chromium_org/third_party/skia/src/effects/gradients/
SkLinearGradient.cpp 44 SkScalar mag = vec.length(); local
45 SkScalar inv = mag ? SkScalarInvert(mag) : 0;

Completed in 1249 milliseconds

1 2 3