📄 dspf_sp_minerr.h
字号:
/* ======================================================================== */
/* TEXAS INSTRUMENTS, INC. */
/* */
/* NAME */
/* DSPF_sp_minerr -- Searching for a pair of numbers producing maximum */
/* dot product */
/* */
/* USAGE */
/* This routine has the following C prototype: */
/* */
/* float DSPF_sp_minerr(const float* GSP0_TABLE, const float* errCoefs, */
/* int *restrict max_index) */
/* */
/* GSP0_TABLE[256*9]: GSP0 terms array. */
/* errCoefs[9]: Array of error coefficients. */
/* Must be double word aligned. */
/* max_index: Index to GSP0_TABLE[max_index], the first */
/* element of the 9-element vector that */
/* resulted in the maximum dot product. */
/* */
/* DESCRIPTION */
/* */
/* Performs a dot product on 256 pairs of 9 element vectors and */
/* searches for the pair of vectors which produces the maximum dot */
/* product result. This is a large part of the VSELP vocoder */
/* codebook search. */
/* */
/* The function stores the index to the first element of the */
/* 9-element vector that resulted in the maximum dot product in the */
/* memory location Pointed by max_index. The maximum dot product */
/* value is returned by the function. */
/* */
/* ------------------------------------------------------------------------ */
/* Copyright (c) 2003 Texas Instruments, Incorporated. */
/* All Rights Reserved. */
/* ======================================================================== */
#ifndef DSPF_SP_MINERR_
#define DSPF_SP_MINERR_ 1
float DSPF_sp_minerr(const float* GSP0_TABLE, const float* errCoefs, int *restrict max_index);
#endif
/* ======================================================================== */
/* End of file: dspf_sp_minerr.h */
/* ------------------------------------------------------------------------ */
/* Copyright (C) 2003 Texas Instruments, Incorporated. */
/* All Rights Reserved. */
/* ======================================================================== */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -