Skip to content
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

ipc4: mixin: Add "mix with gain" HiFi5 impl #9795

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/audio/mixin_mixout/mixin_mixout_hifi3.c
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ static void mix_s16(struct cir_buf_ptr *sink, int32_t start_sample, int32_t mixe
outu1 = AE_LA64_PP(out);
m = n >> 2;
left = n & 0x03;
/* process 4 frames per loop */
/* process 4 samples per loop */
for (i = 0; i < m; i++) {
AE_LA16X4_IP(in_sample, inu, in);
AE_LA16X4_IP(out_sample, outu1, out);
@@ -81,7 +81,7 @@ static void mix_s16(struct cir_buf_ptr *sink, int32_t start_sample, int32_t mixe
inu = AE_LA64_PP(in);
m = n >> 2;
left = n & 0x03;
/* process 4 frames per loop */
/* process 4 samples per loop */
for (i = 0; i < m; i++) {
AE_LA16X4_IP(in_sample, inu, in);
AE_SA16X4_IP(in_sample, outu2, out);
@@ -138,7 +138,7 @@ static void mix_s16_gain(struct cir_buf_ptr *sink, int32_t start_sample, int32_t
outu1 = AE_LA64_PP(out);
m = n >> 2;
left = n & 0x03;
/* process 4 frames per loop */
/* process 4 samples per loop */
for (i = 0; i < m; i++) {
AE_LA16X4_IP(in_sample, inu, in);

@@ -184,7 +184,7 @@ static void mix_s16_gain(struct cir_buf_ptr *sink, int32_t start_sample, int32_t
inu = AE_LA64_PP(in);
m = n >> 2;
left = n & 0x03;
/* process 4 frames per loop */
/* process 4 samples per loop */
for (i = 0; i < m; i++) {
AE_LA16X4_IP(in_sample, inu, in);

Loading