Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 29) sorted by relevance

12

/sof-2.7.6/src/audio/pcm_converter/
Dpcm_converter_hifi3.c50 uint32_t ooffset, uint32_t samples) in pcm_convert_s16_to_s24() argument
61 if (!samples) in pcm_convert_s16_to_s24()
62 return samples; in pcm_convert_s16_to_s24()
79 if (++i == samples) in pcm_convert_s16_to_s24()
80 return samples; in pcm_convert_s16_to_s24()
87 while (samples >= 3 && i < samples - 3) { in pcm_convert_s16_to_s24()
112 while (i++ != samples) { in pcm_convert_s16_to_s24()
127 return samples; in pcm_convert_s16_to_s24()
155 uint32_t ooffset, uint32_t samples) in pcm_convert_s24_to_s16() argument
169 if (!samples) in pcm_convert_s24_to_s16()
[all …]
Dpcm_converter_generic.c32 uint32_t ooffset, uint32_t samples) in pcm_convert_s16_to_s24() argument
39 for (i = 0; i < samples; i++) { in pcm_convert_s16_to_s24()
46 return samples; in pcm_convert_s16_to_s24()
51 uint32_t ooffset, uint32_t samples) in pcm_convert_s24_to_s16() argument
58 for (i = 0; i < samples; i++) { in pcm_convert_s24_to_s16()
65 return samples; in pcm_convert_s24_to_s16()
74 uint32_t ooffset, uint32_t samples) in pcm_convert_s16_to_s32() argument
81 for (i = 0; i < samples; i++) { in pcm_convert_s16_to_s32()
88 return samples; in pcm_convert_s16_to_s32()
93 uint32_t ooffset, uint32_t samples) in pcm_convert_s32_to_s16() argument
[all …]
Dpcm_converter.c19 uint32_t samples, pcm_converter_lin_func converter) in pcm_convert_as_linear() argument
34 if (audio_stream_get_avail_samples(source) < samples + ioffset) in pcm_convert_as_linear()
36 if (audio_stream_get_free_samples(sink) < samples + ooffset) in pcm_convert_as_linear()
39 while (i < samples) { in pcm_convert_as_linear()
47 chunk = MIN(chunk, samples - i); in pcm_convert_as_linear()
58 return samples; in pcm_convert_as_linear()
/sof-2.7.6/src/include/sof/audio/
Dpcm_converter.h47 uint32_t ooffset, uint32_t samples);
56 uint32_t samples);
153 uint32_t samples, pcm_converter_lin_func converter);
Daudio_stream.h558 uint32_t ooffset, uint32_t samples) in audio_stream_copy() argument
565 uint32_t bytes = samples * ssize; in audio_stream_copy()
587 return samples; in audio_stream_copy()
/sof-2.7.6/src/lib/
Ddma.c189 uint32_t samples = source_bytes / in dma_buffer_copy_from() local
192 samples; in dma_buffer_copy_from()
199 ret = process(istream, 0, &sink->stream, 0, samples); in dma_buffer_copy_from()
217 uint32_t samples = sink_bytes / in dma_buffer_copy_to() local
220 samples; in dma_buffer_copy_to()
226 ret = process(&source->stream, 0, ostream, 0, samples); in dma_buffer_copy_to()
/sof-2.7.6/tools/test/audio/test_utils/
Dload_test_input.m13 % x - samples
14 % n - number of samples
Dfind_test_signal.m11 % nt - number of samples in test tone
12 % nt_use - number of samples to use
13 % nt_skip - number of samples to skip
63 %% Delay to first tone, length of tone in samples
Dload_test_output.m13 % x - samples
14 % n - number of samples
Dmix_sweep.m7 %% Adjust tone lengt to integer number of samples
8 test.nt = round(test.tl*test.fs); % Make number of samples per tone
Dmix_chirp.m33 %% Adjust tone length to integer number of samples
34 test.nt = round(test.cl*test.fs); % Make number of samples per tone
Dchirp_test_analyze.m34 % Check for proper ratio of out/in samples, minimum level, maximum offset
/sof-2.7.6/src/samples/
DKconfig6 bool "Build samples"
/sof-2.7.6/src/
DKconfig15 rsource "samples/Kconfig"
DCMakeLists.txt10 add_subdirectory(samples)
/sof-2.7.6/test/cmocka/src/audio/mixer/
Dmixer_test.c272 uint32_t *samples = tc->sources[src_idx].buf->stream.addr; in test_audio_mixer_copy() local
277 samples[smp] = ((sin(rad) + 1) / 2) * (0xFFFFFFFF / 2); in test_audio_mixer_copy()
292 uint32_t *samples = in test_audio_mixer_copy() local
295 sum += samples[smp]; in test_audio_mixer_copy()
/sof-2.7.6/src/samples/audio/
DKconfig3 menu "Audio component samples"
/sof-2.7.6/src/audio/
Dgoogle_hotword_detect.c333 const void *samples, in ghd_detect() argument
357 (uint32_t)samples, bytes / sample_bytes); in ghd_detect()
358 ret = GoogleHotwordDspProcess(samples, bytes / sample_bytes, in ghd_detect()
Ddai.c906 uint32_t samples; in dai_copy() local
925 samples = MIN(src_samples, sink_samples); in dai_copy()
929 samples = MIN(src_samples, sink_samples); in dai_copy()
935 samples = MIN(samples, dd->period_bytes / sampling); in dai_copy()
937 copy_bytes = samples * sampling; in dai_copy()
943 samples / buf->stream.channels); in dai_copy()
/sof-2.7.6/tools/topology/topology1/platform/intel/
Dcml.m442 # for sof-cml-rt5682-max98357.m4 uses 3 parameters and bits per samples set by SSP1_VALID_BITS
65 # for sof-cml-rt5682-max98357.m4 uses 3 parameters and bits per samples set by SSP1_VALID_BITS
/sof-2.7.6/test/cmocka/src/audio/pcm_converter/
Dpcm_float.c73 int samples, const void *data) in _test_pcm_convert() argument
80 const int inbytes = samples * get_sample_bytes(frm_in); in _test_pcm_convert()
81 const int outbytes = (samples + 1) * get_sample_bytes(frm_out); in _test_pcm_convert()
97 fun(&source->stream, 0, &sink->stream, 0, samples); in _test_pcm_convert()
/sof-2.7.6/tools/test/audio/std_utils/
Dg_test_input.m67 % 0.5 seconds tone, this will be adjusted to be integer number of samples
/sof-2.7.6/zephyr/
DREADME48 % west build -p always -b up_squared_adsp samples/basic/minimal
/sof-2.7.6/tools/tune/crossover/
Dcrossover_plot_freq.m3 % that represents the path the samples go through for each sinks.
/sof-2.7.6/tools/tune/tdfb/
Dbf_design.m376 nt = bf.fs * bf.sinerot_t; % Number samples output per angle
377 nti = p * nt; % Number samples output per angle at high rate
417 nt = floor(bf.fs * bf.diffuse_t); % Number samples output per angle
418 nti = p * nt; % Number samples output per angle at high rate

12