Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
73f51a4d
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,发现更多精彩内容 >>
提交
73f51a4d
编写于
7月 24, 2007
作者:
A
Aurelien Jacobs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
help some gcc version to optimize out those functions
Originally committed as revision 9785 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
4611b64e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
0 deletion
+8
-0
libavcodec/dsputil.c
libavcodec/dsputil.c
+4
-0
libavcodec/i386/dsputil_mmx.c
libavcodec/i386/dsputil_mmx.c
+4
-0
未找到文件。
libavcodec/dsputil.c
浏览文件 @
73f51a4d
...
...
@@ -2641,6 +2641,7 @@ static void put_mspel8_mc22_c(uint8_t *dst, uint8_t *src, int stride){
}
static
void
h263_v_loop_filter_c
(
uint8_t
*
src
,
int
stride
,
int
qscale
){
if
(
ENABLE_ANY_H263
)
{
int
x
;
const
int
strength
=
ff_h263_loop_filter_strength
[
qscale
];
...
...
@@ -2673,9 +2674,11 @@ static void h263_v_loop_filter_c(uint8_t *src, int stride, int qscale){
src
[
x
-
2
*
stride
]
=
p0
-
d2
;
src
[
x
+
stride
]
=
p3
+
d2
;
}
}
}
static
void
h263_h_loop_filter_c
(
uint8_t
*
src
,
int
stride
,
int
qscale
){
if
(
ENABLE_ANY_H263
)
{
int
y
;
const
int
strength
=
ff_h263_loop_filter_strength
[
qscale
];
...
...
@@ -2708,6 +2711,7 @@ static void h263_h_loop_filter_c(uint8_t *src, int stride, int qscale){
src
[
y
*
stride
-
2
]
=
p0
-
d2
;
src
[
y
*
stride
+
1
]
=
p3
+
d2
;
}
}
}
static
void
h261_loop_filter_c
(
uint8_t
*
src
,
int
stride
){
...
...
libavcodec/i386/dsputil_mmx.c
浏览文件 @
73f51a4d
...
...
@@ -622,6 +622,7 @@ static void add_bytes_mmx(uint8_t *dst, uint8_t *src, int w){
"paddb %%mm1, %%mm6 \n\t"
static
void
h263_v_loop_filter_mmx
(
uint8_t
*
src
,
int
stride
,
int
qscale
){
if
(
ENABLE_ANY_H263
)
{
const
int
strength
=
ff_h263_loop_filter_strength
[
qscale
];
asm
volatile
(
...
...
@@ -638,6 +639,7 @@ static void h263_v_loop_filter_mmx(uint8_t *src, int stride, int qscale){
"+m"
(
*
(
uint64_t
*
)(
src
+
1
*
stride
))
:
"g"
(
2
*
strength
),
"m"
(
ff_pb_FC
)
);
}
}
static
inline
void
transpose4x4
(
uint8_t
*
dst
,
uint8_t
*
src
,
int
dst_stride
,
int
src_stride
){
...
...
@@ -670,6 +672,7 @@ static inline void transpose4x4(uint8_t *dst, uint8_t *src, int dst_stride, int
}
static
void
h263_h_loop_filter_mmx
(
uint8_t
*
src
,
int
stride
,
int
qscale
){
if
(
ENABLE_ANY_H263
)
{
const
int
strength
=
ff_h263_loop_filter_strength
[
qscale
];
uint64_t
temp
[
4
]
__attribute__
((
aligned
(
8
)));
uint8_t
*
btemp
=
(
uint8_t
*
)
temp
;
...
...
@@ -718,6 +721,7 @@ static void h263_h_loop_filter_mmx(uint8_t *src, int stride, int qscale){
"r"
((
long
)
stride
),
"r"
((
long
)(
3
*
stride
))
);
}
}
#ifdef CONFIG_ENCODERS
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录