[FFmpeg-devel] [PATCH] x86/vf_fspp: port inline asm to yasm

Michael Niedermayer michaelni at gmx.at
Fri Dec 26 14:06:41 CET 2014


On Fri, Dec 26, 2014 at 01:58:11AM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> Checksum of output is the same as far as i could test, but as mentioned in the 
> other thread it's still different than the output of the C versions.
> 
>  libavfilter/vf_fspp.c                         |   12 +-
>  libavfilter/vf_fspp.h                         |    6 +-
>  libavfilter/x86/Makefile                      |    3 +-
>  libavfilter/x86/vf_fspp.asm                   |  727 +++++++++++++
>  libavfilter/x86/{vf_fspp.c => vf_fspp_init.c} | 1396 +------------------------
>  5 files changed, 756 insertions(+), 1388 deletions(-)
>  create mode 100644 libavfilter/x86/vf_fspp.asm
>  rename libavfilter/x86/{vf_fspp.c => vf_fspp_init.c} (1%)

breaks build with shared libs
/usr/bin/ld: libavfilter/x86/vf_fspp.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
libavfilter/x86/vf_fspp.o: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141226/c5a2b92e/attachment.asc>


More information about the ffmpeg-devel mailing list