Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
3c504bc3
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,发现更多精彩内容 >>
提交
3c504bc3
编写于
8月 06, 2014
作者:
C
Christophe Gisquet
提交者:
Anton Khirnov
8月 03, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
x86: deduplicate some constants
Signed-off-by:
N
Anton Khirnov
<
anton@khirnov.net
>
上级
d3e4d406
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
9 addition
and
5 deletion
+9
-5
libavcodec/x86/constants.c
libavcodec/x86/constants.c
+2
-0
libavcodec/x86/constants.h
libavcodec/x86/constants.h
+3
-0
libavcodec/x86/h264_intrapred_10bit.asm
libavcodec/x86/h264_intrapred_10bit.asm
+1
-1
libavcodec/x86/hevc_deblock.asm
libavcodec/x86/hevc_deblock.asm
+1
-1
libavcodec/x86/vp8dsp.asm
libavcodec/x86/vp8dsp.asm
+1
-1
libavcodec/x86/vp9dsp.asm
libavcodec/x86/vp9dsp.asm
+1
-2
未找到文件。
libavcodec/x86/constants.c
浏览文件 @
3c504bc3
...
...
@@ -43,8 +43,10 @@ DECLARE_ALIGNED(16, const xmm_reg, ff_pw_64) = { 0x0040004000400040ULL, 0x004
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_96
)
=
0x0060006000600060ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_128
)
=
0x0080008000800080ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_255
)
=
0x00ff00ff00ff00ffULL
;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_256
)
=
{
0x0100010001000100ULL
,
0x0100010001000100ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_512
)
=
{
0x0200020002000200ULL
,
0x0200020002000200ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_1019
)
=
{
0x03FB03FB03FB03FBULL
,
0x03FB03FB03FB03FBULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_m1
)
=
{
0xFFFFFFFFFFFFFFFFULL
,
0xFFFFFFFFFFFFFFFFULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_0
)
=
{
0x0000000000000000ULL
,
0x0000000000000000ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_1
)
=
{
0x0101010101010101ULL
,
0x0101010101010101ULL
};
...
...
libavcodec/x86/constants.h
浏览文件 @
3c504bc3
...
...
@@ -42,6 +42,9 @@ extern const xmm_reg ff_pw_64;
extern
const
uint64_t
ff_pw_96
;
extern
const
uint64_t
ff_pw_128
;
extern
const
uint64_t
ff_pw_255
;
extern
const
xmm_reg
ff_pw_256
;
extern
const
xmm_reg
ff_pw_512
;
extern
const
xmm_reg
ff_pw_m1
;
extern
const
xmm_reg
ff_pb_1
;
extern
const
xmm_reg
ff_pb_3
;
...
...
libavcodec/x86/h264_intrapred_10bit.asm
浏览文件 @
3c504bc3
...
...
@@ -26,6 +26,7 @@
SECTION
_RODATA
cextern
pw_512
cextern
pw_16
cextern
pw_8
cextern
pw_4
...
...
@@ -35,7 +36,6 @@ cextern pw_1
pw_m32101234:
dw
-
3
,
-
2
,
-
1
,
0
,
1
,
2
,
3
,
4
pw_m3:
times
8
dw
-
3
pw_pixel_max:
times
8
dw
((
1
<<
10
)
-
1
)
pw_512:
times
8
dw
512
pd_17:
times
4
dd
17
pd_16:
times
4
dd
16
...
...
libavcodec/x86/hevc_deblock.asm
浏览文件 @
3c504bc3
...
...
@@ -27,12 +27,12 @@
SECTION
_RODATA
pw_pixel_max:
times
8
dw
((
1
<<
10
)
-
1
)
pw_m1:
times
8
dw
-
1
pw_m2:
times
8
dw
-
2
pd_1
:
times
4
dd
1
cextern
pw_4
cextern
pw_8
cextern
pw_m1
SECTION
.text
INIT_XMM
ss
e2
...
...
libavcodec/x86/vp8dsp.asm
浏览文件 @
3c504bc3
...
...
@@ -143,13 +143,13 @@ filter_h6_shuf1: db 0, 5, 1, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12
filter_h6_shuf2:
db
1
,
2
,
2
,
3
,
3
,
4
,
4
,
5
,
5
,
6
,
6
,
7
,
7
,
8
,
8
,
9
filter_h6_shuf3:
db
3
,
4
,
4
,
5
,
5
,
6
,
6
,
7
,
7
,
8
,
8
,
9
,
9
,
10
,
10
,
11
pw_256:
times
8
dw
256
pw_20091:
times
4
dw
20091
pw_17734:
times
4
dw
17734
cextern
pw_3
cextern
pw_4
cextern
pw_64
cextern
pw_256
SECTION
.text
...
...
libavcodec/x86/vp9dsp.asm
浏览文件 @
3c504bc3
...
...
@@ -24,8 +24,7 @@
SECTION
_RODATA
; FIXME share with vp8dsp.asm
pw_256:
times
8
dw
256
cextern
pw_256
%macro F8_TAPS 8
times
8
db
%
1
,
%
2
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录