Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
c9a2ebc4
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,发现更多精彩内容 >>
提交
c9a2ebc4
编写于
11月 11, 2002
作者:
M
Michael Niedermayer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
100l for kabi (fixing qpel)
Originally committed as revision 1198 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
af19f78f
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
138 addition
and
0 deletion
+138
-0
libavcodec/dsputil.c
libavcodec/dsputil.c
+138
-0
未找到文件。
libavcodec/dsputil.c
浏览文件 @
c9a2ebc4
...
...
@@ -1652,6 +1652,144 @@ void dsputil_init(DSPContext* c, unsigned mask)
c
->
avg_no_rnd_pixels_tab
[
1
][
2
]
=
avg_no_rnd_pixels8_y2
;
c
->
avg_no_rnd_pixels_tab
[
1
][
3
]
=
avg_no_rnd_pixels8_xy2
;
c
->
put_qpel_pixels_tab
[
0
][
0
]
=
put_qpel16_mc00_c
;
c
->
put_qpel_pixels_tab
[
0
][
1
]
=
put_qpel16_mc10_c
;
c
->
put_qpel_pixels_tab
[
0
][
2
]
=
put_qpel16_mc20_c
;
c
->
put_qpel_pixels_tab
[
0
][
3
]
=
put_qpel16_mc30_c
;
c
->
put_qpel_pixels_tab
[
0
][
4
]
=
put_qpel16_mc01_c
;
c
->
put_qpel_pixels_tab
[
0
][
5
]
=
put_qpel16_mc11_c
;
c
->
put_qpel_pixels_tab
[
0
][
6
]
=
put_qpel16_mc21_c
;
c
->
put_qpel_pixels_tab
[
0
][
7
]
=
put_qpel16_mc31_c
;
c
->
put_qpel_pixels_tab
[
0
][
8
]
=
put_qpel16_mc02_c
;
c
->
put_qpel_pixels_tab
[
0
][
9
]
=
put_qpel16_mc12_c
;
c
->
put_qpel_pixels_tab
[
0
][
10
]
=
put_qpel16_mc22_c
;
c
->
put_qpel_pixels_tab
[
0
][
11
]
=
put_qpel16_mc32_c
;
c
->
put_qpel_pixels_tab
[
0
][
12
]
=
put_qpel16_mc03_c
;
c
->
put_qpel_pixels_tab
[
0
][
13
]
=
put_qpel16_mc13_c
;
c
->
put_qpel_pixels_tab
[
0
][
14
]
=
put_qpel16_mc23_c
;
c
->
put_qpel_pixels_tab
[
0
][
15
]
=
put_qpel16_mc33_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
0
]
=
put_no_rnd_qpel16_mc00_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
1
]
=
put_no_rnd_qpel16_mc10_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
2
]
=
put_no_rnd_qpel16_mc20_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
3
]
=
put_no_rnd_qpel16_mc30_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
4
]
=
put_no_rnd_qpel16_mc01_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
5
]
=
put_no_rnd_qpel16_mc11_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
6
]
=
put_no_rnd_qpel16_mc21_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
7
]
=
put_no_rnd_qpel16_mc31_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
8
]
=
put_no_rnd_qpel16_mc02_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
9
]
=
put_no_rnd_qpel16_mc12_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
10
]
=
put_no_rnd_qpel16_mc22_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
11
]
=
put_no_rnd_qpel16_mc32_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
12
]
=
put_no_rnd_qpel16_mc03_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
13
]
=
put_no_rnd_qpel16_mc13_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
14
]
=
put_no_rnd_qpel16_mc23_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
0
][
15
]
=
put_no_rnd_qpel16_mc33_c
;
c
->
avg_qpel_pixels_tab
[
0
][
0
]
=
avg_qpel16_mc00_c
;
c
->
avg_qpel_pixels_tab
[
0
][
1
]
=
avg_qpel16_mc10_c
;
c
->
avg_qpel_pixels_tab
[
0
][
2
]
=
avg_qpel16_mc20_c
;
c
->
avg_qpel_pixels_tab
[
0
][
3
]
=
avg_qpel16_mc30_c
;
c
->
avg_qpel_pixels_tab
[
0
][
4
]
=
avg_qpel16_mc01_c
;
c
->
avg_qpel_pixels_tab
[
0
][
5
]
=
avg_qpel16_mc11_c
;
c
->
avg_qpel_pixels_tab
[
0
][
6
]
=
avg_qpel16_mc21_c
;
c
->
avg_qpel_pixels_tab
[
0
][
7
]
=
avg_qpel16_mc31_c
;
c
->
avg_qpel_pixels_tab
[
0
][
8
]
=
avg_qpel16_mc02_c
;
c
->
avg_qpel_pixels_tab
[
0
][
9
]
=
avg_qpel16_mc12_c
;
c
->
avg_qpel_pixels_tab
[
0
][
10
]
=
avg_qpel16_mc22_c
;
c
->
avg_qpel_pixels_tab
[
0
][
11
]
=
avg_qpel16_mc32_c
;
c
->
avg_qpel_pixels_tab
[
0
][
12
]
=
avg_qpel16_mc03_c
;
c
->
avg_qpel_pixels_tab
[
0
][
13
]
=
avg_qpel16_mc13_c
;
c
->
avg_qpel_pixels_tab
[
0
][
14
]
=
avg_qpel16_mc23_c
;
c
->
avg_qpel_pixels_tab
[
0
][
15
]
=
avg_qpel16_mc33_c
;
/*
c->avg_no_rnd_qpel_pixels_tab[0][ 0]= avg_no_rnd_qpel16_mc00_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 1]= avg_no_rnd_qpel16_mc10_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 2]= avg_no_rnd_qpel16_mc20_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 3]= avg_no_rnd_qpel16_mc30_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 4]= avg_no_rnd_qpel16_mc01_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 5]= avg_no_rnd_qpel16_mc11_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 6]= avg_no_rnd_qpel16_mc21_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 7]= avg_no_rnd_qpel16_mc31_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 8]= avg_no_rnd_qpel16_mc02_c;
c->avg_no_rnd_qpel_pixels_tab[0][ 9]= avg_no_rnd_qpel16_mc12_c;
c->avg_no_rnd_qpel_pixels_tab[0][10]= avg_no_rnd_qpel16_mc22_c;
c->avg_no_rnd_qpel_pixels_tab[0][11]= avg_no_rnd_qpel16_mc32_c;
c->avg_no_rnd_qpel_pixels_tab[0][12]= avg_no_rnd_qpel16_mc03_c;
c->avg_no_rnd_qpel_pixels_tab[0][13]= avg_no_rnd_qpel16_mc13_c;
c->avg_no_rnd_qpel_pixels_tab[0][14]= avg_no_rnd_qpel16_mc23_c;
c->avg_no_rnd_qpel_pixels_tab[0][15]= avg_no_rnd_qpel16_mc33_c;
*/
c
->
put_qpel_pixels_tab
[
1
][
0
]
=
put_qpel8_mc00_c
;
c
->
put_qpel_pixels_tab
[
1
][
1
]
=
put_qpel8_mc10_c
;
c
->
put_qpel_pixels_tab
[
1
][
2
]
=
put_qpel8_mc20_c
;
c
->
put_qpel_pixels_tab
[
1
][
3
]
=
put_qpel8_mc30_c
;
c
->
put_qpel_pixels_tab
[
1
][
4
]
=
put_qpel8_mc01_c
;
c
->
put_qpel_pixels_tab
[
1
][
5
]
=
put_qpel8_mc11_c
;
c
->
put_qpel_pixels_tab
[
1
][
6
]
=
put_qpel8_mc21_c
;
c
->
put_qpel_pixels_tab
[
1
][
7
]
=
put_qpel8_mc31_c
;
c
->
put_qpel_pixels_tab
[
1
][
8
]
=
put_qpel8_mc02_c
;
c
->
put_qpel_pixels_tab
[
1
][
9
]
=
put_qpel8_mc12_c
;
c
->
put_qpel_pixels_tab
[
1
][
10
]
=
put_qpel8_mc22_c
;
c
->
put_qpel_pixels_tab
[
1
][
11
]
=
put_qpel8_mc32_c
;
c
->
put_qpel_pixels_tab
[
1
][
12
]
=
put_qpel8_mc03_c
;
c
->
put_qpel_pixels_tab
[
1
][
13
]
=
put_qpel8_mc13_c
;
c
->
put_qpel_pixels_tab
[
1
][
14
]
=
put_qpel8_mc23_c
;
c
->
put_qpel_pixels_tab
[
1
][
15
]
=
put_qpel8_mc33_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
0
]
=
put_no_rnd_qpel8_mc00_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
1
]
=
put_no_rnd_qpel8_mc10_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
2
]
=
put_no_rnd_qpel8_mc20_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
3
]
=
put_no_rnd_qpel8_mc30_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
4
]
=
put_no_rnd_qpel8_mc01_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
5
]
=
put_no_rnd_qpel8_mc11_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
6
]
=
put_no_rnd_qpel8_mc21_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
7
]
=
put_no_rnd_qpel8_mc31_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
8
]
=
put_no_rnd_qpel8_mc02_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
9
]
=
put_no_rnd_qpel8_mc12_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
10
]
=
put_no_rnd_qpel8_mc22_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
11
]
=
put_no_rnd_qpel8_mc32_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
12
]
=
put_no_rnd_qpel8_mc03_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
13
]
=
put_no_rnd_qpel8_mc13_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
14
]
=
put_no_rnd_qpel8_mc23_c
;
c
->
put_no_rnd_qpel_pixels_tab
[
1
][
15
]
=
put_no_rnd_qpel8_mc33_c
;
c
->
avg_qpel_pixels_tab
[
1
][
0
]
=
avg_qpel8_mc00_c
;
c
->
avg_qpel_pixels_tab
[
1
][
1
]
=
avg_qpel8_mc10_c
;
c
->
avg_qpel_pixels_tab
[
1
][
2
]
=
avg_qpel8_mc20_c
;
c
->
avg_qpel_pixels_tab
[
1
][
3
]
=
avg_qpel8_mc30_c
;
c
->
avg_qpel_pixels_tab
[
1
][
4
]
=
avg_qpel8_mc01_c
;
c
->
avg_qpel_pixels_tab
[
1
][
5
]
=
avg_qpel8_mc11_c
;
c
->
avg_qpel_pixels_tab
[
1
][
6
]
=
avg_qpel8_mc21_c
;
c
->
avg_qpel_pixels_tab
[
1
][
7
]
=
avg_qpel8_mc31_c
;
c
->
avg_qpel_pixels_tab
[
1
][
8
]
=
avg_qpel8_mc02_c
;
c
->
avg_qpel_pixels_tab
[
1
][
9
]
=
avg_qpel8_mc12_c
;
c
->
avg_qpel_pixels_tab
[
1
][
10
]
=
avg_qpel8_mc22_c
;
c
->
avg_qpel_pixels_tab
[
1
][
11
]
=
avg_qpel8_mc32_c
;
c
->
avg_qpel_pixels_tab
[
1
][
12
]
=
avg_qpel8_mc03_c
;
c
->
avg_qpel_pixels_tab
[
1
][
13
]
=
avg_qpel8_mc13_c
;
c
->
avg_qpel_pixels_tab
[
1
][
14
]
=
avg_qpel8_mc23_c
;
c
->
avg_qpel_pixels_tab
[
1
][
15
]
=
avg_qpel8_mc33_c
;
/*
c->avg_no_rnd_qpel_pixels_tab[1][ 0]= avg_no_rnd_qpel8_mc00_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 1]= avg_no_rnd_qpel8_mc10_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 2]= avg_no_rnd_qpel8_mc20_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 3]= avg_no_rnd_qpel8_mc30_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 4]= avg_no_rnd_qpel8_mc01_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 5]= avg_no_rnd_qpel8_mc11_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 6]= avg_no_rnd_qpel8_mc21_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 7]= avg_no_rnd_qpel8_mc31_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 8]= avg_no_rnd_qpel8_mc02_c;
c->avg_no_rnd_qpel_pixels_tab[1][ 9]= avg_no_rnd_qpel8_mc12_c;
c->avg_no_rnd_qpel_pixels_tab[1][10]= avg_no_rnd_qpel8_mc22_c;
c->avg_no_rnd_qpel_pixels_tab[1][11]= avg_no_rnd_qpel8_mc32_c;
c->avg_no_rnd_qpel_pixels_tab[1][12]= avg_no_rnd_qpel8_mc03_c;
c->avg_no_rnd_qpel_pixels_tab[1][13]= avg_no_rnd_qpel8_mc13_c;
c->avg_no_rnd_qpel_pixels_tab[1][14]= avg_no_rnd_qpel8_mc23_c;
c->avg_no_rnd_qpel_pixels_tab[1][15]= avg_no_rnd_qpel8_mc33_c;
*/
#ifdef HAVE_MMX
dsputil_init_mmx
(
c
,
mask
);
#endif
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录