ffmpeg/libswscale
Andreas Cadhalpun 884cd3caa5 swscale: save ebx register when it is not available
Configure checks if the ebx register can be used for asm and it has to
be saved if and only if this is not the case.
Without this the build fails when configuring with --toolchain=hardened
--disable-pic on i386 using gcc 4.8:
error: PIC register clobbered by '%ebx' in 'asm'

In that case gcc 4.8 reserves the ebx register for the GOT needed for
PIE, so it can't be used in asm directly.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 319438e2f2)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2017-01-26 02:22:09 +01:00
..
aarch64 sws/aarch64: add ff_yuv2planeX_8_neon 2016-04-11 16:27:19 +02:00
arm swscale/arm: add yuv2planeX_8_neon 2016-04-11 18:13:36 +02:00
ppc Revert "PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD." 2016-07-11 10:15:05 -04:00
tests swscale/tests/swscale: add cpuflags option 2016-09-02 16:14:21 +02:00
x86 swscale: save ebx register when it is not available 2017-01-26 02:22:09 +01:00
alphablend.c avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT 2016-01-27 16:36:46 +00:00
bayer_template.c swscale/bayer_template: Add () to protect the argument of BAYER_READ() 2015-02-18 01:55:15 +01:00
gamma.c swscale: re-enable gamma 2015-09-04 19:00:20 -03:00
hscale.c avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT 2016-01-27 16:36:46 +00:00
hscale_fast_bilinear.c sws: Move fast bilinear C code into seperate file 2014-07-19 05:36:26 +02:00
input.c swscale: add input support for gbrap10 pixel format 2016-06-10 17:17:12 +02:00
libswscale.v build: Change structure of the linker version script templates 2016-05-29 16:43:11 +02:00
log2_tab.c lsws: duplicate ff_log2_tab 2014-08-12 20:52:21 +02:00
Makefile Merge commit '01621202aa' 2016-05-09 16:25:28 +01:00
options.c swscale: use AV_OPT_TYPE_BOOL for {src,dst}_range options 2015-12-04 15:43:34 +01:00
output.c swscale: add support for P010LE/BE output 2016-08-31 13:19:46 +02:00
rgb2rgb.c swscale: rename sws_rgb2rgb_init to ff_sws_rgb2rgb_init 2015-10-29 23:49:46 +01:00
rgb2rgb.h swscale: rename sws_rgb2rgb_init to ff_sws_rgb2rgb_init 2015-10-29 23:49:46 +01:00
rgb2rgb_template.c avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT 2016-01-27 16:36:46 +00:00
slice.c swscale: fix ring buffer size when scaling slices of a frame 2016-06-10 09:45:24 -03:00
swscale.c swscale/swscale: Fix dereference of stride array before null check 2017-01-26 00:34:12 +01:00
swscale.h doxygen: Standardize root-level modules 2016-08-02 22:15:25 -07:00
swscale_internal.h Revert "PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD." 2016-07-11 10:15:05 -04:00
swscale_unscaled.c swscale: add unscaled conversion from yuv420p to p010 2016-09-06 12:41:28 +02:00
swscaleres.rc Add Windows resource file support for shared libraries 2013-12-05 23:42:07 +01:00
utils.c swscale: add support for P010LE/BE output 2016-08-31 13:19:46 +02:00
version.h Revert "Bump minor versions after 3.2 branchpoint to seperate release" 2016-10-26 21:22:12 +02:00
vscale.c swscale: cleanup unused code 2016-03-31 16:36:16 -03:00
yuv2rgb.c swscale: add bt2020 yuv2rgb coefficients. 2016-04-01 15:39:48 -04:00