Home
last modified time | relevance | path

Searched refs:capture_index (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/arduino/
Daudio_provider.cc65 const int capture_index = start_sample_offset % kAudioCaptureBufferSize; in CaptureSamples() local
67 PDM.read(g_audio_capture_buffer + capture_index, DEFAULT_PDM_BUFFER_SIZE); in CaptureSamples()
112 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
114 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ceva/
Daudio_provider.cc53 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
54 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
107 const int capture_index = in CaptureSamples() local
109 g_audio_capture_buffer[capture_index] = sample_data[i]; in CaptureSamples()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/osx/
Daudio_provider.cc52 const int capture_index = (sample_offset + i) % kAudioCaptureBufferSize; in OnAudioBufferFilledCallback() local
53 g_audio_capture_buffer[capture_index] = float_samples[i] * ((1 << 15) - 1); in OnAudioBufferFilledCallback()
130 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
131 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/disco_f746ng/
Daudio_provider.cc118 const int capture_index = in CaptureSamples() local
120 g_audio_capture_buffer[capture_index] = in CaptureSamples()
172 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
173 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/nxp_k66f/
Daudio_provider.cc142 const int capture_index = in CaptureSamples() local
144 g_audio_capture_buffer[capture_index] = sample_data[i]; in CaptureSamples()
375 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
376 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/sparkfun_edge/
Daudio_provider.cc357 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
358 const int32_t capture_value = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3evb/
Daudio_provider.cc521 const int capture_index = (start_offset + i) % kAudioCaptureBufferSize; in GetAudioSamples() local
522 g_audio_output_buffer[i] = g_audio_capture_buffer[capture_index]; in GetAudioSamples()
/external/rust/crates/regex/tests/
Dapi.rs93 fn capture_index() { in capture_index() function
/external/rust/crates/regex-syntax/src/ast/
Dparse.rs140 capture_index: Cell::new(0), in build()
230 capture_index: Cell<u32>, field
421 let current = self.parser().capture_index.get(); in next_capture_index()
425 self.parser().capture_index.set(i); in next_capture_index()
1211 let capture_index = self.next_capture_index(open_span)?; in parse_group() localVariable
1212 let cap = self.parse_capture_name(capture_index)?; in parse_group()
1249 let capture_index = self.next_capture_index(open_span)?; in parse_group() localVariable
1252 kind: ast::GroupKind::CaptureIndex(capture_index), in parse_group()
1267 capture_index: u32, in parse_capture_name()
1305 index: capture_index, in parse_capture_name()
Dmod.rs1214 pub fn capture_index(&self) -> Option<u32> { in capture_index() method