Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
80b1e6cc
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
80b1e6cc
编写于
4月 26, 2008
作者:
R
Robert Swain
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Grammar fixes and improvements for the new ACELP code
Originally committed as revision 13000 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
169203c1
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
8 deletion
+8
-8
libavcodec/acelp_math.h
libavcodec/acelp_math.h
+4
-4
libavcodec/lsp.h
libavcodec/lsp.h
+4
-4
未找到文件。
libavcodec/acelp_math.h
浏览文件 @
80b1e6cc
...
...
@@ -49,10 +49,10 @@ int ff_exp2(uint16_t power);
int
ff_log2
(
uint32_t
value
);
/**
* \brief Calculates sum of array element
s
multiplications
* \param speech
array with input data
* \param length number
elements to proceed
* \param offset offset for calculation sum of s[i]*s[i+offset]
* \brief Calculates sum of array element multiplications
* \param speech
input data array
* \param length number
of elements
* \param offset offset for calculation
of
sum of s[i]*s[i+offset]
* \param shift right shift by this value will be done before multiplication
*
* \return sum of multiplications
...
...
libavcodec/lsp.h
浏览文件 @
80b1e6cc
...
...
@@ -27,7 +27,7 @@
*/
/**
* \brief
keep distance between LSFs.
* \brief
ensure a minimum distance between LSFs
* \param lsfq [in/out] LSF to check and adjust
* \param lsfq_min_distance minimum distance between LSFs
* \param lsfq_min minimum allowed LSF value
...
...
@@ -40,7 +40,7 @@ void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsqf_min, in
* \param lsp [out] LSP coefficients (-0x8000 <= (0.15) < 0x8000)
* \param lsf normalized LSF coefficients (0 <= (2.13) < 0x2000 * PI)
*
* \remark It is safe to pass the same array in
lsf and lsp parameters
* \remark It is safe to pass the same array in
to the lsf and lsp parameters.
*/
void
ff_acelp_lsf2lsp
(
int16_t
*
lsp
,
const
int16_t
*
lsf
);
...
...
@@ -53,10 +53,10 @@ void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp);
/**
* \brief Interpolate LSP for the first subframe and convert LSP -> LP for both subframes (3.2.5 and 3.2.6 of G.729)
* \param lp_1st [out] decoded LP coefficients for
1
st subframe (-0x8000 <= (3.12) < 0x8000)
* \param lp_1st [out] decoded LP coefficients for
fir
st subframe (-0x8000 <= (3.12) < 0x8000)
* \param lp_2nd [out] decoded LP coefficients for second subframe (-0x8000 <= (3.12) < 0x8000)
* \param lsp_2nd LSP coefficients of the second subframe (-0x8000 <= (0.15) < 0x8000)
* \param lsp_prev
past LSP coefficients
(-0x8000 <= (0.15) < 0x8000)
* \param lsp_prev
LSP coefficients from the second subframe of the previous frame
(-0x8000 <= (0.15) < 0x8000)
*/
void
ff_acelp_lp_decode
(
int16_t
*
lp_1st
,
int16_t
*
lp_2nd
,
const
int16_t
*
lsp_2nd
,
const
int16_t
*
lsp_prev
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录