search for: spx_coef_t

Displaying 8 results from an estimated 8 matches for "spx_coef_t".

2008 Aug 02
1
fir_mem16,iir_mem16 and filter_mem16 optimisations
...one are the shifts by SIG_SHIFT > because the inputs and outputs of filter_mem16() are already 16 bits. > > Jean-Marc > I still in doubt. You could tell in more detail about filter_mem16()? I can't find comments in filter_mem2(). I think, filter_mem16 is a IIR filter, and const spx_coef_t *num, const spx_coef_t *den is a input and output signal coefficients, but i am not sure... is it right? But there is only one coefficients array in iir_mem, and logic is not clear for me. I feel, fir_mem16() and iir_mem16() is a two parts of one IIR filter. fir_mem16 multiplies input signal, and i...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...ypes.h" #define ABS(x) ((x) < 0 ? (-(x)) : (x)) #ifdef FIXED_POINT typedef spx_int16_t spx_word16_t; typedef spx_int32_t spx_word32_t; #ifdef _MSC_VER typedef __int64 spx_word64_t; #else typedef long long spx_word64_t; #endif typedef spx_word32_t spx_mem_t; typedef spx_word16_t spx_coef_t; typedef spx_word16_t spx_lsp_t; typedef spx_word32_t spx_sig_t; #define LPC_SCALING 8192 #define SIG_SCALING 16384 #define LSP_SCALING 8192. #define GAMMA_SCALING 32768. #define GAIN_SCALING 64 #define GAIN_SCALING_1 0.015625 #define LPC_SHIFT 13 #define SIG_SHIFT 14 #define VERY_SMALL...
2008 Aug 02
2
fir_mem16,iir_mem16 and filter_mem16 optimisations
Hi! I have some questions about that functions: fir_mem16, iir_mem16 and filter_mem16. Filtering is very slow on TI DSP, and i want to optimise it. Can somebody give me formulas which discribe work of this filters? Or any suggestions about how to transform code for better performance. I going to implement this functions in assembler, but it is hard to do without full understanding how functions
2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
...quot;, "R0", "R1", "memory" + : "I0", "L0", "P1", "R0", "R1", "memory", "ASTAT" BFIN_HWLOOP0_REGS ); return sig_shift; } @@ -219,7 +221,8 @@ void filter_mem16(const spx_word16_t *_x, const spx_coef_t *num, const spx_coef_ "LOOP_END mem_update%=;\n\t" "L0 = 0;\n\t" : : "m" (xy), "m" (_x), "m" (_y), "m" (numden), "m" (N), "m" (ord), "m" (mem) - : "A0", "A1", "R0",...
2004 Aug 06
0
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
...by eMbedded Visual C++ compiler; so use MS's __int64 instead of long long, if compiling on that compiler */ #if defined(_WIN32_WCE) && defined(_MSC_VER) typedef __int64 spx_word64_t; #else typedef long long spx_word64_t; #endif typedef spx_word32_t spx_mem_t; typedef spx_word16_t spx_coef_t; typedef spx_word16_t spx_lsp_t; typedef spx_word32_t spx_sig_t; #define LPC_SCALING 8192 #define SIG_SCALING 16384 #define LSP_SCALING 8192. #define GAMMA_SCALING 32768. #define GAIN_SCALING 64 #define GAIN_SCALING_1 0.015625 #define LPC_SHIFT 13 #define SIG_SHIFT 14 #define VERY_SMALL...
2007 Aug 29
2
high-pass filter issues
...em_sw_whole[ENC_SW_WHOLE_SIZE]; spx_mem_t enc_mem_exc[ENC_MEM_EXC_SIZE]; spx_mem_t enc_memexc2[ENC_MEM_EXC2_SIZE]; spx_word32_t enc_pi_gain[ENC_PI_GAIN_SIZE]; int enc_pitch[ENC_PITCH_SIZE]; DecState dec_state; char dec_stack[NB_DEC_STACK]; spx_word16_t dec_excbuf[DEC_EXCBUF_SIZE]; spx_coef_t dec_interp_qlpc[DEC_INTERP_QLPC_SIZE]; spx_lsp_t dec_old_qlsp[DEC_OLD_QLSP_SIZE]; spx_mem_t dec_mem_sp[DEC_MEM_SP_SIZE]; spx_word32_t dec_pi_gain[DEC_PI_GAIN_SIZE]; #endif I noticed that when inside the high pass function that len must be greater that 160 because I single stepped through...
2004 Aug 06
2
[ANNOUNCE] PocketPC Port for speex-1.1.5 with sample code
Hi Jean-Marc, Based on the wonderful Speex project, I've created SpeexOutLoud, essentially a Speex codec port for Windows Mobile 2003 devices. I've included a sample project intended to show the usage of SpeexOutLoud codec in a Pocket PC application based on .NET Compact Framework. I'd request you to please go through the attached build, and include it as a contribution to the
2007 Dec 02
2
Optimised qmf_synth and iir_mem16
...N ANY THEORY OF @ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING @ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS @ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .text @ void iir_mem16(const spx_word16_t *x, @ const spx_coef_t *den, @ spx_word16_t *y, @ int N, @ int ord, @ spx_mem_t *mem, @ char *stack) .global iir_mem16 iir_mem16: stmdb sp!, { r4-r11, lr } ldr r5, [s...