MLK-24255-2 ASoC: SOF: Introduce POST_PROCESS component type
POST_PROCESS component takes care of processing algorithms. For now, we intend to use this component for decoding/encoding library algorithms from Cadence. Current implementation assumes that we will still use ALSA PCM interface. The heavy part is done on firmware side with the help of topology files. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
parent
3c7733829c
commit
f24c043d4a
|
@ -38,6 +38,8 @@ enum sof_comp_type {
|
|||
SOF_COMP_DEMUX,
|
||||
SOF_COMP_ASRC,
|
||||
SOF_COMP_DCBLOCK,
|
||||
SOF_COMP_PP,
|
||||
|
||||
/* keep FILEREAD/FILEWRITE as the last ones */
|
||||
SOF_COMP_FILEREAD = 10000, /**< host test based file IO */
|
||||
SOF_COMP_FILEWRITE = 10001, /**< host test based file IO */
|
||||
|
@ -181,6 +183,7 @@ enum sof_ipc_process_type {
|
|||
SOF_PROCESS_MUX,
|
||||
SOF_PROCESS_DEMUX,
|
||||
SOF_PROCESS_DCBLOCK,
|
||||
SOF_PROCESS_PP, /** < Post process */
|
||||
};
|
||||
|
||||
/* generic "effect", "codec" or proprietary processing component */
|
||||
|
|
|
@ -406,6 +406,7 @@ static const struct sof_process_types sof_process[] = {
|
|||
{"CHAN_SELECTOR", SOF_PROCESS_CHAN_SELECTOR, SOF_COMP_SELECTOR},
|
||||
{"MUX", SOF_PROCESS_MUX, SOF_COMP_MUX},
|
||||
{"DEMUX", SOF_PROCESS_DEMUX, SOF_COMP_DEMUX},
|
||||
{"POST_PROCESS", SOF_PROCESS_PP, SOF_COMP_PP},
|
||||
};
|
||||
|
||||
static enum sof_ipc_process_type find_process(const char *name)
|
||||
|
|
Loading…
Reference in New Issue