Home
last modified time | relevance | path

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

/external/autotest/server/brillo/feedback/
Dclosed_loop_audio_client.py36 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/
Daudio_utils.py54 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/
Dsignal_processing.py131 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/
Daudio_query_delegate_impl.py158 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/
Dsb16_csp.h65 int sample_width; /* sample width, look above */ member
/external/skia/src/core/
DSkScalerContext.cpp316 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()