Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
5b67ce2a
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,发现更多精彩内容 >>
提交
5b67ce2a
编写于
11月 27, 2007
作者:
A
Aurelien Jacobs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
build vc1dsp_mmx.c in its own compilation unit
Originally committed as revision 11102 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
43de5065
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
8 deletion
+11
-8
libavcodec/Makefile
libavcodec/Makefile
+2
-0
libavcodec/i386/dsputil_mmx.c
libavcodec/i386/dsputil_mmx.c
+7
-4
libavcodec/i386/vc1dsp_mmx.c
libavcodec/i386/vc1dsp_mmx.c
+2
-4
未找到文件。
libavcodec/Makefile
浏览文件 @
5b67ce2a
...
...
@@ -363,11 +363,13 @@ OBJS-$(CONFIG_GPL) += i386/idct_mmx.o
OBJS-$(CONFIG_CAVS_DECODER)
+=
i386/cavsdsp_mmx.o
OBJS-$(CONFIG_SNOW_DECODER)
+=
i386/snowdsp_mmx.o
OBJS-$(CONFIG_VC1_DECODER)
+=
i386/vc1dsp_mmx.o
OBJS-$(CONFIG_VP3_DECODER)
+=
i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
OBJS-$(CONFIG_VP5_DECODER)
+=
i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
OBJS-$(CONFIG_VP6_DECODER)
+=
i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
OBJS-$(CONFIG_VP6A_DECODER)
+=
i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
OBJS-$(CONFIG_VP6F_DECODER)
+=
i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
OBJS-$(CONFIG_WMV3_DECODER)
+=
i386/vc1dsp_mmx.o
endif
ASM_OBJS-$(ARCH_ARMV4L)
+=
armv4l/jrevdct_arm.o
\
...
...
libavcodec/i386/dsputil_mmx.c
浏览文件 @
5b67ce2a
...
...
@@ -2843,10 +2843,6 @@ PREFETCH(prefetch_3dnow, prefetch)
#undef PREFETCH
#include "h264dsp_mmx.c"
#if defined(CONFIG_VC1_DECODER) || defined(CONFIG_WMV3_DECODER) \
|| defined(CONFIG_VC1_ENCODER) || defined(CONFIG_WMV3_ENCODER)
#include "vc1dsp_mmx.c"
#endif
/* AVS specific */
void
ff_cavsdsp_init_mmx2
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
...
...
@@ -2864,6 +2860,13 @@ void ff_avg_cavs_qpel16_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride) {
avg_pixels16_mmx
(
dst
,
src
,
stride
,
16
);
}
/* VC1 specific */
void
ff_vc1dsp_init_mmx
(
DSPContext
*
dsp
,
AVCodecContext
*
avctx
);
void
ff_put_vc1_mspel_mc00_mmx
(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
stride
,
int
rnd
)
{
put_pixels8_mmx
(
dst
,
src
,
stride
,
8
);
}
/* external functions, from idct_mmx.c */
void
ff_mmx_idct
(
DCTELEM
*
block
);
void
ff_mmxext_idct
(
DCTELEM
*
block
);
...
...
libavcodec/i386/vc1dsp_mmx.c
浏览文件 @
5b67ce2a
...
...
@@ -444,9 +444,7 @@ static void vc1_mspel_mc(uint8_t *dst, const uint8_t *src, int stride,
vc1_put_shift_8bits
[
hmode
](
dst
,
src
,
stride
,
rnd
,
1
);
}
static
void
put_vc1_mspel_mc00_mmx
(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
stride
,
int
rnd
)
{
put_pixels8_mmx
(
dst
,
src
,
stride
,
8
);
}
void
ff_put_vc1_mspel_mc00_mmx
(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
stride
,
int
rnd
);
/** Macro to ease bicubic filter interpolation functions declarations */
#define DECLARE_FUNCTION(a, b) \
...
...
@@ -474,7 +472,7 @@ DECLARE_FUNCTION(3, 2)
DECLARE_FUNCTION
(
3
,
3
)
void
ff_vc1dsp_init_mmx
(
DSPContext
*
dsp
,
AVCodecContext
*
avctx
)
{
dsp
->
put_vc1_mspel_pixels_tab
[
0
]
=
put_vc1_mspel_mc00_mmx
;
dsp
->
put_vc1_mspel_pixels_tab
[
0
]
=
ff_
put_vc1_mspel_mc00_mmx
;
dsp
->
put_vc1_mspel_pixels_tab
[
4
]
=
put_vc1_mspel_mc01_mmx
;
dsp
->
put_vc1_mspel_pixels_tab
[
8
]
=
put_vc1_mspel_mc02_mmx
;
dsp
->
put_vc1_mspel_pixels_tab
[
12
]
=
put_vc1_mspel_mc03_mmx
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录