Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
8e89f6fd
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,体验更适合开发者的 AI 搜索 >>
提交
8e89f6fd
编写于
5月 11, 2017
作者:
J
James Darnley
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
avcodec/x86: move simple_idct to external assembly
上级
87bddba4
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
892 addition
and
936 deletion
+892
-936
libavcodec/tests/x86/dct.c
libavcodec/tests/x86/dct.c
+1
-1
libavcodec/x86/Makefile
libavcodec/x86/Makefile
+2
-2
libavcodec/x86/idctdsp_init.c
libavcodec/x86/idctdsp_init.c
+0
-4
libavcodec/x86/simple_idct.asm
libavcodec/x86/simple_idct.asm
+889
-0
libavcodec/x86/simple_idct.c
libavcodec/x86/simple_idct.c
+0
-929
未找到文件。
libavcodec/tests/x86/dct.c
浏览文件 @
8e89f6fd
...
...
@@ -67,7 +67,7 @@ static const struct algo fdct_tab_arch[] = {
};
static
const
struct
algo
idct_tab_arch
[]
=
{
#if HAVE_MMX_
INLINE
#if HAVE_MMX_
EXTERNAL
{
"SIMPLE-MMX"
,
ff_simple_idct_mmx
,
FF_IDCT_PERM_SIMPLE
,
AV_CPU_FLAG_MMX
},
#endif
#if CONFIG_MPEG4_DECODER && HAVE_YASM
...
...
libavcodec/x86/Makefile
浏览文件 @
8e89f6fd
...
...
@@ -79,7 +79,6 @@ OBJS-$(CONFIG_WEBP_DECODER) += x86/vp8dsp_init.o
# GCC inline assembly optimizations
# subsystems
MMX-OBJS-$(CONFIG_FDCTDSP)
+=
x86/fdct.o
MMX-OBJS-$(CONFIG_IDCTDSP)
+=
x86/simple_idct.o
MMX-OBJS-$(CONFIG_VC1DSP)
+=
x86/vc1dsp_mmx.o
# decoders/encoders
...
...
@@ -128,7 +127,8 @@ YASM-OBJS-$(CONFIG_QPELDSP) += x86/qpeldsp.o \
YASM-OBJS-$(CONFIG_RV34DSP)
+=
x86/rv34dsp.o
YASM-OBJS-$(CONFIG_VC1DSP)
+=
x86/vc1dsp_loopfilter.o
\
x86/vc1dsp_mc.o
YASM-OBJS-$(CONFIG_IDCTDSP)
+=
x86/simple_idct10.o
YASM-OBJS-$(CONFIG_IDCTDSP)
+=
x86/simple_idct10.o
\
x86/simple_idct.o
YASM-OBJS-$(CONFIG_VIDEODSP)
+=
x86/videodsp.o
YASM-OBJS-$(CONFIG_VP3DSP)
+=
x86/vp3dsp.o
YASM-OBJS-$(CONFIG_VP8DSP)
+=
x86/vp8dsp.o
\
...
...
libavcodec/x86/idctdsp_init.c
浏览文件 @
8e89f6fd
...
...
@@ -68,7 +68,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
put_pixels_clamped
=
ff_put_pixels_clamped_mmx
;
c
->
add_pixels_clamped
=
ff_add_pixels_clamped_mmx
;
if
(
INLINE_MMX
(
cpu_flags
))
{
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
...
...
@@ -79,7 +78,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
idct
=
ff_simple_idct_mmx
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
}
}
if
(
EXTERNAL_SSE2
(
cpu_flags
))
{
...
...
@@ -87,7 +85,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
put_pixels_clamped
=
ff_put_pixels_clamped_sse2
;
c
->
add_pixels_clamped
=
ff_add_pixels_clamped_sse2
;
if
(
INLINE_SSE2
(
cpu_flags
))
{
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
...
...
@@ -97,7 +94,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
idct_add
=
ff_simple_idct_add_sse2
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
}
}
if
(
ARCH_X86_64
&&
avctx
->
lowres
==
0
)
{
...
...
libavcodec/x86/simple_idct.asm
0 → 100644
浏览文件 @
8e89f6fd
此差异已折叠。
点击以展开。
libavcodec/x86/simple_idct.c
已删除
100644 → 0
浏览文件 @
87bddba4
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录