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
52de07e1
Commit
52de07e1
authored
Dec 14, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: Mark yuv2planeX_8_mmx as MMX2; it contains MMX2 instructions.
parent
88b97357
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
scale.asm
libswscale/x86/scale.asm
+1
-1
swscale_mmx.c
libswscale/x86/swscale_mmx.c
+4
-2
No files found.
libswscale/x86/scale.asm
View file @
52de07e1
...
...
@@ -649,7 +649,7 @@ cglobal yuv2planeX_%2_%1, %4, 7, %3
%define
PALIGNR
PALIGNR_MMX
%ifdef
ARCH_X86_32
INIT_MMX
yuv2planeX_fn
mmx
,
8
,
0
,
7
yuv2planeX_fn
mmx
2
,
8
,
0
,
7
yuv2planeX_fn
mmx2
,
9
,
0
,
5
yuv2planeX_fn
mmx2
,
10
,
0
,
5
%endif
...
...
libswscale/x86/swscale_mmx.c
View file @
52de07e1
...
...
@@ -221,7 +221,7 @@ extern void ff_yuv2planeX_ ## size ## _ ## opt(const int16_t *filter, int filter
VSCALEX_FUNC(10, opt2)
#if ARCH_X86_32
VSCALEX_FUNCS
(
mmx
,
mmx2
);
VSCALEX_FUNCS
(
mmx
2
,
mmx2
);
#endif
VSCALEX_FUNCS
(
sse2
,
sse2
);
VSCALEX_FUNCS
(
sse4
,
sse4
);
...
...
@@ -295,9 +295,11 @@ switch(c->dstBpc){ \
if
(
cpu_flags
&
AV_CPU_FLAG_MMX
)
{
ASSIGN_MMX_SCALE_FUNC
(
c
->
hyScale
,
c
->
hLumFilterSize
,
mmx
,
mmx
);
ASSIGN_MMX_SCALE_FUNC
(
c
->
hcScale
,
c
->
hChrFilterSize
,
mmx
,
mmx
);
ASSIGN_VSCALEX_FUNC
(
c
->
yuv2planeX
,
mmx
,
mmx2
,
cpu_flags
&
AV_CPU_FLAG_MMX2
,);
ASSIGN_VSCALE_FUNC
(
c
->
yuv2plane1
,
mmx
,
mmx2
,
cpu_flags
&
AV_CPU_FLAG_MMX2
);
}
if
(
cpu_flags
&
AV_CPU_FLAG_MMX2
)
{
ASSIGN_VSCALEX_FUNC
(
c
->
yuv2planeX
,
mmx2
,
mmx2
,
cpu_flags
&
AV_CPU_FLAG_MMX2
,);
}
#endif
#define ASSIGN_SSE_SCALE_FUNC(hscalefn, filtersize, opt1, opt2) \
switch (filtersize) { \
...
...
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