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
eba2233b
Commit
eba2233b
authored
Jul 21, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Add define for SIMD extensions requiring 16-byte aligned buffers
parent
67bc1ba5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
configure
configure
+3
-3
utils.c
libavcodec/utils.c
+1
-1
No files found.
configure
View file @
eba2233b
...
...
@@ -1340,6 +1340,7 @@ ARCH_FEATURES="
fast_cmov
local_aligned_8
local_aligned_16
simd_align_16
"
BUILTIN_LIST
=
"
...
...
@@ -1701,8 +1702,7 @@ aligned_stack_if_any="aarch64 ppc x86"
fast_64bit_if_any
=
"aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
fast_clz_if_any
=
"aarch64 alpha avr32 mips ppc x86"
fast_unaligned_if_any
=
"aarch64 ppc x86"
need_memalign
=
"altivec neon sse"
simd_align_16_if_any
=
"altivec neon sse"
# system capabilities
log2_deps
=
"!libc_msvcrt"
...
...
@@ -4430,7 +4430,7 @@ enabled_all dxva2 CoTaskMemFree &&
enable
dxva2_lib
!
enabled_any memalign posix_memalign aligned_malloc
&&
enabled
_any
$need_memalign
&&
enable
memalign_hack
enabled
$simd_align_16
&&
enable
memalign_hack
map
'enabled $v && intrinsics=${v#intrinsics_}'
$INTRINSICS_LIST
...
...
libavcodec/utils.c
View file @
eba2233b
...
...
@@ -189,7 +189,7 @@ int ff_side_data_update_matrix_encoding(AVFrame *frame,
return
0
;
}
#if HAVE_
NEON || ARCH_PPC || HAVE_MMX
#if HAVE_
SIMD_ALIGN_16
# define STRIDE_ALIGN 16
#else
# define STRIDE_ALIGN 8
...
...
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