|
Sound Open Firmware
|
Channel selector component header file. More...

Go to the source code of this file.
Data Structures | |
| struct | ipc4_selector_coeffs_config |
| IPC4 mixing coefficients configuration. More... | |
| struct | sof_selector_ipc4_pin_config |
| struct | sof_selector_ipc4_config |
| struct | sof_selector_avs_ipc4_config |
| struct | comp_data |
| Selector component private data. More... | |
| struct | comp_func_map |
| Selector processing functions map. More... | |
Macros | |
| #define | SEL_COEF_ONE_Q10 1024 /* int16(1 * 2^10) */ |
| Default mix gain. | |
| #define | SEL_SOURCE_1CH 1 |
| Supported channel count on input. | |
| #define | SEL_SOURCE_2CH 2 |
| #define | SEL_SOURCE_4CH 4 |
| #define | SEL_SINK_1CH 1 |
| Supported channel count on output. | |
| #define | SEL_SINK_2CH 2 |
| #define | SEL_SINK_4CH 4 |
Typedefs | |
| typedef void(* | sel_func) (struct processing_module *mod, const struct cir_buf_source *source, struct cir_buf_sink *sink, size_t frames) |
| selector processing function interface | |
Enumerations | |
| enum | ipc4_selector_config_id { IPC4_SELECTOR_COEFFS_CONFIG_ID = 0 } |
| IPC4 configuration IDs for selector. More... | |
| enum | ipc4_selector_init_payload_fmt { IPC4_SEL_INIT_PAYLOAD_BASE_WITH_EXT , IPC4_SEL_INIT_PAYLOAD_BASE_WITH_OUT_FMT } |
Functions | |
| sel_func | sel_get_processing_function (struct processing_module *mod) |
| Retrieves selector processing function. | |
Variables | |
| const struct comp_func_map | func_map [] |
| Map of formats with dedicated processing functions. | |
Channel selector component header file.
| #define SEL_COEF_ONE_Q10 1024 /* int16(1 * 2^10) */ |
Default mix gain.
| #define SEL_SINK_1CH 1 |
Supported channel count on output.
| #define SEL_SINK_2CH 2 |
| #define SEL_SINK_4CH 4 |
| #define SEL_SOURCE_1CH 1 |
Supported channel count on input.
| #define SEL_SOURCE_2CH 2 |
| #define SEL_SOURCE_4CH 4 |
| typedef void(* sel_func) (struct processing_module *mod, const struct cir_buf_source *source, struct cir_buf_sink *sink, size_t frames) |
selector processing function interface
| sel_func sel_get_processing_function | ( | struct processing_module * | mod | ) |
Retrieves selector processing function.
| [in,out] | mod | Selector module adapter. |
|
extern |
Map of formats with dedicated processing functions.