Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c46819f2
Commit
c46819f2
authored
Apr 10, 2013
by
Ronald S. Bultje
Committed by
Martin Storsjö
Apr 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: Move constants to the only place where they are used
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
c0dcf898
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c
+0
-3
dsputil_mmx.h
libavcodec/x86/dsputil_mmx.h
+0
-3
vp3dsp.asm
libavcodec/x86/vp3dsp.asm
+4
-3
No files found.
libavcodec/x86/dsputil_mmx.c
View file @
c46819f2
...
@@ -47,10 +47,7 @@ DECLARE_ALIGNED(8, const uint64_t, ff_pw_255) = 0x00ff00ff00ff00ffULL;
...
@@ -47,10 +47,7 @@ DECLARE_ALIGNED(8, const uint64_t, ff_pw_255) = 0x00ff00ff00ff00ffULL;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_512
)
=
{
0x0200020002000200ULL
,
0x0200020002000200ULL
};
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_1019
)
=
{
0x03FB03FB03FB03FBULL
,
0x03FB03FB03FB03FBULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_7
)
=
0x0707070707070707ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_1F
)
=
0x1F1F1F1F1F1F1F1FULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_3F
)
=
0x3F3F3F3F3F3F3F3FULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_3F
)
=
0x3F3F3F3F3F3F3F3FULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_81
)
=
0x8181818181818181ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_FC
)
=
0xFCFCFCFCFCFCFCFCULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_FC
)
=
0xFCFCFCFCFCFCFCFCULL
;
DECLARE_ALIGNED
(
16
,
const
double
,
ff_pd_1
)[
2
]
=
{
1
.
0
,
1
.
0
};
DECLARE_ALIGNED
(
16
,
const
double
,
ff_pd_1
)[
2
]
=
{
1
.
0
,
1
.
0
};
...
...
libavcodec/x86/dsputil_mmx.h
View file @
c46819f2
...
@@ -49,10 +49,7 @@ extern const uint64_t ff_pw_255;
...
@@ -49,10 +49,7 @@ extern const uint64_t ff_pw_255;
extern
const
xmm_reg
ff_pb_1
;
extern
const
xmm_reg
ff_pb_1
;
extern
const
xmm_reg
ff_pb_3
;
extern
const
xmm_reg
ff_pb_3
;
extern
const
uint64_t
ff_pb_7
;
extern
const
uint64_t
ff_pb_1F
;
extern
const
uint64_t
ff_pb_3F
;
extern
const
uint64_t
ff_pb_3F
;
extern
const
uint64_t
ff_pb_81
;
extern
const
xmm_reg
ff_pb_F8
;
extern
const
xmm_reg
ff_pb_F8
;
extern
const
uint64_t
ff_pb_FC
;
extern
const
uint64_t
ff_pb_FC
;
...
...
libavcodec/x86/vp3dsp.asm
View file @
c46819f2
...
@@ -33,12 +33,13 @@ vp3_idct_data: times 8 dw 64277
...
@@ -33,12 +33,13 @@ vp3_idct_data: times 8 dw 64277
times
8
dw
25080
times
8
dw
25080
times
8
dw
12785
times
8
dw
12785
pb_7
:
times
8
db
0x07
pb_1F
:
times
8
db
0x1f
pb_81
:
times
8
db
0x81
cextern
pb_1
cextern
pb_1
cextern
pb_3
cextern
pb_3
cextern
pb_7
cextern
pb_1F
cextern
pb_80
cextern
pb_80
cextern
pb_81
cextern
pw_8
cextern
pw_8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment