Searched refs:scale (Results 1 – 7 of 7) sorted by relevance
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 440 static const float scale = (float)(1 << 23); in clamp24_from_float() local 441 static const float limpos = 0x7fffff / scale; in clamp24_from_float() 442 static const float limneg = -0x800000 / scale; in clamp24_from_float() 449 f *= scale; in clamp24_from_float() 483 static const float scale = (float)(1UL << 27); in clampq4_27_from_float() local 492 f *= scale; in clampq4_27_from_float() 508 static const float scale = (float)(1UL << 31); in clamp32_from_float() local 517 f *= scale; in clamp32_from_float() 542 static const float scale = 1. / (float)(1UL << 27); in float_from_q4_27() local 544 return ival * scale; in float_from_q4_27() [all …]
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
D | humanize_number.c | 48 const char *suffix, int scale, int flags) in humanize_number() argument 57 _DIAGASSERT(scale >= 0); in humanize_number() 78 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1]) in humanize_number() argument 81 if ((size_t)scale >= maxscale && in humanize_number() 82 (scale & (HN_AUTOSCALE | HN_GETSCALE)) == 0) in humanize_number() 122 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) { in humanize_number() 135 if (scale & HN_GETSCALE) { in humanize_number() 140 for (i = 0; i < (size_t)scale && i < maxscale; i++) in humanize_number()
|
/system/media/audio_utils/ |
D | fixedfft.cpp | 113 int scale = LOG_FFT_SIZE, i, p, r; in fixed_fft() local 125 --scale; in fixed_fft() 135 int32_t w = MAX_FFT_SIZE / 4 - (r << scale); in fixed_fft() 150 int scale = LOG_FFT_SIZE, m = n >> 1, i; in fixed_fft_real() local 153 for (i = 1; i <= n; i <<= 1, --scale); in fixed_fft_real() 162 y = mult(y, ((int32_t) twiddle[i << scale])); in fixed_fft_real()
|
/system/extras/tests/sdcard/ |
D | README | 9 to check how the sdcard scale with the number of processes.
|
/system/core/include/private/pixelflinger/ |
D | ggl_context.h | 381 int scale; 404 int scale;
|
/system/core/libpixelflinger/ |
D | trap.cpp | 260 GGLcoord rmin, GGLcoord rmax, GGLcoord scale) in coverageFast() argument 265 return 0x7FFF - (d2-rmin)*scale; in coverageFast() 304 GGLcoord scale; in aa_pointx() local 307 scale = 0x800000 / (rmax - rmin); in aa_pointx() 320 covPtr[i] = coverageFast(x, y, rmin, rmax, scale); in aa_pointx()
|
D | scanline.cpp | 1973 const int scale = ti.st[j].scale + (iwscale - 30); in scanline_perspective() local 1974 if (scale >= 0) { in scanline_perspective() 1975 ti.st[j].ydvdy = v0 << scale; in scanline_perspective() 1976 ti.st[j].dvdx = dvdx << scale; in scanline_perspective() 1978 ti.st[j].ydvdy = v0 >> -scale; in scanline_perspective() 1979 ti.st[j].dvdx = dvdx >> -scale; in scanline_perspective()
|