Searched refs:freq (Results 1 - 25 of 456) sorted by relevance

1234567891011>>

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Dlsf_to_lsp.c34 int16_t freq; /* normalized frequency in Q15 (0..1) */ local
39 freq = (int16_t)((lsf[i] * 20861) >> 15);
46 k = freq >> 8;
47 diff = (freq&0x00ff);
H A Dlsp_to_lsf.c35 int16_t freq; /* lsf/(2*pi) (Q16) */ local
73 /* freq in Q16 */
74 freq = (k << 9) + tmp;
76 /* lsf = freq*2*pi */
77 (*lsfPtr) = (int16_t)(((int32_t)freq*25736)>>15);
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Dtime_util.h20 inline uint32_t NtpToRtp(NtpTime ntp, uint32_t freq) { argument
21 uint32_t tmp = (static_cast<uint64_t>(ntp.fractions()) * freq) >> 32;
22 return ntp.seconds() * freq + tmp;
26 inline uint32_t CurrentRtp(const Clock& clock, uint32_t freq) { argument
27 return NtpToRtp(NtpTime(clock), freq);
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_FREQUENCY.c37 struct v4l2_frequency freq; local
41 memset(&freq, 0xff, sizeof(freq));
42 freq.tuner = tuner;
43 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &freq);
52 CU_ASSERT_EQUAL(freq.tuner, tuner);
54 //CU_ASSERT(freq.type, ???);
55 //CU_ASSERT_EQUAL(freq.frequency, ???);
57 CU_ASSERT_EQUAL(freq.reserved[0], 0);
58 CU_ASSERT_EQUAL(freq
92 struct v4l2_frequency freq; local
112 struct v4l2_frequency freq; local
132 struct v4l2_frequency freq; local
152 struct v4l2_frequency freq; local
190 struct v4l2_frequency freq; local
279 struct v4l2_frequency freq; local
601 struct v4l2_frequency freq; local
740 struct v4l2_frequency freq; local
[all...]
/external/libjpeg-turbo/
H A Dtjutil.c35 LARGE_INTEGER freq; local
36 if(!QueryPerformanceFrequency(&freq)) return 0.0;
37 return (double)freq.QuadPart;
/external/libvncserver/test/
H A Dtjutil.c35 LARGE_INTEGER freq; local
36 if(!QueryPerformanceFrequency(&freq)) return 0.0;
37 return (double)freq.QuadPart;
/external/compiler-rt/test/builtins/timing/
H A Dtiming.h17 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/deqp/framework/delibs/deutil/
H A DdeClock.c40 LARGE_INTEGER freq; local
43 QueryPerformanceFrequency(&freq);
44 DE_ASSERT(freq.LowPart != 0 || freq.HighPart != 0);
49 DE_ASSERT(freq.QuadPart != 0);
50 return count.QuadPart * 1000000 / freq.QuadPart;
54 DE_ASSERT(freq.QuadPart >= 1000000);
55 return count.QuadPart / (freq.QuadPart / 1000000);
/external/vulkan-validation-layers/demos/
H A Dgettime.h41 LARGE_INTEGER freq; local
44 QueryPerformanceFrequency(&freq);
45 assert(freq.LowPart != 0 || freq.HighPart != 0);
48 assert(freq.QuadPart != 0);
49 return count.QuadPart * 1000000 / freq.QuadPart;
51 assert(freq.QuadPart >= 1000000);
52 return count.QuadPart / (freq.QuadPart / 1000000);
/external/libopus/silk/float/
H A Dapply_sine_window_FLP.c46 silk_float freq, c, S0, S1; local
53 freq = PI / ( length + 1 );
56 c = 2.0f - freq * freq;
63 S1 = freq;
/external/wpa_supplicant_8/hostapd/src/ap/
H A Ddfs.h14 int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
17 int hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq,
20 int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
24 int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
28 int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
/external/wpa_supplicant_8/src/ap/
H A Ddfs.h14 int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
17 int hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq,
20 int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
24 int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
28 int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Ddfs.h14 int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
17 int hostapd_dfs_pre_cac_expired(struct hostapd_iface *iface, int freq,
20 int hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq,
24 int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
28 int hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq,
/external/linux-kselftest/tools/testing/selftests/intel_pstate/
H A Drun.sh85 for freq in `seq $max_freq -100 $min_freq`
87 echo "Setting maximum frequency to $freq"
88 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null
89 [ $EVALUATE_ONLY -eq 0 ] && run_test $freq
102 for freq in `seq $max_freq -100 $min_freq`
104 result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { print $1 } ')
105 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ')
106 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' )
107 if [ $result_freq -eq $freq ]; then
108 echo " $freq
[all...]
/external/pdfium/third_party/libopenjpeg20/
H A Dopj_clock.c46 LARGE_INTEGER freq, t ; local
47 /* freq is the clock speed of the CPU */
48 QueryPerformanceFrequency(&freq) ;
49 /* cout << "freq = " << ((double) freq.QuadPart) << endl; */
52 return ((OPJ_FLOAT64) t.QuadPart / (OPJ_FLOAT64) freq.QuadPart) ;
/external/wpa_supplicant_8/hostapd/src/common/
H A Dhw_features_common.h16 int chan, int *freq);
18 int freq, int *chan);
21 int hw_get_chan(struct hostapd_hw_modes *mode, int freq);
34 int freq, int channel, int ht_enabled,
/external/wpa_supplicant_8/src/common/
H A Dhw_features_common.h16 int chan, int *freq);
18 int freq, int *chan);
21 int hw_get_chan(struct hostapd_hw_modes *mode, int freq);
34 int freq, int channel, int ht_enabled,
/external/wpa_supplicant_8/wpa_supplicant/
H A Doffchannel.h13 int offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq,
17 unsigned int freq, const u8 *dst,
25 unsigned int freq, unsigned int duration);
27 unsigned int freq);
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dhw_features_common.h16 int chan, int *freq);
18 int freq, int *chan);
21 int hw_get_chan(struct hostapd_hw_modes *mode, int freq);
34 int freq, int channel, int ht_enabled,
/external/lzma/CPP/Windows/Control/
H A DTrackbar.h18 void SetTicFreq(int freq) argument
19 { SendMsg(TBM_SETTICFREQ, freq); }
/external/speex/libspeex/
H A Dlsp.h56 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/lisa/tools/scripts/power/
H A Dcpu_frequency_power_average.py69 # Compute initial core costs by freq. These are necessary for computing the
112 def get_core_cost(self, cluster, freq):
113 return self.clusters[cluster].get_core_cost(freq)
126 self.core_costs = {freq:-1.0 for freq in freqs}
129 # For every frequency, freq
130 for freq, _ in self.core_costs.iteritems():
135 # cluster at freq
137 total_costs.append(self.get_sample_avg(cnt, freq))
139 # Compute the additional power cost of turning on another core at freq
[all...]
/external/iw/
H A Droc.c21 int freq, time; local
26 freq = strtol(argv[0], &end, 0);
34 NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_FREQ, freq);
41 COMMAND(roc, start, "<freq> <time in ms>", NL80211_CMD_REMAIN_ON_CHANNEL, 0, CIB_NETDEV, handle_roc_start, "");
/external/autotest/client/site_tests/kernel_CpufreqMinMax/
H A Dkernel_CpufreqMinMax.py39 for freq in freqs:
40 logging.info('setting %s to %d' % (filename, freq))
42 f.write(str(freq))
49 if (cur_freq != freq):
51 (filename, cur_freq, freq))
53 (filename, freq))
/external/autotest/server/site_tests/network_WiFi_ChannelHop/
H A Dnetwork_WiFi_ChannelHop.py21 freq = network_WiFi_ChannelHop.ORIGINAL_FREQUENCY
24 frequency=freq,
35 freq)
40 for freq, bssid in ((2437, network_WiFi_ChannelHop.ORIGINAL_BSSID),
54 frequency=freq,
77 freq)

Completed in 901 milliseconds

1234567891011>>