Skip to content

EQ FIR optimize proposal#194

Merged
lgirdwood merged 5 commits intothesofproject:nextfrom
singalsu:eq_fir_optimize_proposal
Aug 8, 2018
Merged

EQ FIR optimize proposal#194
lgirdwood merged 5 commits intothesofproject:nextfrom
singalsu:eq_fir_optimize_proposal

Conversation

@singalsu
Copy link
Copy Markdown
Collaborator

@singalsu singalsu commented Aug 3, 2018

This patch optimizes FIR EQ computation speed a lot when compiled with xt-xcc.

The IPC is updated to match ALSA conventions with binary and enum controls.

Also code style is fixed to pass the pre-commit and post-commit checks.

Copy link
Copy Markdown
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment, can you also change PR to pull into next as master is code freeze.

Comment thread src/audio/fir_config.h Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the pull request into next from edit menu but there's a lot of other commits and even conflicts in other parts than my work. It looks like next was behind master.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@singalsu you will need to rebase on top of next, this will remove other commits

@singalsu singalsu changed the base branch from master to next August 6, 2018 08:03
This patch add possibility to use two samples per call processed
filter core. The use of optimized version depends on FIR core header
files settings. Normally when compiled with xt-xcc the optimized filter
version will be used.

The set data and get data IPC is updated to use binary and enum control
commands.

A pass-trough copy function is added get working pipeline with
non-configured EQ.

The full-circular EQ copy function is needed since it is unnecessary.
Normal SOF components work with buffers

EQ mute is removed since SOF components do not usually support it except
volume.

The IPC is updated to match ALSA binary and enum controls style. The
previous approach was not practical for kernel driver side.

Code style is updated the pass the checks.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu force-pushed the eq_fir_optimize_proposal branch from 3c7f7cb to bb3407c Compare August 8, 2018 07:54
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu force-pushed the eq_fir_optimize_proposal branch from bb3407c to 920dc98 Compare August 8, 2018 08:22
@singalsu singalsu changed the title Eq fir optimize proposal EQ FIR optimize proposal Aug 8, 2018
@singalsu
Copy link
Copy Markdown
Collaborator Author

singalsu commented Aug 8, 2018

@lgirdwood I've now rebased to next and fixed that // comment line. It was a mistake and that header file that I had commented out for some weird reason needs to be included.

@lgirdwood lgirdwood merged commit 20752b7 into thesofproject:next Aug 8, 2018
@singalsu singalsu deleted the eq_fir_optimize_proposal branch April 29, 2019 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants