Uh oh!
There was an error while loading. Please reload this page.
audio: volume: optimize volume component with HIFI3 - #5169
Conversation
lyakh
left a comment
There was a problem hiding this comment.
wouldn't it be easier to create two additional files for the new optimisation options and link one of them in CMakeLists.txt?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
singalsu
left a comment
There was a problem hiding this comment.
Good work! Some comments:
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cujomalainey
commented
Jan 11, 2022
@andrula-song if you have fixed comments please mark them as resolved |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
andrula-song
commented
Jan 14, 2022
becuse there is still a failed case about check-alsabat-headset-playback.sh on ADLP_RVP_NOCODEC device, I am trying to fix it and may need many submission, so i will creat a new draft to test it. |
lgirdwood
commented
Jan 14, 2022
Please use the same PR and just force push your updates. This keeps the history and context for your changes. |
andrula-song
commented
Jan 18, 2022
@lgirdwood It seems like this commit passed all sof-ci test cases except heck-suspend-resume-with-playback-5.sh(other PRs also failed this case). But there is still tgl failed cases of Internal Intel CI System/merge/build, if these are unrelated cases, maybe the latest commit is ready for review. |
lgirdwood
commented
Jan 18, 2022
@andrula-song there is an issues with CI that @kkarask is fixing. We should be able to retest later today. |
Uh oh!
There was an error while loading. Please reload this page.
andrula-song
commented
Jan 19, 2022
@kkarask can you provid wav file of failed cases in Internal Intel CI System/merge/build? |
andrula-song
commented
Jan 20, 2022
hi @lgirdwood , |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
singalsu
left a comment
There was a problem hiding this comment.
Looks very good, minor things to change!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lgirdwood
left a comment
There was a problem hiding this comment.
@andrula-song looks like we are almost done, but we do need that alignment API as I would imagine other will be doing the same thing. @singalsu any comment ?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lgirdwood
left a comment
There was a problem hiding this comment.
Just need to remove the alignment check and we are good.
Uh oh!
There was an error while loading. Please reload this page.
Processing continuous data. Asking a 8-byte aligned memory to store volume gain 4 times, using 2-way or 4-way pipeline operations of xtensa intrinsics. This method can reduce about 40% MCPS than the original one. Signed-off-by: Andrula Song <xiaoyuan.song@intel.com>
There are 2 methods to optimize volume component in HiFi3
1.Method 1 : Processing data per channel instead of per sample. Skipping address reading and
writing, only load volume gain once for one channel. This method can
reduce about 20% MCPS than the original one
to store volume gain 4 times, using 2-way or 4-way pipeline operations
of xtensa intrinsics. This method can reduce about 40% MCPS than the
original one.
Signed-off-by: Andurla Song xiaoyuan.song@intel.com