/sof-2.7.6/test/cmocka/src/audio/mixer/ |
D | mixer_test.c | 70 struct source *sources; member 80 .sources = NULL \ 130 tc->sources = malloc(tc->num_sources * sizeof(struct source)); in create_sources() 135 struct source *src = &tc->sources[src_idx]; in create_sources() 161 destroy_comp(&drv_mock, tc->sources[src_idx].comp); in destroy_sources() 163 free(tc->sources); in destroy_sources() 171 tc->sources[src_idx].comp->state = COMP_STATE_ACTIVE; in activate_periph_comps() 272 uint32_t *samples = tc->sources[src_idx].buf->stream.addr; in test_audio_mixer_copy() 280 audio_stream_produce(&tc->sources[src_idx].buf->stream, in test_audio_mixer_copy() 290 assert_non_null(tc->sources[src_idx].buf); in test_audio_mixer_copy() [all …]
|
/sof-2.7.6/src/include/sof/audio/rtnr/rtklib/include/ |
D | RTK_MA_API.h | 14 void RTKMA_API_S16_Default(void *Context, const struct audio_stream **sources, 18 void RTKMA_API_S24_Default(void *Context, const struct audio_stream **sources, 22 void RTKMA_API_S32_Default(void *Context, const struct audio_stream **sources,
|
/sof-2.7.6/src/audio/mux/ |
D | mux_generic.c | 20 const struct audio_stream **sources, in mux_check_for_wrap() argument 28 source = sources[lookup->copy_elem[elem].stream_id]; in mux_check_for_wrap() 83 **sources, in mux_calc_frames_without_wrap_s16() 101 source = sources[lookup->copy_elem[elem].stream_id]; in mux_calc_frames_without_wrap_s16() 115 const struct audio_stream **sources, in mux_init_look_up_pointers_s16() argument 123 source = sources[lookup->copy_elem[elem].stream_id]; in mux_init_look_up_pointers_s16() 221 const struct audio_stream **sources, uint32_t frames, in mux_s16le() argument 235 mux_init_look_up_pointers_s16(dev, sink, sources, lookup); in mux_s16le() 239 mux_calc_frames_without_wrap_s16(dev, sink, sources, in mux_s16le() 256 mux_check_for_wrap(sink, sources, lookup); in mux_s16le() [all …]
|
D | mux.c | 355 const struct audio_stream **sources) in mux_prepare_active_look_up() argument 368 source = sources[cd->lookup[0].copy_elem[elem].stream_id]; in mux_prepare_active_look_up() 521 struct comp_buffer *sources[MUX_MAX_STREAMS] = { NULL }; in mux_copy() local 549 sources[i] = source; in mux_copy() 568 if (!sources[i]) in mux_copy() 570 buffer_unlock(sources[i], flags); in mux_copy() 579 if (!sources[i]) in mux_copy() 584 buffer_unlock(sources[i], flags); in mux_copy() 590 if (!sources[i]) in mux_copy() 594 buffer_invalidate(sources[i], sources_bytes[i]); in mux_copy() [all …]
|
/sof-2.7.6/scripts/cmake/ |
D | misc.cmake | 43 # Adds sources to target like target_sources, but assumes that 47 # target_sources(<target> PRIVATE <sources>) 49 # target_sources(<target> PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/<sources>) 85 # It is useful if sources in given target need deterministic relative path 91 get_target_property(sources ${target} SOURCES) 92 foreach(src ${sources})
|
/sof-2.7.6/test/cmocka/src/audio/mux/ |
D | mux_copy.c | 27 struct comp_buffer *sources[MUX_MAX_STREAMS]; member 150 td->sources[i] = create_test_source(td->dev, i, td->format, PLATFORM_MAX_CHANNELS, in prepare_sources() 154 memcpy_s(td->sources[i]->stream.addr, buffer_size, &input_16b[i], in prepare_sources() 157 memcpy_s(td->sources[i]->stream.addr, buffer_size, &input_24b[i], in prepare_sources() 160 memcpy_s(td->sources[i]->stream.addr, buffer_size, &input_32b[i], in prepare_sources() 163 audio_stream_produce(&td->sources[i]->stream, buffer_size); in prepare_sources() 164 assert_int_equal(audio_stream_get_avail_bytes(&td->sources[i]->stream), in prepare_sources() 200 free_test_source(td->sources[i]); in teardown_test_case()
|
/sof-2.7.6/src/audio/ |
D | mixer.c | 58 const struct audio_stream **sources, uint32_t count, 65 const struct audio_stream **sources, uint32_t num_sources, in mix_n_s16() argument 81 src = audio_stream_read_frag_s16(sources[j], in mix_n_s16() 100 const struct audio_stream **sources, uint32_t num_sources, in mix_n_s32() argument 116 src = audio_stream_read_frag_s32(sources[j], in mix_n_s32() 274 struct comp_buffer *sources[PLATFORM_MAX_STREAMS]; in mixer_copy() local 298 sources[num_mix_sources] = source; in mixer_copy() 330 buffer_lock(sources[i], &source_flags); in mixer_copy() 334 buffer_unlock(sources[i], source_flags); in mixer_copy() 350 buffer_invalidate(sources[i], source_bytes); in mixer_copy() [all …]
|
D | CMakeLists.txt | 147 # sources for each module
|
/sof-2.7.6/zephyr/ |
D | CMakeLists.txt | 17 # It is useful if sources in given target need deterministic relative path 23 get_target_property(sources ${target} SOURCES) 24 foreach(src ${sources}) 94 # SOC level sources 100 # Driver sources 107 # Platform sources 142 # Driver sources 177 # Platform sources 204 # Driver sources 243 # Platform sources [all …]
|
/sof-2.7.6/src/include/sof/audio/rtnr/ |
D | rtnr.h | 21 const struct audio_stream **sources,
|
/sof-2.7.6/src/audio/rtnr/ |
D | rtnr.c | 103 static void rtnr_s16_default(struct comp_dev *dev, const struct audio_stream **sources, in rtnr_s16_default() argument 109 RTKMA_API_S16_Default(cd->rtk_agl, sources, sink, frames, in rtnr_s16_default() 118 static void rtnr_s24_default(struct comp_dev *dev, const struct audio_stream **sources, in rtnr_s24_default() argument 124 RTKMA_API_S24_Default(cd->rtk_agl, sources, sink, frames, in rtnr_s24_default() 133 static void rtnr_s32_default(struct comp_dev *dev, const struct audio_stream **sources, in rtnr_s32_default() argument 139 RTKMA_API_S32_Default(cd->rtk_agl, sources, sink, frames, in rtnr_s32_default()
|
/sof-2.7.6/src/include/sof/audio/ |
D | mux.h | 65 const struct audio_stream **sources, uint32_t frames,
|
/sof-2.7.6/ |
D | CMakeLists.txt | 123 # hides the generated .h dependency from CMake and most sources are NOT 190 # declare target with no sources to let cmake know about it
|
/sof-2.7.6/src/arch/xtensa/ |
D | CMakeLists.txt | 85 # clang has to compile objects in order to analyze sources, 311 # We have to make additional define, because sources
|
/sof-2.7.6/tools/tune/tdfb/ |
D | bf_design.m | 420 for az_deg = -160:20:180 % Azimuth plane only noise with sources
|