/cts/apps/CtsVerifier/jni/audioquality/ |
GenerateSinusoid.h | 20 /* Return a sinusoid of frequency freq Hz and amplitude ampl in output 28 void generateSinusoid(float freq, float duration, float sampleRate,
|
GenerateSinusoid.cpp | 32 /* Return a sinusoid of frequency freq Hz and amplitude ampl in output 40 void generateSinusoid(float freq, float duration, float sampleRate, 44 if ((duration < (2.0 * ramp)) || ((freq * 2.0) > sampleRate) || (ramp < 0.0)) { 50 double arg = M_PI * 2.0 * freq / sampleRate;
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_reorder.cpp | 131 int32 freq; local 153 for (freq = 0; freq < 3*sfb_lines; freq += 3) 159 Scratch_mem[freq ] = tmp1; 160 Scratch_mem[freq+1] = tmp2; 161 Scratch_mem[freq+2] = tmp3; 174 for (freq = 0; freq < 3*sfb_lines; freq += 3 [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
njd.h | 60 #define CALCULATE_HINDO(freq, base, high, div) \ 61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base))) 63 #define NORMALIZE_HINDO(freq, max, min) \ 64 (((freq) < (min)) ? (min) : (((freq) > (max)) ? (max) : (freq)))
|
/external/qemu/ |
qemu-timer-common.c | 35 LARGE_INTEGER freq; local 37 ret = QueryPerformanceFrequency(&freq); 42 clock_freq = freq.QuadPart;
|
/frameworks/compile/libbcc/runtime/test/timing/ |
timing.h | 17 uint64_t freq = 0; 18 size_t freqSize = sizeof( freq ); 19 int err2 = sysctlbyname( "hw.cpufrequency", &freq, &freqSize, NULL, 0L ); 23 conversion = (double) freq * (1e-9 * (double) info.numer / (double) info.denom);
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dc/ |
aica.h | 33 void aica_play(int ch,int mode,unsigned long smpptr,int looptst,int loopend,int freq,int vol,int pan,int loopflag); 37 void aica_freq(int ch,int freq);
|
aica.c | 116 static inline unsigned AICA_FREQ(unsigned freq) { 123 while (freq < freq_base && freq_hi > -8) { 127 while (freq < freq_base && freq_hi > -8) { 131 freq_lo = (freq<<10) / freq_base; 145 freq is the sampling rate of the sound 151 void aica_play(int ch,int mode,unsigned long smpptr,int loopst,int loopend,int freq,int vol,int pan,int loopflag) { 179 CHNREG32(ch, 24) = AICA_FREQ(freq); 252 void aica_freq(int ch,int freq) { 253 g2_write_32(CHNREGADDR(ch, 24),AICA_FREQ(freq));
|
/external/speex/libspeex/ |
lsp.h | 56 int lpc_to_lsp (spx_coef_t *a, int lpcrdr, spx_lsp_t *freq, int nb, spx_word16_t delta, char *stack); 57 void lsp_to_lpc(spx_lsp_t *freq, spx_coef_t *ak, int lpcrdr, char *stack);
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_utils.c | 148 int p2p_freq_to_channel(const char *country, unsigned int freq, u8 *reg_class, 152 if (freq >= 2412 && freq <= 2472) { 154 *channel = (freq - 2407) / 5; 158 if (freq == 2484) { 164 if (freq >= 5180 && freq <= 5240) { 166 *channel = (freq - 5000) / 5; 170 if (freq >= 5745 && freq <= 5805) [all...] |
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
TimeUtils.cpp | 35 static LARGE_INTEGER freq; local 38 bNotInit = (QueryPerformanceFrequency( &freq ) == FALSE); 43 return currVal.QuadPart / (freq.QuadPart / 1000);
|
/external/jpeg/ |
jchuff.h | 47 JPP((j_compress_ptr cinfo, JHUFF_TBL * htbl, long freq[]));
|
/external/libvpx/vpx_ports/ |
vpx_timer.h | 82 LARGE_INTEGER freq, diff; local 86 if (QueryPerformanceFrequency(&freq) && diff.QuadPart < freq.QuadPart) 87 return (long)(diff.QuadPart * 1000000 / freq.QuadPart);
|
/external/qemu/audio/ |
audio_win_int.c | 21 wfx->nSamplesPerSec = as->freq; 22 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2); 47 dolog ("Internal logic error: Bad audio format %d\n", as->freq); 67 as->freq = wfx->nSamplesPerSec;
|
wavcapture.c | 9 int freq; member in struct:__anon9525 75 wav->freq, wav->bits, wav->nchannels, 84 int wav_start_capture (CaptureState *s, const char *path, int freq, 114 as.freq = freq; 129 le_store (hdr + 24, freq, 4); 130 le_store (hdr + 28, freq << shift, 4); 144 wav->freq = freq;
|
/external/skia/gpu/include/ |
GrStopwatch.h | 121 LARGE_INTEGER freq; local 122 QueryPerformanceFrequency(&freq); 123 GrAssert(0 != freq.QuadPart); 124 scale = 1 / (double) freq.QuadPart;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
EnergyProbe.java | 56 public int capture(int freq) throws InterruptedException { 60 if (freq > mMaxFrequency) { 69 if (freq == mMaxFrequency) { 72 int bin = 2 * (freq * CAPTURE_SIZE / mMaxFrequency / 2);
|
/system/core/nexus/ |
SupplicantAssociatingEvent.h | 29 SupplicantAssociatingEvent(const char *bssid, const char *ssid, int freq);
|
SupplicantAssociatingEvent.cpp | 36 // "00:13:46:40:40:aa (SSID='default' freq=2437 MHz)" 44 // "00:13:46:40:40:aa (SSID='default' freq=2437 MHz)" 58 // "00:13:46:40:40:aa (SSID='default' freq=2437 MHz)" 87 int freq) : 91 mFreq = freq;
|
/packages/inputmethods/PinyinIME/jni/share/ |
spellingtable.cpp | 137 bool SpellingTable::put_spelling(const char* spelling_str, double freq) { 147 total_freq_ += freq; 155 raw_spellings_[hash_pos].freq += freq; 164 raw_spellings_[hash_pos].freq += freq; 169 raw_spellings_[hash_pos].freq += freq; 241 raw_spellings_[pos].freq /= total_freq_; 244 max_score = raw_spellings_[0].freq; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserUnigramDictionary.java | 64 private static final String COLUMN_FREQUENCY = "freq"; 156 int freq = getWordFrequency(word); local 157 freq = freq < 0 ? addFrequency : freq + addFrequency; 158 super.addWord(word, freq); 162 mPendingWrites.put(word, freq == 0 ? null : new Integer(freq)); 243 Integer freq = entry.getValue(); 246 if (freq != null) [all...] |
/external/llvm/lib/Support/ |
BlockFrequency.cpp | 23 /// mult96bit - Multiply FREQ by N and store result in W array. 24 void mult96bit(uint64_t freq, uint32_t N, uint64_t W[2]) { 25 uint64_t u0 = freq & UINT32_MAX; 26 uint64_t u1 = freq >> 32; 92 BlockFrequency Freq(Frequency); 93 Freq *= Prob; 94 return Freq; 97 BlockFrequency &BlockFrequency::operator+=(const BlockFrequency &Freq) { 98 uint64_t Before = Freq.Frequency; 99 Frequency += Freq.Frequency [all...] |
/external/wpa_supplicant/wpa_gui/ |
scanresults.ui.h | 61 QString ssid, bssid, freq, signal, flags; local 63 freq = cols.count() > 1 ? cols[1] : ""; 67 new Q3ListViewItem(scanResultsView, ssid, bssid, freq, signal, flags);
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/ |
scanresults.ui.h | 61 QString ssid, bssid, freq, signal, flags; local 63 freq = cols.count() > 1 ? cols[1] : ""; 67 new Q3ListViewItem(scanResultsView, ssid, bssid, freq, signal, flags);
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui/ |
scanresults.ui.h | 61 QString ssid, bssid, freq, signal, flags; local 63 freq = cols.count() > 1 ? cols[1] : ""; 67 new Q3ListViewItem(scanResultsView, ssid, bssid, freq, signal, flags);
|