Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
1eadd58b
Commit
1eadd58b
authored
Nov 23, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated avcodec with SSE3/SSSE3/SSE4.1/SSE4.2.
It just allows disabling their use.
parent
f7ba8bf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+16
-0
No files found.
modules/codec/avcodec/avcodec.c
View file @
1eadd58b
...
...
@@ -277,6 +277,22 @@ static int OpenDecoder( vlc_object_t *p_this )
{
p_context
->
dsp_mask
|=
FF_MM_SSE2
;
}
#ifdef FF_MM_SSE3
if
(
!
(
i_cpu
&
CPU_CAPABILITY_SSE3
)
)
p_context
->
dsp_mask
|=
FF_MM_SSE3
;
#endif
#ifdef FF_MM_SSSE3
if
(
!
(
i_cpu
&
CPU_CAPABILITY_SSSE3
)
)
p_context
->
dsp_mask
|=
FF_MM_SSSE3
;
#endif
#ifdef FF_MM_SSE4
if
(
!
(
i_cpu
&
CPU_CAPABILITY_SSE4_1
)
)
p_context
->
dsp_mask
|=
FF_MM_SSE4
;
#endif
#ifdef FF_MM_SSE42
if
(
!
(
i_cpu
&
CPU_CAPABILITY_SSE4_2
)
)
p_context
->
dsp_mask
|=
FF_MM_SSE42
;
#endif
p_dec
->
b_need_packetized
=
true
;
switch
(
i_cat
)
...
...
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