• A. Wilcox's avatar
    libavcodec/ppc: Fix HEVC AltiVec routines with --enable-small · 153fcd6d
    A. Wilcox authored
    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: 's avatarA. Wilcox <AWilcox@Wilcox-Tech.com>
    153fcd6d
Name
Last commit
Last update
..
Makefile Loading commit data...
asm.S Loading commit data...
audiodsp.c Loading commit data...
blockdsp.c Loading commit data...
fdct.h Loading commit data...
fdctdsp.c Loading commit data...
fft_altivec.S Loading commit data...
fft_init.c Loading commit data...
fft_vsx.c Loading commit data...
fft_vsx.h Loading commit data...
fmtconvert_altivec.c Loading commit data...
h264chroma_init.c Loading commit data...
h264chroma_template.c Loading commit data...
h264dsp.c Loading commit data...
h264qpel.c Loading commit data...
h264qpel_template.c Loading commit data...
hevcdsp.c Loading commit data...
hevcdsp_template.c Loading commit data...
hpeldsp_altivec.c Loading commit data...
hpeldsp_altivec.h Loading commit data...
idctdsp.c Loading commit data...
lossless_audiodsp_altivec.c Loading commit data...
lossless_videodsp_altivec.c Loading commit data...
mathops.h Loading commit data...
me_cmp.c Loading commit data...
mpegaudiodsp_altivec.c Loading commit data...
mpegvideo_altivec.c Loading commit data...
mpegvideodsp.c Loading commit data...
mpegvideoencdsp.c Loading commit data...
pixblockdsp.c Loading commit data...
svq1enc_altivec.c Loading commit data...
vc1dsp_altivec.c Loading commit data...
videodsp.c Loading commit data...
vorbisdsp_altivec.c Loading commit data...
vp3dsp_altivec.c Loading commit data...
vp8dsp_altivec.c Loading commit data...