FFmpeg/libswscale
Andreas Cadhalpun 319438e2f2 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>
2016-12-21 01:26:10 +01:00
..
aarch64
arm
ppc swscale: Drop is9_OR_10BPS() use, its name is not correct 2016-11-10 00:33:12 +01:00
tests
x86 swscale: save ebx register when it is not available 2016-12-21 01:26:10 +01:00
alphablend.c
bayer_template.c
gamma.c
hscale_fast_bilinear.c
hscale.c
input.c lsws: Add GRAY10 conversion. 2016-11-14 10:35:06 +01:00
libswscale.v
log2_tab.c
Makefile
options.c swscale/options: Use AV_OPT_TYPE_PIXEL_FMT 2016-11-20 13:00:22 +01:00
output.c swscale: add gbr(a)p16 output support 2016-12-01 21:37:25 +01:00
rgb2rgb_template.c
rgb2rgb.c
rgb2rgb.h
slice.c
swscale_internal.h lsws: Add GRAY10 conversion. 2016-11-14 10:35:06 +01:00
swscale_unscaled.c lsws: Add GRAY10 conversion. 2016-11-14 10:35:06 +01:00
swscale.c swscale: Drop is9_OR_10BPS() use, its name is not correct 2016-11-10 00:33:12 +01:00
swscale.h
swscaleres.rc
utils.c swscale: add gbr(a)p16 output support 2016-12-01 21:37:25 +01:00
version.h lsws: Add GRAY10 conversion. 2016-11-14 10:35:06 +01:00
vscale.c
yuv2rgb.c