/external/autotest/server/site_tests/brillo_PlaybackAudioTest/ |
D | brillo_PlaybackAudioTest.py | 69 def test_playback(self, fb_query, playback_cmd, sample_width, sample_rate, argument 80 fb_query.prepare(sample_width=sample_width, 94 def test_audio(self, fb_client, playback_method, sample_rate, sample_width, argument 110 sample_width=sample_width, 117 self.host, num_channels, sample_rate, sample_width, 127 sample_width=sample_width, 158 for sample_width in sample_widths_arr: 162 logging.info('Sample width: %d', sample_width) 169 sample_width=sample_width, 173 failed_params.append((sample_rate, sample_width,
|
/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/site_tests/brillo_RecordingAudioTest/ |
D | brillo_RecordingAudioTest.py | 40 def _get_recording_cmd(self, recording_method, duration_secs, sample_width, argument 61 (duration_secs, num_channels, sample_rate, sample_width, 70 (num_channels, duration_secs, sample_rate, sample_width, 76 def test_recording(self, fb_query, recording_method, sample_width, argument 95 sample_width=sample_width, 101 sample_width=sample_width, 151 for sample_width in sample_widths_arr: 157 logging.info('Sample width: %d', sample_width) 163 sample_width=sample_width, 169 failed_params.append((sample_rate, sample_width,
|
/external/autotest/server/brillo/ |
D | audio_utils.py | 47 sample_width = wave_file.getsampwidth() 48 if sample_width == 1: 50 elif sample_width == 2: 52 elif sample_width == 4: 61 if sample_width == 1: 68 sample_width=None): argument 90 if sample_width is not None and chk_file.getsampwidth() != sample_width: 92 sample_width, chk_file.getsampwidth()) 106 def generate_sine_file(host, num_channels, sample_rate, sample_width, argument 124 if sample_width == 1: [all …]
|
/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 | 80 int sample_width; /* sample width, look above */ member
|
/external/autotest/server/site_tests/brillo_DecodingAudioTest/ |
D | brillo_DecodingAudioTest.py | 58 fb_query.prepare(sample_width=_DEFAULT_SAMPLE_WIDTH,
|
/external/v4l2_codec2/accel/ |
D | video_frame.cc | 403 const int sample_width = SampleSize(format, plane).width(); in Columns() local 404 return base::bits::Align(width, sample_width) / sample_width; in Columns()
|
/external/skqp/src/core/ |
D | SkScalerContext.cpp | 269 const int sample_width = src.width(); in pack4xHToLCD16() local 309 … for (int sample_x = -4, pixel_x = 0; sample_x < sample_width + 4; sample_x += 4, ++pixel_x) { in pack4xHToLCD16() 312 ; sample_index < SkMin32(sample_x + 8, sample_width) in pack4xHToLCD16()
|
/external/skia/src/core/ |
D | SkScalerContext.cpp | 317 const int sample_width = src.width(); in pack4xHToLCD16() local 367 for (int sample_x = -4; sample_x < sample_width + 4; sample_x += 4) { in pack4xHToLCD16() 370 ; sample_index < std::min(sample_x + 8, sample_width) in pack4xHToLCD16()
|