mirror of https://github.com/thesofproject/sof.git
topology: add C_CONTROL to codec processing topology
This patch extends codec processing topology with C_CONTROLS which comprises of SETUP configuration for both SoF component and CADENCE codec. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
parent
aacbe98768
commit
a6a11d8e65
|
@ -15,6 +15,48 @@ include(`bytecontrol.m4')
|
|||
|
||||
ifdef(`PP_CORE',`', `define(`PP_CORE', 1)')
|
||||
|
||||
#
|
||||
# Controls
|
||||
#
|
||||
|
||||
# Post process setup config
|
||||
CONTROLBYTES_PRIV(PP_SETUP_CONFIG,
|
||||
` bytes "0x53,0x4f,0x46,0x00,0x00,0x00,0x00,0x00,'
|
||||
` 0x5C,0x00,0x00,0x00,0x00,0x10,0x00,0x03,'
|
||||
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
|
||||
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
|
||||
` 0x01,0x01,0xDE,0xCA,0x00,0x00,0x00,0x00,'
|
||||
` 0x80,0xBB,0x00,0x00,0x20,0x00,0x00,0x00,'
|
||||
` 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
|
||||
` 0x0C,0x00,0x00,0x00,0x40,0x00,0x00,0x00,'
|
||||
` 0x01,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,'
|
||||
` 0x80,0xBB,0x00,0x00,0x02,0x00,0x00,0x00,'
|
||||
` 0x0C,0x00,0x00,0x00,0x20,0x00,0x00,0x00,'
|
||||
` 0x03,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,'
|
||||
` 0x01,0x00,0x00,0x00,0x04,0x00,0x00,0x00,'
|
||||
` 0x0C,0x00,0x00,0x00,0x02,0x00,0x00,0x00,'
|
||||
` 0x05,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,'
|
||||
` 0x02,0x00,0x00,0x00"'
|
||||
)
|
||||
|
||||
# Post process Bytes control for setup config
|
||||
C_CONTROLBYTES(Post Process Setup Config, PIPELINE_ID,
|
||||
CONTROLBYTES_OPS(bytes),
|
||||
CONTROLBYTES_EXTOPS(void, 258, 258),
|
||||
, , ,
|
||||
CONTROLBYTES_MAX(void, 300),
|
||||
,
|
||||
PP_SETUP_CONFIG)
|
||||
|
||||
|
||||
# Post process runtime params
|
||||
CONTROLBYTES_PRIV(PP_RUNTIME_PARAMS,
|
||||
` bytes "0x53,0x4f,0x46,0x00,0x01,0x00,0x00,0x00,'
|
||||
` 0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x03,'
|
||||
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
|
||||
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00"'
|
||||
)
|
||||
|
||||
#
|
||||
# Components and Buffers
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue