Skip to content
Merged
Show file tree
Hide file tree
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
19 changes: 19 additions & 0 deletions modules/cmn/common/utils/inc/audio_iir_tdf2_asm.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*========================================================================*/
/**
@file audio_iir_tdf2_asm.h

This file defines flags to use Q6 ASM of IIR TDF2 functions.
*/

/*
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
* SPDX-License-Identifier: BSD-3-Clause
*/

#ifndef _AUDIO_IIRTDF2_ASM_H_
#define _AUDIO_IIRTDF2_ASM_H_

#define QDSP6_ASM_IIRTDF2_32
#define QDSP6_ASM_IIRTDF2_16

#endif /* _AUDIO_IIRTDF2_ASM_H_ */
6 changes: 3 additions & 3 deletions modules/cmn/common/utils/src/audio_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ void biquad_process_io
)
{

/*#if ((defined __hexagon__) || (defined __qdsp6__))
#if ((defined __hexagon__) || (defined __qdsp6__))

int16 *bufPtr = srcBuf;
int16 *coeffptr = &filter->coeffsL16Q13[filter->coeffIndex];
Expand All @@ -459,7 +459,7 @@ void biquad_process_io



#else */
#else
int32 i;
int16 xInL16;
int16 *yL16 = filter->yL16;
Expand Down Expand Up @@ -520,7 +520,7 @@ void biquad_process_io
}
/*-- store accumulator value back --*/
filter->yL32 = s32_extract_s40_l(yL40);
//#endif
#endif
} /*----------------- end of function biquad_process_io --------------------*/


Expand Down
Loading