-
Notifications
You must be signed in to change notification settings - Fork 350
[RFC] Demux blob #2594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Demux blob #2594
Changes from all commits
36692b3
2d57fa8
aa0bf5d
064d985
b28d96f
31058e2
a26efeb
ede497d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ include(`utils.m4') | |
| include(`dai.m4') | ||
| include(`pipeline.m4') | ||
| include(`ssp.m4') | ||
| include(`muxdemux.m4') | ||
|
|
||
| # Include TLV library | ||
| include(`common/tlv.m4') | ||
|
|
@@ -19,6 +20,36 @@ include(`platform/intel/bxt.m4') | |
|
|
||
| DEBUG_START | ||
|
|
||
| dnl Configure demux | ||
| dnl name, pipeline_id, routing_matrix_rows | ||
| dnl Diagonal 1's in routing matrix mean that every input channel is | ||
| dnl copied to corresponding output channels in all output streams. | ||
| dnl I.e. row index is the input channel, 1 means it is copied to | ||
| dnl corresponding output channel (column index), 0 means it is discarded. | ||
| dnl There's a separate matrix for all outputs. | ||
| define(matrix1, `ROUTE_MATRIX(1, | ||
| `BITS_TO_BYTE(1, 0, 0 ,0 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 1, 0 ,0 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 1 ,0 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,1 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,1 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,0 ,1 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,0 ,0 ,1 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,0 ,0 ,0 ,1)')') | ||
|
|
||
|
||
| define(matrix2, `ROUTE_MATRIX(5, | ||
| `BITS_TO_BYTE(1, 0, 0 ,0 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 1, 0 ,0 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 1 ,0 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,1 ,0 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,1 ,0 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,0 ,1 ,0 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,0 ,0 ,1 ,0)', | ||
| `BITS_TO_BYTE(0, 0, 0 ,0 ,0 ,0 ,0 ,1)')') | ||
|
|
||
| dnl name, num_streams, route_matrix list | ||
| MUXDEMUX_CONFIG(demux_priv, 2, LIST(` ', `matrix1,', `matrix2')) | ||
|
|
||
| # | ||
| # Define the pipelines | ||
| # | ||
|
|
@@ -29,6 +60,8 @@ DEBUG_START | |
| # PCM4 <---- demux | ||
| # | ||
|
|
||
|
|
||
|
|
||
| dnl PIPELINE_PCM_ADD(pipeline, | ||
| dnl pipe id, pcm, max channels, format, | ||
| dnl period, priority, core, | ||
|
|
||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.