mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
Merge commit '89aebc5bcc6e23a0a79c3f51c3a55c3571692ba0'
* commit '89aebc5bcc6e23a0a79c3f51c3a55c3571692ba0': lavc: align the linesize to 32 when AVX is enabled Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
6c4665deb4
6
configure
vendored
6
configure
vendored
@ -1835,7 +1835,9 @@ ARCH_FEATURES="
|
|||||||
local_aligned_8
|
local_aligned_8
|
||||||
local_aligned_16
|
local_aligned_16
|
||||||
local_aligned_32
|
local_aligned_32
|
||||||
|
simd_align
|
||||||
simd_align_16
|
simd_align_16
|
||||||
|
simd_align_32
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILTIN_LIST="
|
BUILTIN_LIST="
|
||||||
@ -2333,7 +2335,9 @@ aligned_stack_if_any="aarch64 ppc x86"
|
|||||||
fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
|
fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
|
||||||
fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
|
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_if_any="simd_align_16 simd_align_32"
|
||||||
simd_align_16_if_any="altivec neon sse"
|
simd_align_16_if_any="altivec neon sse"
|
||||||
|
simd_align_32_if_any="avx"
|
||||||
|
|
||||||
# system capabilities
|
# system capabilities
|
||||||
symver_if_any="symver_asm_label symver_gnu_asm"
|
symver_if_any="symver_asm_label symver_gnu_asm"
|
||||||
@ -6405,7 +6409,7 @@ enabled_all dxva2 dxva2api_cobj CoTaskMemFree &&
|
|||||||
enable dxva2_lib
|
enable dxva2_lib
|
||||||
|
|
||||||
! enabled_any memalign posix_memalign aligned_malloc &&
|
! enabled_any memalign posix_memalign aligned_malloc &&
|
||||||
enabled simd_align_16 && enable memalign_hack
|
enabled simd_align && enable memalign_hack
|
||||||
|
|
||||||
# add_dep lib dep
|
# add_dep lib dep
|
||||||
# -> enable ${lib}_deps_${dep}
|
# -> enable ${lib}_deps_${dep}
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)
|
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)
|
||||||
|
|
||||||
#if HAVE_AVX
|
#if 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
|
||||||
|
Loading…
Reference in New Issue
Block a user