Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
89aebc5b
Commit
89aebc5b
authored
Jul 30, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: align the linesize to 32 when AVX is enabled
parent
63ac8e2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
configure
configure
+5
-1
utils.c
libavcodec/utils.c
+3
-1
No files found.
configure
View file @
89aebc5b
...
...
@@ -1469,7 +1469,9 @@ ARCH_FEATURES="
local_aligned_8
local_aligned_16
local_aligned_32
simd_align
simd_align_16
simd_align_32
"
BUILTIN_LIST
=
"
...
...
@@ -1880,7 +1882,9 @@ 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"
simd_align_if_any
=
"simd_align_16 simd_align_32"
simd_align_16_if_any
=
"altivec neon sse"
simd_align_32_if_any
=
"avx"
# system capabilities
symver_if_any
=
"symver_asm_label symver_gnu_asm"
...
...
@@ -5032,7 +5036,7 @@ enabled_all dxva2 CoTaskMemFree &&
enable
dxva2_lib
!
enabled_any memalign posix_memalign aligned_malloc
&&
enabled simd_align
_16
&&
enable
memalign_hack
enabled simd_align
&&
enable
memalign_hack
map
'enabled $v && intrinsics=${v#intrinsics_}'
$INTRINSICS_LIST
...
...
libavcodec/utils.c
View file @
89aebc5b
...
...
@@ -178,7 +178,9 @@ int ff_side_data_update_matrix_encoding(AVFrame *frame,
return
0
;
}
#if HAVE_SIMD_ALIGN_16
#if HAVE_SIMD_ALIGN_32
# define STRIDE_ALIGN 32
#elif 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