Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
cacd01db
Commit
cacd01db
authored
Feb 02, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable use of MMXEXT if available in modules/codec/ffmpeg/scale.c
parent
d4ed9e11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/codec/ffmpeg/scale.c
modules/codec/ffmpeg/scale.c
+2
-1
No files found.
modules/codec/ffmpeg/scale.c
View file @
cacd01db
...
@@ -115,6 +115,7 @@ int E_(OpenScaler)( vlc_object_t *p_this )
...
@@ -115,6 +115,7 @@ int E_(OpenScaler)( vlc_object_t *p_this )
}
}
swscale_fast_memcpy
=
p_filter
->
p_libvlc
->
pf_memcpy
;
swscale_fast_memcpy
=
p_filter
->
p_libvlc
->
pf_memcpy
;
/* Set CPU capabilities */
/* Set CPU capabilities */
i_cpu
=
vlc_CPU
();
i_cpu
=
vlc_CPU
();
p_sys
->
i_cpu_mask
=
0
;
p_sys
->
i_cpu_mask
=
0
;
...
@@ -122,7 +123,7 @@ int E_(OpenScaler)( vlc_object_t *p_this )
...
@@ -122,7 +123,7 @@ int E_(OpenScaler)( vlc_object_t *p_this )
{
{
p_sys
->
i_cpu_mask
|=
SWS_CPU_CAPS_MMX
;
p_sys
->
i_cpu_mask
|=
SWS_CPU_CAPS_MMX
;
}
}
#if
0
#if
(LIBSWSCALE_VERSION_INT >= ((0<<16)+(5<<8)+0))
if
(
i_cpu
&
CPU_CAPABILITY_MMXEXT
)
if
(
i_cpu
&
CPU_CAPABILITY_MMXEXT
)
{
{
p_sys
->
i_cpu_mask
|=
SWS_CPU_CAPS_MMX2
;
p_sys
->
i_cpu_mask
|=
SWS_CPU_CAPS_MMX2
;
...
...
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