1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavcodec/ppc
A. Wilcox 153fcd6de6 libavcodec/ppc: Fix HEVC AltiVec routines with --enable-small
GCC requires the argument to vec_splat_u32 to be a literal.  The easiest
way to accomplish this is to change 'shift' to be const in scale (as it
is in the transform routine above), and convert both routines to be
inline.  This way, GCC can coerce the values to literals.

Tested on a 970 (Apple G5) and POWER9 (Talos II); passed fate and played
a clip of Big Buck Bunny correctly.

Fixes ticket #7048

Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
2018-07-21 13:36:24 +02:00
..
asm.S
audiodsp.c
blockdsp.c
fdct.h
fdctdsp.c
fft_altivec.S
fft_init.c
fft_vsx.c
fft_vsx.h
fmtconvert_altivec.c
h264chroma_init.c
h264chroma_template.c
h264dsp.c
h264qpel_template.c
h264qpel.c
hevcdsp_template.c
hevcdsp.c
hpeldsp_altivec.c
hpeldsp_altivec.h
idctdsp.c
lossless_audiodsp_altivec.c
lossless_videodsp_altivec.c
Makefile
mathops.h
me_cmp.c
mpegaudiodsp_altivec.c
mpegvideo_altivec.c
mpegvideodsp.c
mpegvideoencdsp.c
pixblockdsp.c
svq1enc_altivec.c
vc1dsp_altivec.c
videodsp.c
vorbisdsp_altivec.c
vp3dsp_altivec.c
vp8dsp_altivec.c