Skip to content
Open
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
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,12 @@ include_directories(

set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--export-dynamic")

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/empty.c" "")

if (${CONFIG_SPF_AS_STATIC_LIB} MATCHES "y")
add_library(spf STATIC "" )
else()
add_library(spf SHARED "" )
add_library(spf SHARED "${CMAKE_CURRENT_BINARY_DIR}/empty.c" )
endif()

message (STATUS "Generating AMDB configs")
Expand Down
25 changes: 25 additions & 0 deletions arch/hexagon/configs/defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
CONFIG_ARCH_HEXAGON=y
CONFIG_HEXAGON_TOOLS_ROOT="/pkg/qct/software/hexagon/releases/tools/8.6.01"
CONFIG_HEXAGON_SDK_ROOT="/pkg/qct/software/hexagon/hexagonsdk/4.5.0"
CONFIG_DISABLE_PLATFORM=y
# CONFIG_COMPILE_POSAL is not set
CONFIG_PROC_DOMAIN="ADSP"
#
# Modules
#
CONFIG_MODULES=y
CONFIG_MODULES_DEBUG=n
CONFIG_ENCODER=n
CONFIG_ECHO_CANCELLATION=n
CONFIG_EXAMPLE_GAIN=n

#
# Signal Processing Framework
#
# CONFIG_SPF_AS_STATIC_LIB is not set
# CONFIG_SPF_DEBUG is not set

#
# Signal Processing Framework Modules
#
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 Innovation Center, Inc. All Rights Reserved.
* SPDX-License-Identifier: BSD-3-Clause-Clear
*/

#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