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
aea55cc9
Commit
aea55cc9
authored
Aug 04, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: add AVX, XOP, FMA4
parent
7904e8f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
modules/codec/avcodec/cpu.c
modules/codec/avcodec/cpu.c
+12
-1
No files found.
modules/codec/avcodec/cpu.c
View file @
aea55cc9
...
...
@@ -67,7 +67,18 @@ unsigned GetVlcDspMask( void )
if
(
!
vlc_CPU_SSE4_2
()
)
mask
|=
AV_CPU_FLAG_SSE42
;
# endif
// TODO: AVX
# ifdef AV_CPU_FLAG_AVX
if
(
!
vlc_CPU_AVX
()
)
mask
|=
AV_CPU_FLAG_AVX
;
# endif
# ifdef AV_CPU_FLAG_XOP
if
(
!
vlc_CPU_XOP
()
)
mask
|=
AV_CPU_FLAG_XOP
;
# endif
# ifdef AV_CPU_FLAG_FMA4
if
(
!
vlc_CPU_FMA4
()
)
mask
|=
AV_CPU_FLAG_FMA4
;
# endif
#endif
#if defined (__ppc__) || defined (__ppc64__) || defined (__powerpc__)
...
...
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