Home
last modified time | relevance | path

Searched refs:MUX_MAX_STREAMS (Results 1 – 4 of 4) sorted by relevance

/sof-2.7.6/test/cmocka/src/audio/mux/
Ddemux_copy.c24 uint8_t mask[MUX_MAX_STREAMS][PLATFORM_MAX_CHANNELS];
25 void *outputs[MUX_MAX_STREAMS];
28 struct comp_buffer *sinks[MUX_MAX_STREAMS];
52 static uint8_t masks[][MUX_MAX_STREAMS][PLATFORM_MAX_CHANNELS] = {
94 + MUX_MAX_STREAMS * sizeof(struct mux_stream_data); in create_demux_comp_ipc()
104 mux->num_streams = MUX_MAX_STREAMS; in create_demux_comp_ipc()
106 for (i = 0; i < MUX_MAX_STREAMS; ++i) { in create_demux_comp_ipc()
120 for (i = 0; i < MUX_MAX_STREAMS; ++i) { in prepare_sinks()
133 td->source = create_test_source(td->dev, MUX_MAX_STREAMS + 1, td->format, in prepare_source()
179 for (i = 0; i < MUX_MAX_STREAMS; ++i) in teardown_test_case()
[all …]
Dmux_copy.c24 uint8_t mask[MUX_MAX_STREAMS][PLATFORM_MAX_CHANNELS];
27 struct comp_buffer *sources[MUX_MAX_STREAMS];
31 static int16_t input_16b[MUX_MAX_STREAMS][PLATFORM_MAX_CHANNELS] = {
42 static int32_t input_24b[MUX_MAX_STREAMS][PLATFORM_MAX_CHANNELS] = {
53 static int32_t input_32b[MUX_MAX_STREAMS][PLATFORM_MAX_CHANNELS] = {
70 static uint8_t masks[][MUX_MAX_STREAMS][PLATFORM_MAX_CHANNELS] = {
112 + MUX_MAX_STREAMS * sizeof(struct mux_stream_data); in create_mux_comp_ipc()
122 mux->num_streams = MUX_MAX_STREAMS; in create_mux_comp_ipc()
124 for (i = 0; i < MUX_MAX_STREAMS; ++i) { in create_mux_comp_ipc()
137 td->sink = create_test_sink(td->dev, MUX_MAX_STREAMS + 1, td->format, PLATFORM_MAX_CHANNELS, in prepare_sink()
[all …]
/sof-2.7.6/src/audio/mux/
Dmux.c104 if (cfg->num_streams > MUX_MAX_STREAMS) { in mux_set_values()
106 META_QUOTE(MUX_MAX_STREAMS), cfg->num_streams); in mux_set_values()
177 sizeof(*cd) + MUX_MAX_STREAMS * sizeof(struct mux_stream_data)); in mux_new()
186 MUX_MAX_STREAMS * sizeof(struct mux_stream_data), in mux_new()
216 for (idx = 0; idx < MUX_MAX_STREAMS; idx++) in get_stream_index()
231 for (i = 0; i < MUX_MAX_STREAMS; i++) in get_lookup_table()
419 struct comp_buffer *sinks[MUX_MAX_STREAMS] = { NULL }; in demux_copy()
420 struct mux_look_up *look_ups[MUX_MAX_STREAMS] = { NULL }; in demux_copy()
427 uint32_t sinks_bytes[MUX_MAX_STREAMS] = { 0 }; in demux_copy()
471 for (i = 0; i < MUX_MAX_STREAMS; i++) { in demux_copy()
[all …]
/sof-2.7.6/src/include/sof/audio/
Dmux.h30 #define MUX_MAX_STREAMS 4 macro
33 STATIC_ASSERT(MUX_MAX_STREAMS < PLATFORM_MAX_STREAMS,
123 struct mux_look_up lookup[MUX_MAX_STREAMS];