Home
last modified time | relevance | path

Searched defs:bat (Results 1 – 25 of 25) sorted by relevance

/third_party/alsa-utils/bat/
Dbat.c47 static void get_snr_thd_db(struct bat *bat, char *thd) in get_snr_thd_db()
63 static void get_snr_thd_pc(struct bat *bat, char *thd) in get_snr_thd_pc()
78 static int get_duration(struct bat *bat) in get_duration()
116 static void get_sine_frequencies(struct bat *bat, char *freq) in get_sine_frequencies()
130 static void get_format(struct bat *bat, char *optarg) in get_format()
161 static inline int thread_wait_completion(struct bat *bat, in thread_wait_completion()
174 static void test_loopback(struct bat *bat) in test_loopback()
246 static void test_playback(struct bat *bat) in test_playback()
280 static void test_capture(struct bat *bat) in test_capture()
313 static void usage(struct bat *bat) in usage()
[all …]
Dcommon.h208 struct bat { struct
214 enum _bat_pcm_format format; /* PCM format */ argument
215 int buffer_size; /* buffer size in frames */
216 int period_size; /* period size in frames */
218 float sigma_k; /* threshold for peak detection */
219 float snr_thd_db; /* threshold for noise detection (dB) */
220 float target_freq[MAX_CHANNELS];
222 int sinus_duration; /* number of frames for playback */
223 char *narg; /* argument string of duration */
224 char *logarg; /* path name of log file */
[all …]
Dcommon.c33 static int update_fmt_to_bat(struct bat *bat, struct chunk_fmt *fmt) in update_fmt_to_bat()
49 static int update_frames_to_bat(struct bat *bat, in update_frames_to_bat()
62 static int read_chunk_fmt(struct bat *bat, char *file, FILE *fp, bool skip, in read_chunk_fmt()
96 int read_wav_header(struct bat *bat, char *file, FILE *fp, bool skip) in read_wav_header()
160 void prepare_wav_info(struct wav_container *wav, struct bat *bat) in prepare_wav_info()
178 int write_wav_header(FILE *fp, struct wav_container *wav, struct bat *bat) in write_wav_header()
202 int update_wav_header(struct bat *bat, FILE *fp, int bytes) in update_wav_header()
224 int generate_input_data(struct bat *bat, void *buffer, int bytes, int frames) in generate_input_data()
Dlatencytest.c34 static float sumaudio(struct bat *bat, short int *buffer, int frames) in sumaudio()
53 static void play_and_listen(struct bat *bat, void *buffer, int frames) in play_and_listen()
156 static void calculate_threshold(struct bat *bat) in calculate_threshold()
169 void roundtrip_latency_init(struct bat *bat) in roundtrip_latency_init()
185 int handleinput(struct bat *bat, void *buffer, int frames) in handleinput()
225 int handleoutput(struct bat *bat, void *buffer, int bytes, int frames) in handleoutput()
Dtinyalsa.c43 static int format_convert(struct bat *bat, struct pcm_config *config) in format_convert()
57 static int init_config(struct bat *bat, struct pcm_config *config) in init_config()
87 static int check_param(struct bat *bat, struct pcm_params *params, in check_param()
117 static int check_playback_params(struct bat *bat, in check_playback_params()
162 static int latencytest_process_output(struct bat *bat, struct pcm *pcm, in latencytest_process_output()
196 static int play_sample(struct bat *bat, struct pcm *pcm, in play_sample()
250 static int get_tiny_device(struct bat *bat, char *alsa_device, in get_tiny_device()
282 void *playback_tinyalsa(struct bat *bat) in playback_tinyalsa()
383 static int capture_sample(struct bat *bat, struct pcm *pcm, in capture_sample()
428 static int latencytest_process_input(struct bat *bat, struct pcm *pcm, in latencytest_process_input()
[all …]
Danalyze.c31 static void check_amplitude(struct bat *bat, float *buf) in check_amplitude()
65 int check_peak(struct bat *bat, struct analyze *a, int end, int peak, float hz, in check_peak()
104 static int check(struct bat *bat, struct analyze *a, int channel) in check()
163 static void calc_magnitude(struct bat *bat, struct analyze *a, int N) in calc_magnitude()
177 static int find_and_check_harmonics(struct bat *bat, struct analyze *a, in find_and_check_harmonics()
229 static int calculate_noise_one_period(struct bat *bat, in calculate_noise_one_period()
289 static int calculate_noise(struct bat *bat, float *src, int channel) in calculate_noise()
373 static int find_and_check_noise(struct bat *bat, void *buf, int channel) in find_and_check_noise()
395 static int reorder_data(struct bat *bat) in reorder_data()
424 static int truncate_frames(struct bat *bat) in truncate_frames()
[all …]
Dalsa.c58 static int format_convert(struct bat *bat, snd_pcm_format_t *fmt) in format_convert()
72 static int set_snd_pcm_params(struct bat *bat, struct pcm_container *sndpcm) in set_snd_pcm_params()
305 int frames, struct bat *bat) in write_to_pcm()
346 struct bat *bat) in latencytest_process_output()
379 static int write_to_pcm_loop(struct pcm_container *sndpcm, struct bat *bat) in write_to_pcm_loop()
439 void *playback_alsa(struct bat *bat) in playback_alsa()
509 int frames, struct bat *bat) in read_from_pcm()
546 static int read_from_pcm_loop(struct pcm_container *sndpcm, struct bat *bat) in read_from_pcm_loop()
605 struct bat *bat) in latencytest_process_input()
673 void *record_alsa(struct bat *bat) in record_alsa()
Dsignal.c89 static int reorder(struct bat *bat, float *val, int frames) in reorder()
112 static int adjust_waveform(struct bat *bat, float *val, int frames, in adjust_waveform()
146 int generate_sine_wave(struct bat *bat, int frames, void *buf) in generate_sine_wave()
188 int generate_sine_wave_raw_mono(struct bat *bat, float *buf, in generate_sine_wave_raw_mono()
/third_party/typescript/tests/cases/compiler/
DclassWithMultipleBaseClasses.ts14 bat(); method
20 bat() { } method in D
DdeclFileForClassWithMultipleBaseClasses.ts16 bat(); method
22 bat() { } method in D
DdestructuredDeclarationEmit.ts10 const { bar: baz, bat, bam: { bork: { bar: ibar, baz: ibaz } } } = foo; constant
/third_party/typescript/tests/baselines/reference/
DclassWithMultipleBaseClasses.js21 bat() { } method in D
44 D.prototype.bat = function () { }; method in D
DdeclFileForClassWithMultipleBaseClasses.js21 bat() { } method in D
46 D.prototype.bat = function () { }; method in D
DdestructuredDeclarationEmit.js4 const foo = { bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } }; property
29 var foo = { bar: 'hello', bat: 'world', bam: { bork: { bar: 'a', baz: 'b' } } }; property
40 var baz = foo_1.foo.bar, bat = foo_1.foo.bat, _a = foo_1.foo.bam.bork, ibar = _a.bar, ibaz = _a.baz; variable
DconditionalTypes2.js63 declare function fooBat(x: { foo: string, bat: string }): void; property
/third_party/jerryscript/tests/jerry/es2015/
Dreflect-deleteproperty.js50 var target = {bat: 42}; property
Dreflect-has.js53 var target = {bat: 42}; property
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-dvb-section.c312 _gst_mpegts_bat_stream_copy (GstMpegtsBATStream * bat) in _gst_mpegts_bat_stream_copy()
323 _gst_mpegts_bat_stream_free (GstMpegtsBATStream * bat) in _gst_mpegts_bat_stream_free()
335 _gst_mpegts_bat_copy (GstMpegtsBAT * bat) in _gst_mpegts_bat_copy()
347 _gst_mpegts_bat_free (GstMpegtsBAT * bat) in _gst_mpegts_bat_free()
362 GstMpegtsBAT *bat = NULL; in _parse_bat() local
/third_party/alsa-utils/
DMakefile.am22 SUBDIRS += bat subdir
Dconfigure.ac92 AC_ARG_ENABLE(bat, optenable
/third_party/typescript/tests/cases/conformance/types/conditional/
DconditionalTypes2.ts105 bat: B1<A1<T>>; property
109 bat: B1<B1<T>>; property
/third_party/toybox/toys/other/
Dacpi.c28 int ac, bat, therm, cool; in GLOBALS() argument
/third_party/icu/icu4c/source/test/intltest/
Duobjtest.cpp483 UnicodeString bat("bat"); in testIDs() local
/third_party/gstreamer/gstplugins_bad/tests/examples/mpegts/
Dts-parser.c1026 const GstMpegtsBAT *bat = gst_mpegts_section_get_bat (section); in dump_bat() local
/third_party/toybox/generated/
Dglobals.h210 int ac, bat, therm, cool; member