~canonical-hwe-team/hwe-next/+git/sof:tdfb_add_enum_control

Last commit made on 2020-12-15
Get this branch:
git clone -b tdfb_add_enum_control https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
tdfb_add_enum_control
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

00df531... by Seppo Ingalsuo <email address hidden> on 2020-12-10

Tools: Tune: Add multiple angles and beam off settings add to TDFB blob

This patch essentially adds support for steer_az/steer_el to be
vector instead of scalar. The beam off preset is added by default
automatically for N-channel in N-channel out configurations. Microphone
(x,y,z) coordinates are passed in to blob for direction of arrival
reporting.

Signed-off-by: Seppo Ingalsuo <email address hidden>

7e7b904... by Seppo Ingalsuo <email address hidden> on 2020-12-10

Tools: Test: Fix Matlab compatibility of tdfb_test.m script

Matlab does not support isfile(), so another command is used to
check if a file exists. The new way works both in Octave and Matlab.

Signed-off-by: Seppo Ingalsuo <email address hidden>

916c02a... by Seppo Ingalsuo <email address hidden> on 2020-11-20

Topology: Updated TDFB related topology files with beam controls

This patch contains updates to add beam on/off and direction controls.
The common m4 tasks to add controls are placed to include files
tdfb_controls.m4, tdfb_defines.m4, tdfb_undefines.m4.

The old 10 degree angled beams are replaced by 30 degrees since it
matches the enum max. 16 values better. Also with 2 microphones
the more tilted beam achieves better diffuse noise suppression and
minimal added attenuation vs. 10 degree for 0 degrees located talker.

Signed-off-by: Seppo Ingalsuo <email address hidden>

420eff4... by Seppo Ingalsuo <email address hidden> on 2020-12-10

Testbench: Fix for multiple controls parsing for process components

This patch prevents topology parse failure when there are multiple
controls, e.g. enum controls.

Signed-off-by: Seppo Ingalsuo <email address hidden>

a4402fa... by Seppo Ingalsuo <email address hidden> on 2020-12-10

Audio: TDFB: Add enum controls for beam on/off and direction

This patch adds the enums set/get controls. The configuration blob
is updated to pass filters settings for multiple angles, a bypass
coefficients set, and microphones (x, y, z) coordinates for
direction enum get (implemented later).

Signed-off-by: Seppo Ingalsuo <email address hidden>

fc9b89a... by Jaska Uimonen <email address hidden> on 2020-09-08

topology: add enum control

Add m4 macros to generate enumerated control. Usage is similar to mixer
and bytes control except enumerated values are specified using separate
text section.

Signed-off-by: Jaska Uimonen <email address hidden>

6823206... by Curtis Malainey <email address hidden> on 2020-12-10

oss-fuzz: add seed corpus

There are simply a dump of a series of messages from the kernel of
messages sent to the firmware. This will be used by the fuzzer to infer
inputs to tests against the the firmware.

Signed-off-by: Curtis Malainey <email address hidden>

0a7df45... by Curtis Malainey <email address hidden> on 2020-10-15

library: add trace and shared memory region

Trace is enabled by default for library builds, but the module is not
included. This breaks the ipc handler. Therefore lets include it and
give it a mocked section of memory to write to.

Signed-off-by: Curtis Malainey <email address hidden>

44c72a4... by Curtis Malainey <email address hidden> on 2020-10-14

library: refactor init sequence

The fuzzer is makings its way into a lot places where we assume hw
configs exist. Therefore a refactor is needed make it easy to fill in
the missing configs.

Signed-off-by: Curtis Malainey <email address hidden>

9e0a560... by Pin-chih Lin <email address hidden> on 2020-11-12

sof: multiband_drc: Add Multiband DRC component

Multiband DRC is a single-source-single-sink compound component which
consists of 4 stages: Emphasis Equalizer, Crossover Filter (from 1-band to
4-band), DRC (per band), and Deemphasis Equalizer of summed stream.

The following graph illustrates a 3-band Multiband DRC component:

                                 low
                                o----> DRC0 ----o
                                | |
                      3-WAY |mid |
x(n) --> EQ EMP --> CROSSOVER --o----> DRC1 ---(+)--> EQ DEEMP --> y(n)
                                | |
                                |high |
                                o----> DRC2 ----o

Signed-off-by: Pin-chih Lin <email address hidden>