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
8f86e662
Commit
8f86e662
authored
Nov 06, 2017
by
James Darnley
Committed by
James Darnley
Dec 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: add stride alignment needed for AVX-512
parent
e2218ed8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
configure
configure
+2
-0
internal.h
libavcodec/internal.h
+3
-1
No files found.
configure
View file @
8f86e662
...
@@ -1892,6 +1892,7 @@ ARCH_FEATURES="
...
@@ -1892,6 +1892,7 @@ ARCH_FEATURES="
local_aligned
local_aligned
simd_align_16
simd_align_16
simd_align_32
simd_align_32
simd_align_64
"
"
BUILTIN_LIST
=
"
BUILTIN_LIST
=
"
...
@@ -2394,6 +2395,7 @@ fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
...
@@ -2394,6 +2395,7 @@ fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
fast_unaligned_if_any
=
"aarch64 ppc x86"
fast_unaligned_if_any
=
"aarch64 ppc x86"
simd_align_16_if_any
=
"altivec neon sse"
simd_align_16_if_any
=
"altivec neon sse"
simd_align_32_if_any
=
"avx"
simd_align_32_if_any
=
"avx"
simd_align_64_if_any
=
"avx512"
# system capabilities
# system capabilities
symver_if_any
=
"symver_asm_label symver_gnu_asm"
symver_if_any
=
"symver_asm_label symver_gnu_asm"
...
...
libavcodec/internal.h
View file @
8f86e662
...
@@ -87,7 +87,9 @@
...
@@ -87,7 +87,9 @@
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)
#if HAVE_SIMD_ALIGN_32
#if HAVE_SIMD_ALIGN_64
# define STRIDE_ALIGN 64
/* AVX-512 */
#elif HAVE_SIMD_ALIGN_32
# define STRIDE_ALIGN 32
# define STRIDE_ALIGN 32
#elif HAVE_SIMD_ALIGN_16
#elif HAVE_SIMD_ALIGN_16
# define STRIDE_ALIGN 16
# define STRIDE_ALIGN 16
...
...
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