Searched refs:sample_width (Results 1 – 6 of 6) sorted by relevance
/external/autotest/server/brillo/feedback/ |
D | closed_loop_audio_client.py | 36 def _max_volume(sample_width): argument 45 return (1 << 8) if sample_width == 1 else (1 << (sample_width * 8 - 1)) 150 sample_width=_DEFAULT_SAMPLE_WIDTH, argument 163 self.sample_width = sample_width 170 (num_channels, duration_secs, sample_rate, sample_width, 193 sample_width=self.sample_width) 199 max_vol = _max_volume(self.sample_width) * _SILENCE_THRESHOLD 228 sample_width=self.sample_width) 274 sample_width=_DEFAULT_SAMPLE_WIDTH, argument 292 self.sample_width = sample_width [all …]
|
/external/autotest/server/brillo/ |
D | audio_utils.py | 54 sample_width = wave_file.getsampwidth() 55 if sample_width == 1: 57 elif sample_width == 2: 59 elif sample_width == 4: 68 if sample_width == 1: 75 sample_width=None): argument 97 if sample_width is not None and chk_file.getsampwidth() != sample_width: 99 sample_width, chk_file.getsampwidth()) 113 def generate_sine_file(host, num_channels, sample_rate, sample_width, argument 131 if sample_width == 1: [all …]
|
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/ |
D | signal_processing.py | 131 bit_depth=template.sample_width * 8, 151 bit_depth=template.sample_width * 8) 191 if signal.sample_width != 2: # Note that signal.sample_width is in bytes. 251 signal.sample_width, 286 'sample_width': signal.sample_width,
|
/external/autotest/site_utils/tester_feedback/ |
D | audio_query_delegate_impl.py | 158 def _prepare_impl(self, use_file, sample_width, sample_rate, argument 179 self._sample_width = sample_width 209 sample_width=self._sample_width)
|
/external/kernel-headers/original/uapi/sound/ |
D | sb16_csp.h | 65 int sample_width; /* sample width, look above */ member
|
/external/skia/src/core/ |
D | SkScalerContext.cpp | 316 const int sample_width = src.width(); in pack4xHToMask() local 367 for (int sample_x = -4; sample_x < sample_width + 4; sample_x += 4) { in pack4xHToMask() 370 ; sample_index < std::min(sample_x + 8, sample_width) in pack4xHToMask()
|