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
b94e8545
Commit
b94e8545
authored
Dec 24, 2014
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_fspp: add missing inline asm guards
parent
a51c78c6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vf_fspp.c
libavfilter/x86/vf_fspp.c
+4
-0
No files found.
libavfilter/x86/vf_fspp.c
View file @
b94e8545
...
...
@@ -25,6 +25,7 @@
#include "libavutil/x86/asm.h"
#include "libavfilter/vf_fspp.h"
#if HAVE_MMX_INLINE
DECLARE_ALIGNED
(
32
,
static
const
uint8_t
,
dither
)[
8
][
8
]
=
{
{
0
,
48
,
12
,
60
,
3
,
51
,
15
,
63
,
},
{
32
,
16
,
44
,
28
,
35
,
19
,
47
,
31
,
},
...
...
@@ -1389,9 +1390,11 @@ static void row_fdct_mmx(int16_t *data, const uint8_t *pixels, int line_size, in
NAMED_CONSTRAINTS_ADD
(
ff_MM_FIX_0_707106781
,
ff_MM_FIX_0_541196100
,
MM_FIX_0_382683433
,
MM_FIX_1_306562965
)
:
"%"
REG_d
);
}
#endif
av_cold
void
ff_fspp_init_x86
(
FSPPContext
*
s
)
{
#if HAVE_MMX_INLINE
int
cpu_flags
=
av_get_cpu_flags
();
if
(
HAVE_MMX_INLINE
&&
cpu_flags
&
AV_CPU_FLAG_MMX
)
{
...
...
@@ -1402,4 +1405,5 @@ av_cold void ff_fspp_init_x86(FSPPContext *s)
s
->
row_idct
=
row_idct_mmx
;
s
->
row_fdct
=
row_fdct_mmx
;
}
#endif
}
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