Home
last modified time | relevance | path

Searched refs:sample_width (Results 1 – 8 of 8) sorted by relevance

/external/autotest/server/site_tests/brillo_PlaybackAudioTest/
Dbrillo_PlaybackAudioTest.py64 def test_playback(self, fb_query, playback_cmd, sample_width, sample_rate, argument
75 fb_query.prepare(sample_width=sample_width,
90 sample_width=_DEFAULT_SAMPLE_WIDTH, argument
114 sample_width=sample_width,
124 if sample_width == 1:
130 sample_width * _BITS_PER_BYTE,
149 sample_width=sample_width,
/external/autotest/server/brillo/feedback/
Dclosed_loop_audio_client.py57 def _max_volume(sample_width): argument
66 return (1 << 8) if sample_width == 1 else (1 << (sample_width * 8 - 1))
229 sample_width=_DEFAULT_SAMPLE_WIDTH, argument
242 self.sample_width = sample_width
250 (num_channels, duration_secs, sample_rate, sample_width,
273 sample_width=self.sample_width)
279 max_vol = _max_volume(self.sample_width) * _SILENCE_THRESHOLD
308 sample_width=self.sample_width)
450 def _validate_impl(self, captured_audio_file, sample_width, argument
466 sample_rate=sample_rate, sample_width=sample_width)
[all …]
/external/autotest/server/site_tests/brillo_RecordingAudioTest/
Dbrillo_RecordingAudioTest.py67 def test_recording(self, fb_query, recording_method, sample_width, argument
102 sample_width=sample_width,
108 sample_width=_DEFAULT_SAMPLE_WIDTH, argument
132 sample_width=sample_width,
/external/autotest/client/common_lib/
Dsite_utils.py724 sample_width = wave_file.getsampwidth()
725 if sample_width == 1:
727 elif sample_width == 2:
729 elif sample_width == 4:
738 sample_width=None): argument
760 if sample_width is not None and chk_file.getsampwidth() != sample_width:
762 sample_width, chk_file.getsampwidth())
/external/autotest/site_utils/tester_feedback/
Daudio_query_delegate_impl.py182 def _validate_impl(self, captured_audio_file, sample_width, argument
200 sample_rate=sample_rate, sample_width=sample_width)
206 props = ['has sample width of %d' % sample_width]
/external/kernel-headers/original/uapi/sound/
Dsb16_csp.h79 int sample_width; /* sample width, look above */ member
/external/skia/src/core/
DSkScalerContext.cpp258 const int sample_width = src.width(); in pack4xHToLCD16() local
298 … for (int sample_x = -4, pixel_x = 0; sample_x < sample_width + 4; sample_x += 4, ++pixel_x) { in pack4xHToLCD16()
301 ; sample_index < SkMin32(sample_x + 8, sample_width) in pack4xHToLCD16()
/external/opencv3/doc/tutorials/objdetect/
Dtraincascade.markdown146 - -w \<sample_width\>